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

Unified Diff: runtime/vm/intermediate_language_test.cc

Issue 2894953002: Support inlining of calls where type arguments are passed to generic functions. (Closed)
Patch Set: Merge branch 'master' into slave Created 3 years, 6 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 46b916f451a07d2dc3b011cbebdc233ac6cdc9de..eae90affa5cfbc79afd4ff543b019f0a1af861f2 100644
--- a/runtime/vm/intermediate_language_test.cc
+++ b/runtime/vm/intermediate_language_test.cc
@@ -12,7 +12,8 @@ TEST_CASE(InstructionTests) {
1, CatchClauseNode::kInvalidTryIndex, Thread::kNoDeoptId);
EXPECT(target_instr->IsBlockEntry());
EXPECT(!target_instr->IsDefinition());
- CurrentContextInstr* context = new CurrentContextInstr(Thread::kNoDeoptId);
+ SpecialParameterInstr* context = new SpecialParameterInstr(
+ SpecialParameterInstr::kContext, Thread::kNoDeoptId);
EXPECT(context->IsDefinition());
EXPECT(!context->IsBlockEntry());
}

Powered by Google App Engine
This is Rietveld 408576698