Index: src/code-factory.cc |
diff --git a/src/code-factory.cc b/src/code-factory.cc |
index d7c48274afab16db50fad7cb0917e819fd17cc5f..d88a83e97e3907ccfe76b7767976fc98aef80fa3 100644 |
--- a/src/code-factory.cc |
+++ b/src/code-factory.cc |
@@ -123,6 +123,13 @@ Callable CodeFactory::KeyedStoreICInOptimizedCode(Isolate* isolate, |
// static |
Callable CodeFactory::KeyedStoreIC_Megamorphic(Isolate* isolate, |
LanguageMode language_mode) { |
+ if (FLAG_tf_store_ic_stub) { |
+ return Callable( |
+ language_mode == STRICT |
+ ? isolate->builtins()->KeyedStoreIC_Megamorphic_Strict_TF() |
+ : isolate->builtins()->KeyedStoreIC_Megamorphic_TF(), |
+ StoreWithVectorDescriptor(isolate)); |
+ } |
return Callable(language_mode == STRICT |
? isolate->builtins()->KeyedStoreIC_Megamorphic_Strict() |
: isolate->builtins()->KeyedStoreIC_Megamorphic(), |