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

Unified Diff: runtime/vm/parser.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/isolate.cc ('k') | runtime/vm/resolver_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/parser.cc
===================================================================
--- runtime/vm/parser.cc (revision 18992)
+++ runtime/vm/parser.cc (working copy)
@@ -8185,7 +8185,7 @@
ASSERT(!func.IsNull());
ASSERT(func.kind() == RawFunction::kConstImplicitGetter);
Object& const_value = Object::Handle(
- DartEntry::InvokeStatic(func, Object::empty_array()));
+ DartEntry::InvokeFunction(func, Object::empty_array()));
if (const_value.IsError()) {
const Error& error = Error::Cast(const_value);
if (error.IsUnhandledException()) {
@@ -8248,9 +8248,9 @@
Array::Handle(ArgumentsDescriptor::New(num_arguments,
arguments->names()));
const Object& result =
- Object::Handle(DartEntry::InvokeStatic(constructor,
- arg_values,
- arg_descriptor));
+ Object::Handle(DartEntry::InvokeFunction(constructor,
+ arg_values,
+ arg_descriptor));
if (result.IsError()) {
if (result.IsUnhandledException()) {
return result.raw();
@@ -9459,7 +9459,7 @@
// Call interpolation function.
String& concatenated = String::ZoneHandle();
- concatenated ^= DartEntry::InvokeStatic(func, interpolate_arg);
+ concatenated ^= DartEntry::InvokeFunction(func, interpolate_arg);
if (concatenated.IsUnhandledException()) {
ErrorMsg("Exception thrown in Parser::Interpolate");
}
« no previous file with comments | « runtime/vm/isolate.cc ('k') | runtime/vm/resolver_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698