Index: src/profile-generator.cc |
diff --git a/src/profile-generator.cc b/src/profile-generator.cc |
index 385e753025b58c9c91e3798685b13a3a3e97dfa9..9896a414dfe803b66cbd2c655238854f624a6d72 100644 |
--- a/src/profile-generator.cc |
+++ b/src/profile-generator.cc |
@@ -119,8 +119,7 @@ DeoptInfo CodeEntry::GetDeoptInfo() { |
info.deopt_reason = deopt_reason_; |
if (inlined_function_infos_.empty()) { |
info.stack.push_back(DeoptInfo::Frame( |
- {script_id_, |
- static_cast<int>(position_ + deopt_position_.position())})); |
+ {script_id_, position_ + deopt_position_.position()})); |
return info; |
} |
// Copy the only branch from the inlining tree where the deopt happened. |
@@ -138,7 +137,7 @@ DeoptInfo CodeEntry::GetDeoptInfo() { |
InlinedFunctionInfo& inlined_info = inlined_function_infos_.at(inlining_id); |
info.stack.push_back(DeoptInfo::Frame( |
{inlined_info.script_id, |
- static_cast<int>(inlined_info.start_position + position.raw())})); |
+ inlined_info.start_position + position.raw()})); |
position = inlined_info.inline_position; |
inlining_id = inlined_info.parent_id; |
} |