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

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

Issue 2161543002: [turbofan] Add support for eager/soft deoptimization reasons. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Do the ports properly Created 4 years, 5 months 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/test-cpu-profiler.cc ('k') | test/unittests/compiler/instruction-selector-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 9b584a29f4c4d04c48b8fbfc5262235de4de6341..990b813947238d67652294a135c1483470efb4dc 100644
--- a/test/unittests/compiler/escape-analysis-unittest.cc
+++ b/test/unittests/compiler/escape-analysis-unittest.cc
@@ -446,8 +446,9 @@ TEST_F(EscapeAnalysisTest, DeoptReplacement) {
nullptr),
state_values1, state_values2, state_values3, UndefinedConstant(),
graph()->start(), graph()->start());
- Node* deopt = graph()->NewNode(common()->Deoptimize(DeoptimizeKind::kEager),
- frame_state, effect1, ifFalse);
+ Node* deopt = graph()->NewNode(
+ common()->Deoptimize(DeoptimizeKind::kEager, DeoptimizeReason::kNoReason),
+ frame_state, effect1, ifFalse);
Node* ifTrue = IfTrue();
Node* load = Load(FieldAccessAtIndex(0), finish, effect1, ifTrue);
Node* result = Return(load, effect1, ifTrue);
@@ -486,8 +487,9 @@ TEST_F(EscapeAnalysisTest, DeoptReplacementIdentity) {
nullptr),
state_values1, state_values2, state_values3, UndefinedConstant(),
graph()->start(), graph()->start());
- Node* deopt = graph()->NewNode(common()->Deoptimize(DeoptimizeKind::kEager),
- frame_state, effect1, ifFalse);
+ Node* deopt = graph()->NewNode(
+ common()->Deoptimize(DeoptimizeKind::kEager, DeoptimizeReason::kNoReason),
+ frame_state, effect1, ifFalse);
Node* ifTrue = IfTrue();
Node* load = Load(FieldAccessAtIndex(0), finish, effect1, ifTrue);
Node* result = Return(load, effect1, ifTrue);
« no previous file with comments | « test/cctest/test-cpu-profiler.cc ('k') | test/unittests/compiler/instruction-selector-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698