Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index 5058af71f8234bf27aacfd23c18e6ef4cfb22705..4f18eacc0a39b0790679a9307c46094df70ccc4d 100755 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -784,7 +784,7 @@ void Compiler::RecordFunctionCompilation(Logger::LogEventsAndTags tag, |
} |
} |
- GDBJIT(AddCode(name, |
+ GDBJIT(AddCode(Handle<String>(shared->DebugName()), |
Handle<Script>(info->script()), |
Handle<Code>(info->code()))); |
} |