|
|
[turbofan] Add a Simplified::CheckMaps instruction.
CheckMaps nodes take a receiver and a fixed number of map values as value
inputs and perform a load and a map check against the list of map values,
deoptimizing if the receiver object does not have one of the given maps.
They're essentially a compressed form of the hand-written map check that
is currently inserted by type feedback specialization. The idea is that
CheckMaps encode higher-level information that can be used in optimization
and can guard loads or stores.
They are lowered during simplified lowering to corresponding machine-level
nodes.
R=mstarzinger@chromium.org,bmeurer@chromium.org
BUG=
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+331 lines, -75 lines) |
Patch |
 |
M |
src/compiler/js-type-feedback.h
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
src/compiler/js-type-feedback.cc
|
View
|
|
5 chunks |
+16 lines, -59 lines |
0 comments
|
Download
|
 |
M |
src/compiler/opcodes.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
src/compiler/operator-properties.cc
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/compiler/simplified-lowering.h
|
View
|
|
3 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/compiler/simplified-lowering.cc
|
View
|
|
6 chunks |
+75 lines, -12 lines |
0 comments
|
Download
|
 |
M |
src/compiler/simplified-operator.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/compiler/simplified-operator.cc
|
View
|
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/compiler/typer.cc
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/compiler/verifier.cc
|
View
|
|
2 chunks |
+10 lines, -1 line |
0 comments
|
Download
|
 |
M |
test/unittests/compiler/node-test-utils.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
test/unittests/compiler/node-test-utils.cc
|
View
|
|
1 chunk |
+47 lines, -0 lines |
0 comments
|
Download
|
 |
A |
test/unittests/compiler/simplified-lowering-unittest.cc
|
View
|
|
1 chunk |
+156 lines, -0 lines |
0 comments
|
Download
|
 |
M |
test/unittests/unittests.gyp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 4 (1 generated)
|