Index: src/ia32/lithium-codegen-ia32.h |
diff --git a/src/ia32/lithium-codegen-ia32.h b/src/ia32/lithium-codegen-ia32.h |
index 23b2e48fb0c5c403ecec0cb60a6143d1151212fa..968336c76c0db262981d9eb623826a0f279b4d58 100644 |
--- a/src/ia32/lithium-codegen-ia32.h |
+++ b/src/ia32/lithium-codegen-ia32.h |
@@ -548,7 +548,7 @@ class LDeferredCode : public ZoneObject { |
void SetExit(Label* exit) { external_exit_ = exit; } |
Label* entry() { return &entry_; } |
Label* exit() { return external_exit_ != NULL ? external_exit_ : &exit_; } |
- Label* done() { return &done_; } |
+ Label* done() { return codegen_->NeedsDeferredFrame() ? &done_ : exit(); } |
int instruction_index() const { return instruction_index_; } |
const LCodeGen::X87Stack& x87_stack() const { return x87_stack_; } |