|
[Interpreter] Make InterpreterAssembler a subclass of CodeStubAssembler.
Moves InterpreterAssembler out of the compiler directory and into the
interpreter directory. Makes InterpreterAssembler as subclass of
CodeStubAssembler.
As part of this change, the special bytecode dispatch linkage type
is removed and instead we use a InterfaceDispatchDescriptor and
a normal CodeStub linkage type.
Removes a bunch of duplicated logic in InterpreterAssembler and
instead uses the CodeStubAssembler logic. Refactors Interpreter
with these changes.
Modifies CodeStubAssembler to add the extra operations required
by the Interpreter (extra call types, raw memory access and some extra
binary ops). Also adds the ability for subclasses to add extra
prologue and epilogue operations around calls, which is required
for the Interpreter.
BUG= v8:4280
LOG=N
Committed: https://crrev.com/d1c28849c77892ec74e58891aba44d5bfda8c0ba
Cr-Commit-Position: refs/heads/master@{#33873}
Total comments: 2
Total comments: 14
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1083 lines, -3055 lines) |
Patch |
|
M |
BUILD.gn
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
WATCHLISTS
|
View
|
1
2
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
src/arm/interface-descriptors-arm.cc
|
View
|
|
3 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/arm64/interface-descriptors-arm64.cc
|
View
|
|
3 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/compiler/code-stub-assembler.h
|
View
|
1
2
|
7 chunks |
+59 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/compiler/code-stub-assembler.cc
|
View
|
|
9 chunks |
+180 lines, -11 lines |
0 comments
|
Download
|
|
D |
src/compiler/interpreter-assembler.h
|
View
|
|
1 chunk |
+0 lines, -241 lines |
0 comments
|
Download
|
|
D |
src/compiler/interpreter-assembler.cc
|
View
|
|
1 chunk |
+0 lines, -788 lines |
0 comments
|
Download
|
|
M |
src/compiler/linkage.h
|
View
|
|
2 chunks |
+0 lines, -14 lines |
0 comments
|
Download
|
|
M |
src/compiler/linkage.cc
|
View
|
|
1 chunk |
+0 lines, -54 lines |
0 comments
|
Download
|
|
M |
src/ia32/interface-descriptors-ia32.cc
|
View
|
|
3 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/interface-descriptors.h
|
View
|
|
3 chunks |
+13 lines, -1 line |
0 comments
|
Download
|
|
M |
src/interface-descriptors.cc
|
View
|
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
|
D |
src/interpreter/DEPS
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/interpreter/interpreter.h
|
View
|
|
3 chunks |
+24 lines, -25 lines |
0 comments
|
Download
|
|
M |
src/interpreter/interpreter.cc
|
View
|
|
154 chunks |
+266 lines, -300 lines |
0 comments
|
Download
|
|
A + |
src/interpreter/interpreter-assembler.h
|
View
|
1
2
|
2 chunks |
+78 lines, -127 lines |
0 comments
|
Download
|
|
A + |
src/interpreter/interpreter-assembler.cc
|
View
|
1
|
7 chunks |
+195 lines, -496 lines |
0 comments
|
Download
|
|
M |
src/mips/interface-descriptors-mips.cc
|
View
|
|
3 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/mips64/interface-descriptors-mips64.cc
|
View
|
|
3 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/ppc/interface-descriptors-ppc.cc
|
View
|
|
3 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/x64/interface-descriptors-x64.cc
|
View
|
|
3 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/x87/interface-descriptors-x87.cc
|
View
|
|
3 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
|
D |
test/unittests/compiler/interpreter-assembler-unittest.h
|
View
|
|
1 chunk |
+0 lines, -57 lines |
0 comments
|
Download
|
|
D |
test/unittests/compiler/interpreter-assembler-unittest.cc
|
View
|
|
1 chunk |
+0 lines, -705 lines |
0 comments
|
Download
|
|
A + |
test/unittests/interpreter/interpreter-assembler-unittest.h
|
View
|
1
2
|
3 chunks |
+21 lines, -21 lines |
0 comments
|
Download
|
|
A + |
test/unittests/interpreter/interpreter-assembler-unittest.cc
|
View
|
|
30 chunks |
+165 lines, -181 lines |
0 comments
|
Download
|
|
M |
test/unittests/unittests.gyp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
tools/gyp/v8.gyp
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
Depends on Patchset:
Dependent Patchsets:
Total messages: 38 (20 generated)
|