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