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