Sign in
webkit
/
WebKit
/
b387ed984cfa86e07321d6d915fc6d801afbcecc
/
.
/
JSTests
/
microbenchmarks
/
strcat-const.js
blob: d20c0b97490ad8190caf3b499dd5de6ce2988e1e [
file
] [
log
] [
blame
]
function
foo
(
a
,
b
)
{
return
a
+
b
;
}
function
bar
()
{
return
foo
(
"hello "
,
"world!"
);
}
noInline
(
bar
);
var
result
;
for
(
var
i
=
0
;
i
<
1000000
;
++
i
)
result
=
bar
();
if
(
result
!=
"hello world!"
)
throw
"Error: bad result: "
+
result
;