Index: src/accessors.cc |
diff --git a/src/accessors.cc b/src/accessors.cc |
index 7649896a40246e3b625424f19a7541699040618a..74238eb168e832952a608d24f2da66fffcea172d 100644 |
--- a/src/accessors.cc |
+++ b/src/accessors.cc |
@@ -571,7 +571,7 @@ void Accessors::ScriptEvalFromScriptGetter( |
Handle<Script> script( |
Script::cast(Handle<JSValue>::cast(object)->value()), isolate); |
Handle<Object> result = isolate->factory()->undefined_value(); |
- if (!script->eval_from_shared()->IsUndefined()) { |
+ if (!script->eval_from_shared()->IsUndefined(isolate)) { |
Handle<SharedFunctionInfo> eval_from_shared( |
SharedFunctionInfo::cast(script->eval_from_shared())); |
if (eval_from_shared->script()->IsScript()) { |
@@ -637,11 +637,11 @@ void Accessors::ScriptEvalFromFunctionNameGetter( |
Handle<Script> script( |
Script::cast(Handle<JSValue>::cast(object)->value()), isolate); |
Handle<Object> result = isolate->factory()->undefined_value(); |
- if (!script->eval_from_shared()->IsUndefined()) { |
+ if (!script->eval_from_shared()->IsUndefined(isolate)) { |
Handle<SharedFunctionInfo> shared( |
SharedFunctionInfo::cast(script->eval_from_shared())); |
// Find the name of the function calling eval. |
- if (!shared->name()->IsUndefined()) { |
+ if (!shared->name()->IsUndefined(isolate)) { |
result = Handle<Object>(shared->name(), isolate); |
} else { |
result = Handle<Object>(shared->inferred_name(), isolate); |
@@ -1132,7 +1132,7 @@ static void ModuleGetExport(v8::Local<v8::Name> property, |
return; |
} |
Object* value = context->get(slot); |
- if (value->IsTheHole()) { |
+ if (value->IsTheHole(isolate)) { |
Handle<Name> name = v8::Utils::OpenHandle(*property); |
Handle<Object> exception = isolate->factory()->NewReferenceError( |