Index: src/jump-target-light.cc |
=================================================================== |
--- src/jump-target-light.cc (revision 4341) |
+++ src/jump-target-light.cc (working copy) |
@@ -77,23 +77,10 @@ |
ASSERT(position_ != RelocInfo::kNoPosition); |
CodeGeneratorScope::Current()->AddDeferred(this); |
+ |
#ifdef DEBUG |
- comment_ = ""; |
+ CodeGeneratorScope::Current()->frame()->AssertIsSpilled(); |
#endif |
- |
- // Copy the register locations from the code generator's frame. |
- // These are the registers that will be spilled on entry to the |
- // deferred code and restored on exit. |
- VirtualFrame* frame = CodeGeneratorScope::Current()->frame(); |
- for (int i = 0; i < RegisterAllocator::kNumRegisters; i++) { |
- int loc = frame->register_location(i); |
- if (loc == VirtualFrame::kIllegalIndex) { |
- registers_[i] = kIgnore; |
- } else { |
- // Needs to be restored on exit but not saved on entry. |
- registers_[i] = frame->fp_relative(loc) | kSyncedFlag; |
- } |
- } |
} |
} } // namespace v8::internal |