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

Unified Diff: runtime/vm/code_generator_test.cc

Issue 473913005: Fix vm/cc/StaticNonNullSumCallCodegen. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/code_generator_test.cc
diff --git a/runtime/vm/code_generator_test.cc b/runtime/vm/code_generator_test.cc
index 89fcc20f8f7d823e9659340cc5f85b950e2fc2f5..90c1360d6f5a2e0d4e4e3dbd7f44d3ad4b241504 100644
--- a/runtime/vm/code_generator_test.cc
+++ b/runtime/vm/code_generator_test.cc
@@ -509,7 +509,7 @@ CODEGEN_TEST2_GENERATE(StaticNonNullSumCallCodegen, function, test) {
SequenceNode* node_seq = test->node_sequence();
ArgumentListNode* arguments = new ArgumentListNode(kPos);
arguments->Add(new LiteralNode(kPos, Smi::ZoneHandle(Smi::New(1))));
- arguments->Add(new LiteralNode(kPos, Smi::ZoneHandle()));
+ arguments->Add(new LiteralNode(kPos, Instance::ZoneHandle()));
Ivan Posva 2014/08/21 16:33:11 Object::null_object() would be the correct thing t
arguments->Add(new LiteralNode(kPos, Smi::ZoneHandle(Smi::New(3))));
node_seq->Add(new ReturnNode(kPos,
new StaticCallNode(kPos, function, arguments)));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698