Index: src/x64/stub-cache-x64.cc |
diff --git a/src/x64/stub-cache-x64.cc b/src/x64/stub-cache-x64.cc |
index 384e5c0077ca1f2054343fddda724700f3230941..ba6321a9d31033b5ecfca513fa558c08f523799e 100644 |
--- a/src/x64/stub-cache-x64.cc |
+++ b/src/x64/stub-cache-x64.cc |
@@ -723,6 +723,15 @@ void StubCompiler::GenerateLoadMiss(MacroAssembler* masm, Code::Kind kind) { |
} |
+void StubCompiler::GenerateStoreMiss(MacroAssembler* masm, Code::Kind kind) { |
+ ASSERT(kind == Code::STORE_IC || kind == Code::KEYED_STORE_IC); |
+ Handle<Code> code = (kind == Code::STORE_IC) |
+ ? masm->isolate()->builtins()->StoreIC_Miss() |
+ : masm->isolate()->builtins()->KeyedStoreIC_Miss(); |
+ __ Jump(code, RelocInfo::CODE_TARGET); |
+} |
+ |
+ |
void StubCompiler::GenerateKeyedLoadMissForceGeneric(MacroAssembler* masm) { |
Handle<Code> code = |
masm->isolate()->builtins()->KeyedLoadIC_MissForceGeneric(); |