| Index: src/runtime.cc
|
| diff --git a/src/runtime.cc b/src/runtime.cc
|
| index e9bd5ed0c14a91e757803ac215145a4a910251cd..c9d3f49ca9087e1cff82cfe1194fc413a0056278 100644
|
| --- a/src/runtime.cc
|
| +++ b/src/runtime.cc
|
| @@ -8547,7 +8547,8 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_CompileForOnStackReplacement) {
|
|
|
| // Use linear search of the unoptimized code's back edge table to find
|
| // the AST id matching the PC.
|
| - uint32_t target_pc_offset = frame->pc() - unoptimized->instruction_start();
|
| + uint32_t target_pc_offset =
|
| + static_cast<uint32_t>(frame->pc() - unoptimized->instruction_start());
|
| uint32_t loop_depth = 0;
|
|
|
| for (FullCodeGenerator::BackEdgeTableIterator back_edges(*unoptimized);
|
|
|