Index: src/code-factory.cc |
diff --git a/src/code-factory.cc b/src/code-factory.cc |
index a19d876dd96a0059eb9574adcd8f90a071f4be02..570b718ca2e1bdd4369e80b07617f1ffa860da38 100644 |
--- a/src/code-factory.cc |
+++ b/src/code-factory.cc |
@@ -538,6 +538,11 @@ Callable CodeFactory::ConstructFunction(Isolate* isolate) { |
ConstructTrampolineDescriptor(isolate)); |
} |
+// static |
+Callable CodeFactory::HasProperty(Isolate* isolate) { |
+ HasPropertyStub stub(isolate); |
+ return Callable(stub.GetCode(), stub.GetCallInterfaceDescriptor()); |
+} |
// static |
Callable CodeFactory::InterpreterPushArgsAndCall(Isolate* isolate, |