Sign in
webkit
/
WebKit
/
6cbf70a658dc0d78953378859f61b184ff4f2841
/
.
/
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"
);