| Index: src/jump-target-light.cc
|
| diff --git a/src/jump-target-light.cc b/src/jump-target-light.cc
|
| index 76c3cb7f6b667c9b510086a1606cede981dc5fc8..308e3db441c6d8db3708caa79ac67d367624f02b 100644
|
| --- a/src/jump-target-light.cc
|
| +++ b/src/jump-target-light.cc
|
| @@ -34,16 +34,24 @@ namespace v8 {
|
| namespace internal {
|
|
|
|
|
| +FrameRegisterState::FrameRegisterState(VirtualFrame* frame) {
|
| + // Nothing to do when register allocation is not supported.
|
| + ASSERT(RegisterAllocator::kNumRegisters == 0);
|
| +}
|
| +
|
| +
|
| DeferredCode::DeferredCode()
|
| : masm_(CodeGeneratorScope::Current()->masm()),
|
| statement_position_(masm_->current_statement_position()),
|
| - position_(masm_->current_position()) {
|
| + position_(masm_->current_position()),
|
| + frame_state_(CodeGeneratorScope::Current()->frame()) {
|
| ASSERT(statement_position_ != RelocInfo::kNoPosition);
|
| ASSERT(position_ != RelocInfo::kNoPosition);
|
|
|
| CodeGeneratorScope::Current()->AddDeferred(this);
|
|
|
| #ifdef DEBUG
|
| + comment_ = "";
|
| CodeGeneratorScope::Current()->frame()->AssertIsSpilled();
|
| #endif
|
| }
|
|
|