| Index: src/handles-inl.h
|
| diff --git a/src/handles-inl.h b/src/handles-inl.h
|
| index 0088d3a379bef788237c1c6fd74b188e9c3dc97f..6e7c3d972434f16fb7ce410824e22112f1f8649e 100644
|
| --- a/src/handles-inl.h
|
| +++ b/src/handles-inl.h
|
| @@ -127,7 +127,8 @@ void HandleScope::Enter(
|
|
|
| void HandleScope::Leave(
|
| const v8::ImplementationUtilities::HandleScopeData* previous) {
|
| - Isolate* isolate = Isolate::Current();
|
| + Isolate* isolate = previous->isolate;
|
| + ASSERT(isolate == Isolate::Current());
|
| v8::ImplementationUtilities::HandleScopeData* current =
|
| isolate->handle_scope_data();
|
| if (current->extensions > 0) {
|
|
|