Index: src/code-factory.cc |
diff --git a/src/code-factory.cc b/src/code-factory.cc |
index 9a907ffffc32f4eb2041466006e1a2665cdb7f4c..6166fb3377860bf456cb509e33f8c7072a3faf3f 100644 |
--- a/src/code-factory.cc |
+++ b/src/code-factory.cc |
@@ -480,12 +480,11 @@ SIMD128_TYPES(SIMD128_ALLOC) |
#undef SIMD128_ALLOC |
// static |
-Callable CodeFactory::AllocateInNewSpace(Isolate* isolate) { |
- AllocateInNewSpaceStub stub(isolate); |
+Callable CodeFactory::Allocate(Isolate* isolate, PretenureFlag pretenure_flag) { |
+ AllocateStub stub(isolate, pretenure_flag); |
return Callable(stub.GetCode(), stub.GetCallInterfaceDescriptor()); |
} |
- |
// static |
Callable CodeFactory::ArgumentAdaptor(Isolate* isolate) { |
return Callable(isolate->builtins()->ArgumentsAdaptorTrampoline(), |