| Index: runtime/vm/handles_impl.h
|
| ===================================================================
|
| --- runtime/vm/handles_impl.h (revision 23312)
|
| +++ runtime/vm/handles_impl.h (working copy)
|
| @@ -88,7 +88,7 @@
|
| // current Isolate, current zone and current handle scope exist. It
|
| // asserts for this appropriately.
|
| template <int kHandleSizeInWords, int kHandlesPerChunk, int kOffsetOfRawPtr>
|
| -uword Handles<kHandleSizeInWords,
|
| +inline uword Handles<kHandleSizeInWords,
|
| kHandlesPerChunk,
|
| kOffsetOfRawPtr>::AllocateHandle(Isolate* isolate) {
|
| ASSERT(isolate != NULL);
|
| @@ -387,6 +387,13 @@
|
| return (next_handle_slot_ / kHandleSizeInWords);
|
| }
|
|
|
| +
|
| +inline uword VMHandles::AllocateHandle(Isolate* isolate) {
|
| + return Handles<kVMHandleSizeInWords,
|
| + kVMHandlesPerChunk,
|
| + kOffsetOfRawPtr>::AllocateHandle(isolate);
|
| +}
|
| +
|
| } // namespace dart
|
|
|
| #endif // VM_HANDLES_IMPL_H_
|
|
|