|
[Interpreter] Move jump processing to bytecode array writer.
This moves processing of jumps out of bytecode array builder and into
bytecode array writer. This simplifies the pipeline by avoiding having
to flush for offset and patch up offsets in bytecode array builder based
on what was emitted by the bytecode array writer.
This also enables future refactorings to add dead code elimination back
into the pipeline, and move processing of scalable operand sizes to the
end of the pipeline (in the bytecode array writer) rather than having to
deal with scalable operand types throughout pipeline.
BUG= v8:4280, chromium:616064
Committed: https://crrev.com/de9d1d8bc6a79e9f488c606f302527f1c2a34a69
Cr-Commit-Position: refs/heads/master@{#36716}
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+767 lines, -734 lines) |
Patch |
|
M |
BUILD.gn
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/interpreter/bytecode-array-builder.h
|
View
|
|
6 chunks |
+2 lines, -57 lines |
0 comments
|
Download
|
|
M |
src/interpreter/bytecode-array-builder.cc
|
View
|
|
38 chunks |
+25 lines, -279 lines |
0 comments
|
Download
|
|
M |
src/interpreter/bytecode-array-writer.h
|
View
|
|
1 chunk |
+33 lines, -12 lines |
0 comments
|
Download
|
|
M |
src/interpreter/bytecode-array-writer.cc
|
View
|
|
2 chunks |
+247 lines, -13 lines |
0 comments
|
Download
|
|
M |
src/interpreter/bytecode-generator.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/interpreter/bytecode-generator.cc
|
View
|
|
60 chunks |
+0 lines, -80 lines |
0 comments
|
Download
|
|
A |
src/interpreter/bytecode-label.h
|
View
|
|
1 chunk |
+56 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/interpreter/bytecode-peephole-optimizer.h
|
View
|
|
2 chunks |
+8 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/interpreter/bytecode-peephole-optimizer.cc
|
View
|
|
3 chunks |
+55 lines, -45 lines |
0 comments
|
Download
|
|
M |
src/interpreter/bytecode-pipeline.h
|
View
|
|
2 chunks |
+21 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/interpreter/bytecode-register-optimizer.h
|
View
|
|
1 chunk |
+6 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/interpreter/bytecode-register-optimizer.cc
|
View
|
|
2 chunks |
+54 lines, -36 lines |
0 comments
|
Download
|
|
M |
src/interpreter/control-flow-builders.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/v8.gyp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
test/cctest/interpreter/test-interpreter.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
test/unittests/interpreter/bytecode-array-builder-unittest.cc
|
View
|
1
|
9 chunks |
+49 lines, -14 lines |
0 comments
|
Download
|
|
M |
test/unittests/interpreter/bytecode-array-writer-unittest.cc
|
View
|
|
5 chunks |
+66 lines, -38 lines |
0 comments
|
Download
|
|
M |
test/unittests/interpreter/bytecode-peephole-optimizer-unittest.cc
|
View
|
|
22 chunks |
+102 lines, -102 lines |
0 comments
|
Download
|
|
M |
test/unittests/interpreter/bytecode-register-optimizer-unittest.cc
|
View
|
|
4 chunks |
+38 lines, -47 lines |
0 comments
|
Download
|
Depends on Patchset:
Total messages: 19 (10 generated)
|