Sign in
webkit
/
WebKit
/
a36dd1c4bd8146169ac601fd378f4d14b5f88ac7
/
.
/
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
;
}