Index: src/log.cc |
diff --git a/src/log.cc b/src/log.cc |
index 201a9ef9be65fa269e1a65a96e1a153d9b39eda1..d3af29cf43f11f5168068b37022090d0cf8daee6 100644 |
--- a/src/log.cc |
+++ b/src/log.cc |
@@ -83,7 +83,7 @@ class CodeEventLogger::NameBuffer { |
} else { |
Symbol* symbol = Symbol::cast(name); |
AppendBytes("symbol("); |
- if (!symbol->name()->IsUndefined()) { |
+ if (!symbol->name()->IsUndefined(symbol->GetIsolate())) { |
AppendBytes("\""); |
AppendString(String::cast(symbol->name())); |
AppendBytes("\" "); |
@@ -1021,7 +1021,7 @@ void Logger::ApiNamedPropertyAccess(const char* tag, |
} else { |
Symbol* symbol = Symbol::cast(name); |
uint32_t hash = symbol->Hash(); |
- if (symbol->name()->IsUndefined()) { |
+ if (symbol->name()->IsUndefined(symbol->GetIsolate())) { |
ApiEvent("api,%s,\"%s\",symbol(hash %x)", tag, class_name.get(), hash); |
} else { |
base::SmartArrayPointer<char> str = |
@@ -1089,7 +1089,7 @@ void Logger::CallbackEventInternal(const char* prefix, Name* name, |
msg.Append(",1,\"%s%s\"", prefix, str.get()); |
} else { |
Symbol* symbol = Symbol::cast(name); |
- if (symbol->name()->IsUndefined()) { |
+ if (symbol->name()->IsUndefined(symbol->GetIsolate())) { |
msg.Append(",1,symbol(hash %x)", symbol->Hash()); |
} else { |
base::SmartArrayPointer<char> str = |
@@ -1684,7 +1684,7 @@ void Logger::LogExistingFunction(Handle<SharedFunctionInfo> shared, |
// API function. |
FunctionTemplateInfo* fun_data = shared->get_api_func_data(); |
Object* raw_call_data = fun_data->call_code(); |
- if (!raw_call_data->IsUndefined()) { |
+ if (!raw_call_data->IsUndefined(isolate_)) { |
CallHandlerInfo* call_data = CallHandlerInfo::cast(raw_call_data); |
Object* callback_obj = call_data->callback(); |
Address entry_point = v8::ToCData<Address>(callback_obj); |