Sign in
webkit
/
WebKit
/
4759fc9728b74fdcb18c723e5add5b9c9f5e6e13
/
.
/
JSTests
/
stress
/
force-exit-then-eval-dfg.js
blob: 5798086cc3612a7981c82d07a68f35458755d840 [
file
] [
log
] [
blame
]
function
foo
(
a
,
b
,
string
)
{
OSRExit
();
return
eval
(
string
);
}
noInline
(
foo
);
for
(
var
i
=
0
;
i
<
100000
;
++
i
)
{
var
result
=
foo
(
1
,
2
,
"a + b + 1"
);
if
(
result
!=
1
+
2
+
1
)
throw
"Error: bad result in loop: "
+
result
;
}