| Index: runtime/vm/thread.h
|
| diff --git a/runtime/vm/thread.h b/runtime/vm/thread.h
|
| index 93d7e0e17a8688f530df90beb07da0826b0e8eef..4b9b9c9c6ba36d48000881410b6b9c330c8835f3 100644
|
| --- a/runtime/vm/thread.h
|
| +++ b/runtime/vm/thread.h
|
| @@ -348,15 +348,17 @@ LEAF_RUNTIME_ENTRY_LIST(DEFINE_OFFSET_METHOD)
|
| REUSABLE_HANDLE_LIST(REUSABLE_HANDLE_SCOPE_ACCESSORS)
|
| #undef REUSABLE_HANDLE_SCOPE_ACCESSORS
|
|
|
| -bool IsAnyReusableHandleScopeActive() const {
|
| + bool IsAnyReusableHandleScopeActive() const {
|
| #define IS_REUSABLE_HANDLE_SCOPE_ACTIVE(object) \
|
| - if (reusable_##object##_handle_scope_active_) return true;
|
| - REUSABLE_HANDLE_LIST(IS_REUSABLE_HANDLE_SCOPE_ACTIVE)
|
| - return false;
|
| + if (reusable_##object##_handle_scope_active_) return true;
|
| + REUSABLE_HANDLE_LIST(IS_REUSABLE_HANDLE_SCOPE_ACTIVE)
|
| + return false;
|
| #undef IS_REUSABLE_HANDLE_SCOPE_ACTIVE
|
| -}
|
| + }
|
| #endif // defined(DEBUG)
|
|
|
| + void ClearReusableHandles();
|
| +
|
| #define REUSABLE_HANDLE(object) \
|
| object& object##Handle() const { \
|
| return *object##_handle_; \
|
|
|