| Index: src/compiler.cc
|
| diff --git a/src/compiler.cc b/src/compiler.cc
|
| index 62402e18fa9ddf501dfe5ec973c3b846f3d9e7f0..e94d4188bc95ad7aaec79e80be77d84762a261cf 100755
|
| --- a/src/compiler.cc
|
| +++ b/src/compiler.cc
|
| @@ -412,7 +412,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()
|
| @@ -421,7 +422,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
|
| @@ -785,7 +786,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
|
|
|