|
Strict mode arguments do not share binding with formal parameters.
Move strict mode flag from TemporaryScope to Scope so that it can be accessed from variable binding code.
Arguments do not alias in strict mode (ia32, x64 and arm, codegen and full codegen).
Hydrogen tolerates null arguments_shadow().
In codegen-<arch> arguments object is allocated eagerly to capture values before they get modified.
BUG=
TEST=test/mjsunit/strict-mode.js
Total comments: 9
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+125 lines, -68 lines) |
Patch |
|
M |
src/arm/codegen-arm.cc
|
View
|
1
|
3 chunks |
+10 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/arm/full-codegen-arm.cc
|
View
|
1
|
1 chunk |
+7 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/ast.h
|
View
|
|
3 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/ast-inl.h
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/hydrogen.cc
|
View
|
1
|
1 chunk |
+5 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/ia32/codegen-ia32.cc
|
View
|
|
3 chunks |
+12 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/ia32/full-codegen-ia32.cc
|
View
|
1
|
1 chunk |
+6 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/parser.cc
|
View
|
|
23 chunks |
+22 lines, -34 lines |
0 comments
|
Download
|
|
M |
src/scopes.h
|
View
|
|
4 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/scopes.cc
|
View
|
|
2 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/x64/codegen-x64.cc
|
View
|
1
|
3 chunks |
+10 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/x64/full-codegen-x64.cc
|
View
|
1
|
1 chunk |
+7 lines, -4 lines |
0 comments
|
Download
|
|
M |
test/es5conform/es5conform.status
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/strict-mode.js
|
View
|
|
1 chunk |
+19 lines, -0 lines |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|