Index: src/lithium-allocator.cc |
diff --git a/src/lithium-allocator.cc b/src/lithium-allocator.cc |
index 9f5f1b97d8d60b0c5a084963224e4d98303f3401..19181cb1f4b36e123c9ba8d302aa148d64d75fe4 100644 |
--- a/src/lithium-allocator.cc |
+++ b/src/lithium-allocator.cc |
@@ -1098,6 +1098,13 @@ void LAllocator::ResolveControlFlow(LiveRange* range, |
} else { |
ASSERT(pred->end()->SecondSuccessor() == NULL); |
gap = GetLastGap(pred); |
+ |
+ if (HasTaggedValue(range->id())) { |
+ LInstruction* branch = InstructionAt(pred->last_instruction_index()); |
+ if (branch->HasPointerMap()) { |
+ branch->pointer_map()->RecordPointer(cur_op); |
+ } |
+ } |
} |
gap->GetOrCreateParallelMove(LGap::START)->AddMove(pred_op, cur_op); |
} |