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

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

Issue 2509623002: [turbofan] Sparse representation for state values (Closed)
Patch Set: Remove the optimized_out input entirely, return nullptr when iterating Created 4 years, 1 month 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
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..cbd8605c6f7e086db288808980f74fe091167a0a 100644
--- a/test/unittests/compiler/escape-analysis-unittest.cc
+++ b/test/unittests/compiler/escape-analysis-unittest.cc
@@ -439,9 +439,9 @@ 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, 0u), finish);
+ Node* state_values2 = graph()->NewNode(common()->StateValues(0, 0u));
+ Node* state_values3 = graph()->NewNode(common()->StateValues(0, 0u));
Node* frame_state = graph()->NewNode(
common()->FrameState(BailoutId::None(), OutputFrameStateCombine::Ignore(),
nullptr),
@@ -479,9 +479,9 @@ 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, 0u), finish);
+ Node* state_values2 = graph()->NewNode(common()->StateValues(1, 0u), finish);
+ Node* state_values3 = graph()->NewNode(common()->StateValues(0, 0u));
Node* frame_state = graph()->NewNode(
common()->FrameState(BailoutId::None(), OutputFrameStateCombine::Ignore(),
nullptr),

Powered by Google App Engine
This is Rietveld 408576698