Sign in
webkit
/
WebKit
/
30a5e34d4b4ae5c538351fb44071193b8b4718f1
/
.
/
LayoutTests
/
js
/
script-tests
/
dfg-arguments-strict-mode.js
blob: d02cc4cc6a15537e9a0575b5c5561991f70cdd6d [
file
] [
log
] [
blame
]
description
(
"Tests what happens when you use arguments in strict mode and present the DFG with a tempting optimization opportunity."
);
function
f
(
a
)
{
"use strict"
;
a
=
5
;
return
arguments
[
0
];
}
dfgShouldBe
(
f
,
"f(1)"
,
"1"
);