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

Unified Diff: runtime/vm/stub_code_ia32_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/stub_code_ia32.cc ('k') | runtime/vm/stub_code_mips_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/stub_code_ia32_test.cc
===================================================================
--- runtime/vm/stub_code_ia32_test.cc (revision 18992)
+++ runtime/vm/stub_code_ia32_test.cc (working copy)
@@ -71,7 +71,7 @@
*CreateFunction("Test_CallRuntimeStubCode"), &_assembler_));
const Function& function = RegisterFakeFunction(kName, code);
Smi& result = Smi::Handle();
- result ^= DartEntry::InvokeStatic(function, Object::empty_array());
+ result ^= DartEntry::InvokeFunction(function, Object::empty_array());
EXPECT_EQ((value1 - value2), result.Value());
}
@@ -106,7 +106,7 @@
*CreateFunction("Test_CallLeafRuntimeStubCode"), &_assembler_));
const Function& function = RegisterFakeFunction(kName, code);
Smi& result = Smi::Handle();
- result ^= DartEntry::InvokeStatic(function, Object::empty_array());
+ result ^= DartEntry::InvokeFunction(function, Object::empty_array());
EXPECT_EQ((value1 + value2), result.Value());
}
« no previous file with comments | « runtime/vm/stub_code_ia32.cc ('k') | runtime/vm/stub_code_mips_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698