Index: src/allocation-tracker.cc |
diff --git a/src/allocation-tracker.cc b/src/allocation-tracker.cc |
index 3125b0215ae597c03e667001dece91957cfb4e1a..cc6d52258f3d69986b0e32865c5a31f5dc638057 100644 |
--- a/src/allocation-tracker.cc |
+++ b/src/allocation-tracker.cc |
@@ -273,7 +273,7 @@ unsigned AllocationTracker::AddFunctionInfo(SharedFunctionInfo* shared, |
Name* name = Name::cast(script->name()); |
info->script_name = names_->GetName(name); |
} |
- info->script_id = script->id()->value(); |
+ info->script_id = script->id(); |
// Converting start offset into line and column may cause heap |
// allocations so we postpone them until snapshot serialization. |
unresolved_locations_.Add(new UnresolvedLocation( |