Sign in
webkit
/
WebKit
/
22602fe29fabc5ca838dc22cb719fefb0c93882f
/
.
/
LayoutTests
/
js
/
script-tests
/
dfg-activation-register-overwritten-in-throw.js
blob: 7b3e49058ec3058281c3c41e962dc303c4fd7682 [
file
] [
log
] [
blame
]
description
(
"This tests that the DFG does not attempt to overwrite the activation register with undefined."
);
function
g
()
{
(
eval
(
"-7"
)
=
0
);
}
dfgShouldBe
(
g
,
"try { g() } catch (e) { }"
,
"void 0"
);