|
Fix arguments object materialization during deopt.
This fixes materialization of arguments objects for strict mode functions during
deoptimization. We materialize arguments from the stack area where optimized
code pushes the arguments when entering the inlined environment. For adapted
invocations we use the arguments adaptor frame for materialization.
R=svenpanne@chromium.org
BUG= v8:2261
TEST=mjsunit/regress/regress-2261,mjsunit/compiler/inline-arguments
Committed: https://code.google.com/p/v8/source/detail?r=12489
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+521 lines, -110 lines) |
Patch |
|
M |
src/arm/lithium-arm.cc
|
View
|
1
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/arm/lithium-codegen-arm.h
|
View
|
1
|
2 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/arm/lithium-codegen-arm.cc
|
View
|
1
2
|
7 chunks |
+42 lines, -10 lines |
0 comments
|
Download
|
|
M |
src/deoptimizer.h
|
View
|
|
5 chunks |
+20 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/deoptimizer.cc
|
View
|
1
2
3
|
10 chunks |
+94 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/hydrogen.h
|
View
|
|
4 chunks |
+11 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/hydrogen.cc
|
View
|
|
5 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/hydrogen-instructions.h
|
View
|
|
3 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/ia32/lithium-codegen-ia32.h
|
View
|
|
2 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/ia32/lithium-codegen-ia32.cc
|
View
|
1
2
|
7 chunks |
+42 lines, -10 lines |
0 comments
|
Download
|
|
M |
src/ia32/lithium-ia32.cc
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/lithium.h
|
View
|
|
4 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/mips/lithium-codegen-mips.h
|
View
|
1
|
2 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/mips/lithium-codegen-mips.cc
|
View
|
1
2
|
8 chunks |
+38 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/mips/lithium-mips.cc
|
View
|
1
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/runtime.cc
|
View
|
|
2 chunks |
+4 lines, -42 lines |
0 comments
|
Download
|
|
M |
src/x64/lithium-codegen-x64.h
|
View
|
1
|
2 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/x64/lithium-codegen-x64.cc
|
View
|
1
2
|
7 chunks |
+42 lines, -10 lines |
0 comments
|
Download
|
|
M |
src/x64/lithium-x64.cc
|
View
|
1
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/compiler/inline-arguments.js
|
View
|
1
2
3
|
3 chunks |
+65 lines, -4 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/object-define-property.js
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
A |
test/mjsunit/regress/regress-2261.js
|
View
|
|
1 chunk |
+113 lines, -0 lines |
0 comments
|
Download
|
Total messages: 5 (0 generated)
|