|
[interpreter] Move temporary register allocator into own file.
Moves the temporary register allocator out of the bytecode array
builder into TemporaryRegisterAllocator class and adds unittests.
Particular must be taken around the translation window boundary
motivating the addition of tests.
Also adds a Clear() method to IdentityMap() which is called by
the destructor. This allows classes to hold an IdentityMap if
they are zone allocated. Classes must call Clear() before the zone
is re-cycled or face v8 heap corruption.
BUG= v8:4280, v8:4675
LOG=N
Committed: https://crrev.com/ef93854ab9c268f37900aaed507275f0d96b634a
Cr-Commit-Position: refs/heads/master@{#33686}
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+621 lines, -487 lines) |
Patch |
|
M |
src/identity-map.h
|
View
|
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/identity-map.cc
|
View
|
|
1 chunk |
+10 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/interpreter/bytecode-array-builder.h
|
View
|
|
7 chunks |
+21 lines, -25 lines |
0 comments
|
Download
|
|
M |
src/interpreter/bytecode-array-builder.cc
|
View
|
|
5 chunks |
+12 lines, -181 lines |
0 comments
|
Download
|
|
M |
src/interpreter/bytecode-array-iterator.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+16 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/interpreter/bytecode-generator.h
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/interpreter/bytecode-generator.cc
|
View
|
1
2
3
4
5
|
6 chunks |
+12 lines, -11 lines |
0 comments
|
Download
|
|
M |
src/interpreter/bytecode-register-allocator.h
|
View
|
|
3 chunks |
+56 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/interpreter/bytecode-register-allocator.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+166 lines, -9 lines |
0 comments
|
Download
|
|
M |
src/interpreter/bytecodes.h
|
View
|
1
2
3
4
5
|
2 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/interpreter/bytecodes.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/interpreter/constant-array-builder.h
|
View
|
|
3 chunks |
+8 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/interpreter/constant-array-builder.cc
|
View
|
|
3 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
test/cctest/compiler/test-run-bytecode-graph-builder.cc
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
test/cctest/interpreter/test-bytecode-generator.cc
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
test/cctest/interpreter/test-interpreter.cc
|
View
|
|
41 chunks |
+74 lines, -158 lines |
0 comments
|
Download
|
|
M |
test/unittests/interpreter/bytecode-array-builder-unittest.cc
|
View
|
|
9 chunks |
+13 lines, -45 lines |
0 comments
|
Download
|
|
M |
test/unittests/interpreter/bytecode-array-iterator-unittest.cc
|
View
|
|
1 chunk |
+1 line, -5 lines |
0 comments
|
Download
|
|
M |
test/unittests/interpreter/bytecode-register-allocator-unittest.cc
|
View
|
1
2
3
|
1 chunk |
+193 lines, -25 lines |
0 comments
|
Download
|
Total messages: 12 (4 generated)
|