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