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