Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index dce817129c0d339b686b1423015e6525dbb94fc4..4cbc666cb74869d8df18c1679b6f895d97b12090 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -102,6 +102,7 @@ void CompilationInfo::Initialize(Isolate* isolate, Mode mode, Zone* zone) { |
deferred_handles_ = NULL; |
code_stub_ = NULL; |
prologue_offset_ = kPrologueOffsetNotSet; |
+ frame_destroy_offset_ = kPrologueOffsetNotSet; |
opt_count_ = shared_info().is_null() ? 0 : shared_info()->opt_count(); |
if (mode == STUB) { |
mode_ = STUB; |
@@ -573,6 +574,7 @@ static Handle<SharedFunctionInfo> MakeFunctionInfo(CompilationInfo* info) { |
: Logger::ToNativeByScript(Logger::SCRIPT_TAG, *script), |
*info->code(), |
*result, |
+ info, |
String::cast(script->name()))); |
GDBJIT(AddCode(Handle<String>(String::cast(script->name())), |
script, |
@@ -585,6 +587,7 @@ static Handle<SharedFunctionInfo> MakeFunctionInfo(CompilationInfo* info) { |
: Logger::ToNativeByScript(Logger::SCRIPT_TAG, *script), |
*info->code(), |
*result, |
+ info, |
isolate->heap()->empty_string())); |
GDBJIT(AddCode(Handle<String>(), script, info->code(), info)); |
} |
@@ -1156,6 +1159,7 @@ void Compiler::RecordFunctionCompilation(Logger::LogEventsAndTags tag, |
CodeCreateEvent(Logger::ToNativeByScript(tag, *script), |
*code, |
*shared, |
+ info, |
String::cast(script->name()), |
line_num)); |
} else { |
@@ -1163,6 +1167,7 @@ void Compiler::RecordFunctionCompilation(Logger::LogEventsAndTags tag, |
CodeCreateEvent(Logger::ToNativeByScript(tag, *script), |
*code, |
*shared, |
+ info, |
shared->DebugName())); |
} |
} |