| Index: src/isolate.cc
|
| diff --git a/src/isolate.cc b/src/isolate.cc
|
| index 9ac7c7873ecf607d947627ba1128cc0002d2b4f3..396644b786536ba44d891ea6a1f5e5f127185ca0 100644
|
| --- a/src/isolate.cc
|
| +++ b/src/isolate.cc
|
| @@ -930,7 +930,7 @@ void Isolate::ReportFailedAccessCheck(JSObject* receiver, v8::AccessType type) {
|
| HandleScope scope(this);
|
| Handle<JSObject> receiver_handle(receiver);
|
| Handle<Object> data(AccessCheckInfo::cast(data_obj)->data(), this);
|
| - { VMState state(this, EXTERNAL);
|
| + { VMState<EXTERNAL> state(this);
|
| thread_local_top()->failed_access_check_callback_(
|
| v8::Utils::ToLocal(receiver_handle),
|
| type,
|
| @@ -1009,7 +1009,7 @@ bool Isolate::MayNamedAccess(JSObject* receiver, Object* key,
|
| bool result = false;
|
| {
|
| // Leaving JavaScript.
|
| - VMState state(this, EXTERNAL);
|
| + VMState<EXTERNAL> state(this);
|
| result = callback(v8::Utils::ToLocal(receiver_handle),
|
| v8::Utils::ToLocal(key_handle),
|
| type,
|
| @@ -1051,7 +1051,7 @@ bool Isolate::MayIndexedAccess(JSObject* receiver,
|
| bool result = false;
|
| {
|
| // Leaving JavaScript.
|
| - VMState state(this, EXTERNAL);
|
| + VMState<EXTERNAL> state(this);
|
| result = callback(v8::Utils::ToLocal(receiver_handle),
|
| index,
|
| type,
|
| @@ -2116,7 +2116,7 @@ bool Isolate::Init(Deserializer* des) {
|
| heap_profiler_ = new HeapProfiler(heap());
|
|
|
| // Enable logging before setting up the heap
|
| - logger_->SetUp();
|
| + logger_->SetUp(this);
|
|
|
| // Initialize other runtime facilities
|
| #if defined(USE_SIMULATOR)
|
|
|