Index: src/code-factory.cc |
diff --git a/src/code-factory.cc b/src/code-factory.cc |
index 483948c45b34b222db3e778f19a1bbc8ba36b295..862a8189a3595e59203746baaff115c29f16eae6 100644 |
--- a/src/code-factory.cc |
+++ b/src/code-factory.cc |
@@ -601,5 +601,11 @@ Callable CodeFactory::InterpreterCEntry(Isolate* isolate, int result_size) { |
return Callable(stub.GetCode(), InterpreterCEntryDescriptor(isolate)); |
} |
+// static |
+Callable CodeFactory::InterpreterOnStackReplacement(Isolate* isolate) { |
+ return Callable(isolate->builtins()->InterpreterOnStackReplacement(), |
+ ContextOnlyDescriptor(isolate)); |
+} |
+ |
} // namespace internal |
} // namespace v8 |