Sign in
webkit
/
WebKit
/
6cdbec3e6711cd621019b396b1c96891f8cf0596
/
.
/
JSTests
/
stress
/
get-stack-identity-due-to-sinking.js
blob: 7f74135446b2b0926edb7e1794ccfd7fe9988718 [
file
] [
log
] [
blame
]
function
foo
(
p
,
a
)
{
if
(
p
)
{
var
tmp
=
arguments
;
}
return
a
;
}
function
bar
(
p
,
a
)
{
return
foo
(
p
,
a
);
}
noInline
(
bar
);
for
(
var
i
=
0
;
i
<
10000
;
++
i
)
{
var
result
=
bar
(
false
,
42
);
if
(
result
!=
42
)
throw
"Error: bad result: "
+
result
;
}