|
[Interpreter] Add support for loading from / storing to outer context variables.
Adds support for loading from and storing to outer context
variables. Also adds support for declaring functions on contexts and
locals. Finally, fixes a couple of issues with StaContextSlot where
we weren't emitting the write barrier and therefore would crash in the
GC.
Also added code so that --print-bytecode will output the
function name before the bytecodes, and replaces MachineType with StoreRepresentation in RawMachineAssembler::Store and updates tests.
BUG= v8:4280
LOG=N
Committed: https://crrev.com/c0c214daa845dda0085563bfc44c8545fa94adf4
Cr-Commit-Position: refs/heads/master@{#31584}
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+330 lines, -134 lines) |
Patch |
|
M |
src/compiler/interpreter-assembler.cc
|
View
|
1
|
2 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/compiler/raw-machine-assembler.h
|
View
|
1
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/interpreter/bytecode-generator.cc
|
View
|
1
2
|
4 chunks |
+58 lines, -13 lines |
0 comments
|
Download
|
|
M |
src/interpreter/interpreter.cc
|
View
|
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
test/cctest/compiler/c-signature.h
|
View
|
1
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
test/cctest/compiler/codegen-tester.h
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
test/cctest/compiler/test-run-machops.cc
|
View
|
1
|
60 chunks |
+92 lines, -74 lines |
0 comments
|
Download
|
|
M |
test/cctest/compiler/test-run-native-calls.cc
|
View
|
1
|
3 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
|
M |
test/cctest/interpreter/test-bytecode-generator.cc
|
View
|
|
5 chunks |
+74 lines, -3 lines |
0 comments
|
Download
|
|
M |
test/cctest/interpreter/test-interpreter.cc
|
View
|
|
4 chunks |
+43 lines, -6 lines |
0 comments
|
Download
|
|
M |
test/unittests/compiler/arm/instruction-selector-arm-unittest.cc
|
View
|
1
2
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
test/unittests/compiler/arm64/instruction-selector-arm64-unittest.cc
|
View
|
1
2
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
test/unittests/compiler/ia32/instruction-selector-ia32-unittest.cc
|
View
|
1
2
|
4 chunks |
+8 lines, -5 lines |
0 comments
|
Download
|
|
M |
test/unittests/compiler/interpreter-assembler-unittest.cc
|
View
|
1
2
3
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
test/unittests/compiler/mips/instruction-selector-mips-unittest.cc
|
View
|
1
2
|
3 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
test/unittests/compiler/mips64/instruction-selector-mips64-unittest.cc
|
View
|
1
2
|
3 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
test/unittests/compiler/x64/instruction-selector-x64-unittest.cc
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
Depends on Patchset:
Total messages: 24 (11 generated)
|