Sign in
webkit
/
WebKit
/
87a7a7c1c7f13f5553e380a9e21b89f73f375cdc
/
.
/
JSTests
/
stress
/
get-local-elimination.js
blob: 612f9d51a9a0c082594f7d20d7b8e0d0aa765eff [
file
] [
log
] [
blame
]
var
True
=
true
;
function
foo
(
a
)
{
var
x
=
a
;
if
(
True
)
return
a
+
x
;
}
noInline
(
foo
);
for
(
var
i
=
0
;
i
<
10000
;
++
i
)
{
var
result
=
foo
(
42
);
if
(
result
!=
84
)
throw
"Error: bad result: "
+
result
;
}