|
[interpreter] VisitForTest for bytecode generator
Adds TestResultScope and uses it to directly jump/fall through to the
correct branch in expressions used as branch conditions.
Should enable nicer TurboFan-graphs for easier control-flow
transformations in the future.
BUG= v8:4280
LOG=n
Committed: https://crrev.com/935340a4c51bc35f472cef4a1d978882e3040c98
Cr-Commit-Position: refs/heads/master@{#38634}
Total comments: 57
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+393 lines, -89 lines) |
Patch |
|
M |
BUILD.gn
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/interpreter/bytecode-generator.h
|
View
|
1
2
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/interpreter/bytecode-generator.cc
|
View
|
1
2
3
4
|
14 chunks |
+199 lines, -40 lines |
0 comments
|
Download
|
|
M |
src/interpreter/bytecode-label.h
|
View
|
1
2
|
2 chunks |
+19 lines, -0 lines |
0 comments
|
Download
|
|
A |
src/interpreter/bytecode-label.cc
|
View
|
1
2
|
1 chunk |
+26 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/v8.gyp
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
test/cctest/interpreter/bytecode_expectations/BasicBlockToBoolean.golden
|
View
|
|
3 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
test/cctest/interpreter/bytecode_expectations/Conditional.golden
|
View
|
|
2 chunks |
+49 lines, -14 lines |
0 comments
|
Download
|
|
M |
test/cctest/interpreter/bytecode_expectations/ForOf.golden
|
View
|
|
12 chunks |
+16 lines, -20 lines |
0 comments
|
Download
|
|
M |
test/cctest/interpreter/bytecode_expectations/Generators.golden
|
View
|
|
4 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
|
M |
test/cctest/interpreter/bytecode_expectations/IfConditions.golden
|
View
|
|
1 chunk |
+44 lines, -0 lines |
0 comments
|
Download
|
|
M |
test/cctest/interpreter/test-bytecode-generator.cc
|
View
|
1
2
|
2 chunks |
+16 lines, -0 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-func-name-inference.cc
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
Total messages: 22 (13 generated)
|