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

Unified Diff: runtime/vm/resolver_test.cc

Issue 12315087: Hook up simulator (if needed) when calling Dart code. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 10 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 | « runtime/vm/parser.cc ('k') | runtime/vm/stub_code_arm_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/resolver_test.cc
===================================================================
--- runtime/vm/resolver_test.cc (revision 18992)
+++ runtime/vm/resolver_test.cc (working copy)
@@ -113,7 +113,7 @@
const Smi& arg1 = Smi::Handle(Smi::New(kTestValue));
args.SetAt(1, arg1);
const Smi& retval = Smi::Handle(
- reinterpret_cast<RawSmi*>(DartEntry::InvokeStatic(function, args)));
+ reinterpret_cast<RawSmi*>(DartEntry::InvokeFunction(function, args)));
EXPECT_EQ(kTestValue, retval.Value());
}
@@ -188,7 +188,7 @@
const Smi& arg1 = Smi::Handle(Smi::New(kTestValue));
args.SetAt(2, arg1);
const Smi& retval = Smi::Handle(
- reinterpret_cast<RawSmi*>(DartEntry::InvokeDynamic(function, args)));
+ reinterpret_cast<RawSmi*>(DartEntry::InvokeFunction(function, args)));
EXPECT_EQ(kTestValue, retval.Value());
}
« no previous file with comments | « runtime/vm/parser.cc ('k') | runtime/vm/stub_code_arm_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698