| Index: src/compiler.cc
|
| diff --git a/src/compiler.cc b/src/compiler.cc
|
| index f8d1b3de6b550ce1b568fa203d0dca2437abb2f2..5d9f96846d083f47f99b8c45d05ea285d7d0940f 100755
|
| --- a/src/compiler.cc
|
| +++ b/src/compiler.cc
|
| @@ -413,7 +413,8 @@ static Handle<SharedFunctionInfo> MakeFunctionInfo(CompilationInfo* info) {
|
| String::cast(script->name())));
|
| GDBJIT(AddCode(Handle<String>(String::cast(script->name())),
|
| script,
|
| - info->code()));
|
| + info->code(),
|
| + info));
|
| } else {
|
| PROFILE(isolate, CodeCreateEvent(
|
| info->is_eval()
|
| @@ -422,7 +423,7 @@ static Handle<SharedFunctionInfo> MakeFunctionInfo(CompilationInfo* info) {
|
| *info->code(),
|
| *result,
|
| isolate->heap()->empty_string()));
|
| - GDBJIT(AddCode(Handle<String>(), script, info->code()));
|
| + GDBJIT(AddCode(Handle<String>(), script, info->code(), info));
|
| }
|
|
|
| // Hint to the runtime system used when allocating space for initial
|
| @@ -788,7 +789,8 @@ void Compiler::RecordFunctionCompilation(Logger::LogEventsAndTags tag,
|
|
|
| GDBJIT(AddCode(Handle<String>(shared->DebugName()),
|
| Handle<Script>(info->script()),
|
| - Handle<Code>(info->code())));
|
| + Handle<Code>(info->code()),
|
| + info));
|
| }
|
|
|
| } } // namespace v8::internal
|
|
|