Index: src/code-factory.cc |
diff --git a/src/code-factory.cc b/src/code-factory.cc |
index acec002c4083a84641ba1f3b5b3527251a8420bd..9898282d31d958ad1c08991e60e2c210c73a2d76 100644 |
--- a/src/code-factory.cc |
+++ b/src/code-factory.cc |
@@ -119,6 +119,13 @@ |
// static |
+Callable CodeFactory::CompareNilIC(Isolate* isolate, NilValue nil_value) { |
+ Handle<Code> code = CompareNilICStub::GetUninitialized(isolate, nil_value); |
+ return Callable(code, CompareNilDescriptor(isolate)); |
+} |
+ |
+ |
+// static |
Callable CodeFactory::BinaryOpIC(Isolate* isolate, Token::Value op) { |
BinaryOpICStub stub(isolate, op); |
return Callable(stub.GetCode(), stub.GetCallInterfaceDescriptor()); |