|
[interpreter] Add basic framework for bytecode handler code generation.
Adds basic support for generation of interpreter bytecode handler code
snippets. The InterpreterAssembler class exposes a set of low level,
interpreter specific operations which can be used to build a Turbofan
graph. The Interpreter class generates a bytecode handler snippet for
each bytecode by assembling operations using an InterpreterAssembler.
Currently only two simple bytecodes are supported: LoadLiteral0 and Return.
BUG= v8:4280
LOG=N
Committed: https://crrev.com/7877c4e0c77b5c2b97678406eab7e9ad6eba4a4d
Cr-Commit-Position: refs/heads/master@{#29814}
Total comments: 6
Total comments: 2
Total comments: 17
Total comments: 10
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+927 lines, -38 lines) |
Patch |
|
M |
BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/DEPS
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler/arm/linkage-arm.cc
|
View
|
1
2
3
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/compiler/arm64/linkage-arm64.cc
|
View
|
1
2
3
4
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/compiler/ia32/linkage-ia32.cc
|
View
|
1
2
3
4
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
A |
src/compiler/interpreter-assembler.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+107 lines, -0 lines |
0 comments
|
Download
|
|
A |
src/compiler/interpreter-assembler.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+207 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler/linkage.h
|
View
|
1
2
3
4
|
2 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/compiler/linkage-impl.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+14 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/compiler/mips/linkage-mips.cc
|
View
|
1
2
3
4
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/compiler/mips64/linkage-mips64.cc
|
View
|
1
2
3
4
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/compiler/raw-machine-assembler.h
|
View
|
1
2
3
4
5
6
|
6 chunks |
+9 lines, -9 lines |
0 comments
|
Download
|
|
M |
src/compiler/raw-machine-assembler.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/compiler/x64/linkage-x64.cc
|
View
|
1
2
3
4
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/flag-definitions.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
|
M |
src/heap/heap.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
|
M |
src/heap/heap.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
A |
src/interpreter/DEPS
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
A + |
src/interpreter/OWNERS
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
A |
src/interpreter/bytecodes.h
|
View
|
1
2
3
4
|
1 chunk |
+56 lines, -0 lines |
0 comments
|
Download
|
|
A |
src/interpreter/bytecodes.cc
|
View
|
1
2
3
|
1 chunk |
+51 lines, -0 lines |
0 comments
|
Download
|
|
A |
src/interpreter/interpreter.h
|
View
|
1
2
3
4
|
1 chunk |
+49 lines, -0 lines |
0 comments
|
Download
|
|
A |
src/interpreter/interpreter.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+64 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/isolate.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/isolate.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/unittests/compiler/interpreter-assembler-unittest.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+56 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/unittests/compiler/interpreter-assembler-unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+176 lines, -0 lines |
0 comments
|
Download
|
|
M |
test/unittests/compiler/node-test-utils.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
test/unittests/compiler/node-test-utils.cc
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+47 lines, -0 lines |
0 comments
|
Download
|
|
M |
test/unittests/unittests.gyp
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
tools/gyp/v8.gyp
|
View
|
1
2
3
4
5
6
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
Total messages: 43 (21 generated)
|