Index: src/ic/ic.cc |
diff --git a/src/ic/ic.cc b/src/ic/ic.cc |
index 68745dc22f1133bb736406bf0bca563061ef5971..3d791014fe6fc45296d0810b367d00a86d72a04a 100644 |
--- a/src/ic/ic.cc |
+++ b/src/ic/ic.cc |
@@ -561,10 +561,9 @@ void StoreIC::Clear(Isolate* isolate, Address address, Code* target, |
void KeyedStoreIC::Clear(Isolate* isolate, Address address, Code* target, |
ConstantPoolArray* constant_pool) { |
if (IsCleared(target)) return; |
- SetTargetAtAddress( |
- address, *pre_monomorphic_stub( |
- isolate, StoreIC::GetLanguageMode(target->extra_ic_state())), |
- constant_pool); |
+ Handle<Code> code = pre_monomorphic_stub( |
+ isolate, StoreICState::GetLanguageMode(target->extra_ic_state())); |
+ SetTargetAtAddress(address, *code, constant_pool); |
} |