Sign in
webkit
/
WebKit
/
e1a82001cfdab62c438e943f37ce20f74c8e0820
/
.
/
JSTests
/
stress
/
bound-function-tail-call-with-exception.js
blob: f3ce6f7aa0b92991af1117c583184c69ac0fdc77 [
file
] [
log
] [
blame
]
//@ runNoJIT
function
bar
(
a
,
idx
)
{
"use strict"
;
if
(
idx
>
0
)
throw
"Hello"
;
return
a
;
}
boundBar
=
bar
.
bind
(
null
,
42
);
function
foo
(
a
,
idx
)
{
"use strict"
;
return
boundBar
(
idx
);
}
boundFoo
=
foo
.
bind
(
null
,
41
);
try
{
boundFoo
(
1
);
}
catch
(
e
)
{}