Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(255)

Unified Diff: test/unittests/compiler/escape-analysis-unittest.cc

Issue 2509623002: [turbofan] Sparse representation for state values (Closed)
Patch Set: Renaming and changing refs to pointers Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/cctest/compiler/test-js-typed-lowering.cc ('k') | test/unittests/compiler/graph-unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/unittests/compiler/escape-analysis-unittest.cc
diff --git a/test/unittests/compiler/escape-analysis-unittest.cc b/test/unittests/compiler/escape-analysis-unittest.cc
index 9cce5475fd2b287cee91d6e3c267304129169707..10813f7873878f26fd6df7279c2eb9d924adcd3d 100644
--- a/test/unittests/compiler/escape-analysis-unittest.cc
+++ b/test/unittests/compiler/escape-analysis-unittest.cc
@@ -439,9 +439,12 @@ TEST_F(EscapeAnalysisTest, DeoptReplacement) {
Node* effect1 = Store(FieldAccessAtIndex(0), allocation, object1, finish);
Branch();
Node* ifFalse = IfFalse();
- Node* state_values1 = graph()->NewNode(common()->StateValues(1), finish);
- Node* state_values2 = graph()->NewNode(common()->StateValues(0));
- Node* state_values3 = graph()->NewNode(common()->StateValues(0));
+ Node* state_values1 = graph()->NewNode(
+ common()->StateValues(1, SparseInputMask::Dense()), finish);
+ Node* state_values2 =
+ graph()->NewNode(common()->StateValues(0, SparseInputMask::Dense()));
+ Node* state_values3 =
+ graph()->NewNode(common()->StateValues(0, SparseInputMask::Dense()));
Node* frame_state = graph()->NewNode(
common()->FrameState(BailoutId::None(), OutputFrameStateCombine::Ignore(),
nullptr),
@@ -479,9 +482,12 @@ TEST_F(EscapeAnalysisTest, DISABLED_DeoptReplacementIdentity) {
Node* effect1 = Store(FieldAccessAtIndex(0), allocation, object1, finish);
Branch();
Node* ifFalse = IfFalse();
- Node* state_values1 = graph()->NewNode(common()->StateValues(1), finish);
- Node* state_values2 = graph()->NewNode(common()->StateValues(1), finish);
- Node* state_values3 = graph()->NewNode(common()->StateValues(0));
+ Node* state_values1 = graph()->NewNode(
+ common()->StateValues(1, SparseInputMask::Dense()), finish);
+ Node* state_values2 = graph()->NewNode(
+ common()->StateValues(1, SparseInputMask::Dense()), finish);
+ Node* state_values3 =
+ graph()->NewNode(common()->StateValues(0, SparseInputMask::Dense()));
Node* frame_state = graph()->NewNode(
common()->FrameState(BailoutId::None(), OutputFrameStateCombine::Ignore(),
nullptr),
« no previous file with comments | « test/cctest/compiler/test-js-typed-lowering.cc ('k') | test/unittests/compiler/graph-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698