| Index: src/deoptimizer.cc
|
| diff --git a/src/deoptimizer.cc b/src/deoptimizer.cc
|
| index e90a5272ad38a9825b8553627b8c26fa18281124..59fb2c2d50947c3b6463693b0eb45c116295c0ad 100644
|
| --- a/src/deoptimizer.cc
|
| +++ b/src/deoptimizer.cc
|
| @@ -468,7 +468,8 @@ void Deoptimizer::PatchStackForMarkedCode(Isolate* isolate) {
|
| JSFunction* function =
|
| static_cast<OptimizedFrame*>(it.frame())->function();
|
| Address* pc_address = it.frame()->pc_address();
|
| - int pc_offset = *pc_address - code->instruction_start();
|
| + int pc_offset =
|
| + static_cast<int>(*pc_address - code->instruction_start());
|
| int new_pc_offset = FindPatchAddressForReturnAddress(code, pc_offset);
|
|
|
| if (FLAG_trace_deopt) {
|
|
|