Index: runtime/lib/isolate.cc |
=================================================================== |
--- runtime/lib/isolate.cc (revision 18992) |
+++ runtime/lib/isolate.cc (working copy) |
@@ -74,7 +74,7 @@ |
const Array& args = Array::Handle(isolate, Array::New(kNumArguments)); |
args.SetAt(0, Integer::Handle(isolate, Integer::New(port_id))); |
const Object& result = |
- Object::Handle(isolate, DartEntry::InvokeStatic(func, args)); |
+ Object::Handle(isolate, DartEntry::InvokeFunction(func, args)); |
if (!result.IsError()) { |
PortMap::SetLive(port_id); |
} |
@@ -374,7 +374,7 @@ |
ASSERT(result.IsFunction()); |
Function& func = Function::Handle(isolate); |
func ^= result.raw(); |
- result = DartEntry::InvokeStatic(func, Object::empty_array()); |
+ result = DartEntry::InvokeFunction(func, Object::empty_array()); |
if (result.IsError()) { |
StoreError(isolate, result); |
return false; |