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