Index: src/x64/codegen-x64.cc |
=================================================================== |
--- src/x64/codegen-x64.cc (revision 3729) |
+++ src/x64/codegen-x64.cc (working copy) |
@@ -6009,6 +6009,7 @@ |
Slot* slot = expression_->AsVariableProxy()->AsVariable()->slot(); |
ASSERT(slot != NULL); |
cgen_->StoreToSlot(slot, init_state); |
+ cgen_->UnloadReference(this); |
break; |
} |
@@ -6017,6 +6018,7 @@ |
cgen_->frame()->Push(GetName()); |
Result answer = cgen_->frame()->CallStoreIC(); |
cgen_->frame()->Push(&answer); |
+ cgen_->UnloadReference(this); |
break; |
} |
@@ -6118,13 +6120,13 @@ |
masm->nop(); |
cgen_->frame()->Push(&answer); |
} |
+ cgen_->UnloadReference(this); |
break; |
} |
default: |
UNREACHABLE(); |
} |
- cgen_->UnloadReference(this); |
} |