Index: src/profile-generator.cc |
diff --git a/src/profile-generator.cc b/src/profile-generator.cc |
index aefc52a96f15dbd26617742ad33d7dc2f3ad6f8b..b6b97bf40181d1759171cc70f3ae4314aca3b766 100644 |
--- a/src/profile-generator.cc |
+++ b/src/profile-generator.cc |
@@ -106,7 +106,7 @@ int CodeEntry::GetSourceLine(int pc_offset) const { |
void CodeEntry::FillFunctionInfo(SharedFunctionInfo* shared) { |
if (!shared->script()->IsScript()) return; |
Script* script = Script::cast(shared->script()); |
- set_script_id(script->id()->value()); |
+ set_script_id(script->id()); |
set_position(shared->start_position()); |
set_bailout_reason(GetBailoutReason(shared->disable_optimization_reason())); |
} |