|
[Interpreter] Unify global and unallocated variable access.
Unifies the global and unallocated variable type accesses given that
--global_var_shortcuts is going away. Lda/StaGlobal is modified to use
Load/StoreICs on the global object. The named LoadIC and StoreIC bytecodes
are also modified so that they take a constant pool entry index for the
name rather than a register, avoiding unecessary LdaConstant bytecodes to
be emitted.
BUG= v8:4280
LOG=N
Committed: https://crrev.com/9a594e783add26ecabc74f611d7e31b9a549ee65
Cr-Commit-Position: refs/heads/master@{#31482}
Total comments: 7
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+760 lines, -694 lines) |
Patch |
|
M |
src/compiler/bytecode-graph-builder.cc
|
View
|
1
|
1 chunk |
+24 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler/interpreter-assembler.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler/interpreter-assembler.cc
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/interpreter/bytecode-array-builder.h
|
View
|
1
|
5 chunks |
+14 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/interpreter/bytecode-array-builder.cc
|
View
|
1
|
4 chunks |
+68 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/interpreter/bytecode-generator.h
|
View
|
1
2
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/interpreter/bytecode-generator.cc
|
View
|
1
2
3
|
16 chunks |
+75 lines, -93 lines |
0 comments
|
Download
|
|
M |
src/interpreter/bytecodes.h
|
View
|
1
|
2 chunks |
+10 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/interpreter/interpreter.h
|
View
|
|
1 chunk |
+16 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/interpreter/interpreter.cc
|
View
|
1
2
|
7 chunks |
+151 lines, -30 lines |
0 comments
|
Download
|
|
M |
test/cctest/interpreter/test-bytecode-generator.cc
|
View
|
1
|
25 chunks |
+357 lines, -527 lines |
0 comments
|
Download
|
|
M |
test/cctest/interpreter/test-interpreter.cc
|
View
|
1
|
6 chunks |
+19 lines, -16 lines |
0 comments
|
Download
|
|
M |
test/unittests/interpreter/bytecode-array-builder-unittest.cc
|
View
|
1
|
2 chunks |
+10 lines, -4 lines |
0 comments
|
Download
|
|
M |
test/unittests/interpreter/bytecode-array-iterator-unittest.cc
|
View
|
|
3 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
Dependent Patchsets:
Total messages: 24 (9 generated)
|