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