|
[Interpreter] Avoid dereferencing handles on BytecodeGenerator for AST operations.
Updates a number of AST operations to avoid dereferencing handles
such that they can safely be called off-thread. Also adds a
HandleDereferenceMode argument to some operations where handles are
compared. If handle dereferencing is allowed, the handles are compared
directly, if not then their locations are compared (which relies on the
handles being created in a CanonicalHandleScope).
BUG= v8:5203
TBR=adamk@chromium.org
Committed: https://crrev.com/09e921d4c8ad734c1a6ade96228a60886ea5f19f
Cr-Commit-Position: refs/heads/master@{#38526}
Total comments: 9
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+167 lines, -61 lines) |
Patch |
|
M |
src/api.cc
|
View
|
1
2
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/ast/ast.h
|
View
|
1
2
|
6 chunks |
+33 lines, -11 lines |
0 comments
|
Download
|
|
M |
src/ast/ast.cc
|
View
|
1
2
|
5 chunks |
+14 lines, -18 lines |
0 comments
|
Download
|
|
M |
src/ast/ast-value-factory.h
|
View
|
1
2
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/ast/ast-value-factory.cc
|
View
|
1
2
|
3 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/ast/variables.h
|
View
|
1
|
3 chunks |
+30 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/compiler.cc
|
View
|
1
2
|
2 chunks |
+4 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/compiler-dispatcher/compiler-dispatcher-job.cc
|
View
|
1
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/globals.h
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/interpreter/bytecode-array-writer.cc
|
View
|
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/interpreter/bytecode-generator.cc
|
View
|
1
2
|
13 chunks |
+39 lines, -10 lines |
0 comments
|
Download
|
|
M |
src/interpreter/bytecode-peephole-optimizer.cc
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-api.cc
|
View
|
1
2
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
Dependent Patchsets:
Total messages: 35 (23 generated)
|