Index: src/code-factory.cc |
diff --git a/src/code-factory.cc b/src/code-factory.cc |
index e68d539207b2b32300a3b1e947e6e26be5cf8221..57a107e4904c264812a2e9a00804ff3ca8772c16 100644 |
--- a/src/code-factory.cc |
+++ b/src/code-factory.cc |
@@ -49,6 +49,23 @@ Callable CodeFactory::KeyedLoadICInOptimizedCode(Isolate* isolate) { |
// static |
+Callable CodeFactory::CallIC(Isolate* isolate, int argc, |
+ CallICState::CallType call_type) { |
+ return Callable(CallIC::initialize_stub(isolate, argc, call_type), |
+ CallFunctionWithFeedbackDescriptor(isolate)); |
+} |
+ |
+ |
+// static |
+Callable CodeFactory::CallICInOptimizedCode(Isolate* isolate, int argc, |
+ CallICState::CallType call_type) { |
+ return Callable( |
+ CallIC::initialize_stub_in_optimized_code(isolate, argc, call_type), |
+ CallFunctionWithFeedbackAndVectorDescriptor(isolate)); |
+} |
+ |
+ |
+// static |
Callable CodeFactory::StoreIC(Isolate* isolate, StrictMode mode) { |
return Callable(StoreIC::initialize_stub(isolate, mode), |
StoreDescriptor(isolate)); |