Index: runtime/vm/native_entry.h |
=================================================================== |
--- runtime/vm/native_entry.h (revision 44579) |
+++ runtime/vm/native_entry.h (working copy) |
@@ -74,7 +74,7 @@ |
// type name = value. |
#define GET_NON_NULL_NATIVE_ARGUMENT(type, name, value) \ |
const Instance& __##name##_instance__ = \ |
- Instance::CheckedHandle(isolate, value); \ |
+ Instance::CheckedHandle(zone, value); \ |
if (!__##name##_instance__.Is##type()) { \ |
const Array& __args__ = Array::Handle(Array::New(1)); \ |
__args__.SetAt(0, __##name##_instance__); \ |
@@ -87,7 +87,7 @@ |
// type name = value. |
#define GET_NATIVE_ARGUMENT(type, name, value) \ |
const Instance& __##name##_instance__ = \ |
- Instance::CheckedHandle(isolate, value); \ |
+ Instance::CheckedHandle(zone, value); \ |
type& name = type::Handle(isolate); \ |
if (!__##name##_instance__.IsNull()) { \ |
if (!__##name##_instance__.Is##type()) { \ |