| Index: src/isolate.h
|
| diff --git a/src/isolate.h b/src/isolate.h
|
| index 13ffc1353b4bd34b94526686ec1b34c7ef2f64ca..90fce61ecdad3aa8361e8a69afe87931b382a321 100644
|
| --- a/src/isolate.h
|
| +++ b/src/isolate.h
|
| @@ -402,7 +402,8 @@ class Isolate {
|
|
|
| // Returns the isolate inside which the current thread is running.
|
| INLINE(static Isolate* Current()) {
|
| - Isolate* isolate = UncheckedCurrent();
|
| + Isolate* isolate = reinterpret_cast<Isolate*>(
|
| + Thread::GetExistingThreadLocal(isolate_key_));
|
| ASSERT(isolate != NULL);
|
| return isolate;
|
| }
|
|
|