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

Unified Diff: runtime/vm/intermediate_language_test.cc

Issue 2900963008: Reapply "Shuffle around deopt id allocation... (Closed)
Patch Set: . Created 3 years, 7 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
Index: runtime/vm/intermediate_language_test.cc
diff --git a/runtime/vm/intermediate_language_test.cc b/runtime/vm/intermediate_language_test.cc
index 61b9e0507e342459d93266a9fc31cc5245222465..46b916f451a07d2dc3b011cbebdc233ac6cdc9de 100644
--- a/runtime/vm/intermediate_language_test.cc
+++ b/runtime/vm/intermediate_language_test.cc
@@ -8,19 +8,19 @@
namespace dart {
TEST_CASE(InstructionTests) {
- TargetEntryInstr* target_instr =
- new TargetEntryInstr(1, CatchClauseNode::kInvalidTryIndex);
+ TargetEntryInstr* target_instr = new TargetEntryInstr(
+ 1, CatchClauseNode::kInvalidTryIndex, Thread::kNoDeoptId);
EXPECT(target_instr->IsBlockEntry());
EXPECT(!target_instr->IsDefinition());
- CurrentContextInstr* context = new CurrentContextInstr();
+ CurrentContextInstr* context = new CurrentContextInstr(Thread::kNoDeoptId);
EXPECT(context->IsDefinition());
EXPECT(!context->IsBlockEntry());
}
TEST_CASE(OptimizationTests) {
- JoinEntryInstr* join =
- new JoinEntryInstr(1, CatchClauseNode::kInvalidTryIndex);
+ JoinEntryInstr* join = new JoinEntryInstr(
+ 1, CatchClauseNode::kInvalidTryIndex, Thread::kNoDeoptId);
Definition* def1 = new PhiInstr(join, 0);
Definition* def2 = new PhiInstr(join, 0);

Powered by Google App Engine
This is Rietveld 408576698