diff options
Diffstat (limited to 'runtime/thread.h')
-rw-r--r-- | runtime/thread.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/thread.h b/runtime/thread.h index 998e47275c..b0be841730 100644 --- a/runtime/thread.h +++ b/runtime/thread.h @@ -692,7 +692,7 @@ class Thread { } void PushHandleScope(HandleScope* handle_scope) { - handle_scope->SetLink(tlsPtr_.top_handle_scope); + DCHECK_EQ(handle_scope->GetLink(), tlsPtr_.top_handle_scope); tlsPtr_.top_handle_scope = handle_scope; } |