Index: src/ia32/stub-cache-ia32.cc |
diff --git a/src/ia32/stub-cache-ia32.cc b/src/ia32/stub-cache-ia32.cc |
index 68e7b9723e0663c431013d461c113b921ed58dcd..805016e1f6d6ae8e6c158a2bbb7159625b5722ef 100644 |
--- a/src/ia32/stub-cache-ia32.cc |
+++ b/src/ia32/stub-cache-ia32.cc |
@@ -737,6 +737,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(); |
+ __ jmp(code, RelocInfo::CODE_TARGET); |
+} |
+ |
+ |
void StubCompiler::GenerateKeyedLoadMissForceGeneric(MacroAssembler* masm) { |
Handle<Code> code = |
masm->isolate()->builtins()->KeyedLoadIC_MissForceGeneric(); |