|
[Interpreter] Ensure we always have an outer register allocation scope.
Split RegisterAllocationScope out of ExpressionResult and allocate one
for each statement. This ensures that we always have an outer register
allocation scope for statement code (used in CountOperation and
RegisterExecutionResult). Also refactored the register allocator code to
move it to it's own file and rename from TemporaryRegisterScope to
BytecodeRegisterAllocator.
BUG= v8:4280
LOG=N
Committed: https://crrev.com/ef21fb2de641e804787d146d00c8a02584192781
Cr-Commit-Position: refs/heads/master@{#33296}
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+353 lines, -283 lines) |
Patch |
|
M |
BUILD.gn
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/interpreter/bytecode-array-builder.h
|
View
|
|
2 chunks |
+2 lines, -33 lines |
0 comments
|
Download
|
|
M |
src/interpreter/bytecode-array-builder.cc
|
View
|
|
1 chunk |
+0 lines, -57 lines |
0 comments
|
Download
|
|
M |
src/interpreter/bytecode-generator.h
|
View
|
|
4 chunks |
+11 lines, -1 line |
0 comments
|
Download
|
|
M |
src/interpreter/bytecode-generator.cc
|
View
|
|
42 chunks |
+146 lines, -122 lines |
0 comments
|
Download
|
|
A + |
src/interpreter/bytecode-register-allocator.h
|
View
|
1
|
1 chunk |
+26 lines, -28 lines |
0 comments
|
Download
|
|
A |
src/interpreter/bytecode-register-allocator.cc
|
View
|
|
1 chunk |
+72 lines, -0 lines |
0 comments
|
Download
|
|
M |
test/cctest/interpreter/test-bytecode-generator.cc
|
View
|
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
test/cctest/interpreter/test-interpreter.cc
|
View
|
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/mjsunit.status
|
View
|
|
5 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
|
M |
test/unittests/interpreter/bytecode-array-builder-unittest.cc
|
View
|
|
4 chunks |
+6 lines, -31 lines |
0 comments
|
Download
|
|
A |
test/unittests/interpreter/bytecode-register-allocator-unittest.cc
|
View
|
|
1 chunk |
+67 lines, -0 lines |
0 comments
|
Download
|
|
M |
test/unittests/unittests.gyp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
tools/gyp/v8.gyp
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
Depends on Patchset:
Total messages: 16 (7 generated)
|