Sign in
webkit
/
WebKit
/
6a59c200745aa2ef26b1e56c44297ddf7c28ff78
/
.
/
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
;