Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index 4d552ed506d918b0369e056a909bd22284886ad0..51ea6aa71536ebfa28b31a2b42ed49235001b582 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -60,6 +60,7 @@ namespace internal { |
V(VectorKeyedStoreIC) \ |
/* HydrogenCodeStubs */ \ |
V(AllocateHeapNumber) \ |
+ V(AllocateInNewSpace) \ |
V(ArrayNArgumentsConstructor) \ |
V(ArrayNoArgumentConstructor) \ |
V(ArraySingleArgumentConstructor) \ |
@@ -2656,6 +2657,17 @@ class AllocateHeapNumberStub final : public HydrogenCodeStub { |
}; |
+class AllocateInNewSpaceStub final : public HydrogenCodeStub { |
+ public: |
+ explicit AllocateInNewSpaceStub(Isolate* isolate) |
+ : HydrogenCodeStub(isolate) {} |
+ |
+ private: |
+ DEFINE_CALL_INTERFACE_DESCRIPTOR(AllocateInNewSpace); |
+ DEFINE_HYDROGEN_CODE_STUB(AllocateInNewSpace, HydrogenCodeStub); |
+}; |
+ |
+ |
class ArrayConstructorStubBase : public HydrogenCodeStub { |
public: |
ArrayConstructorStubBase(Isolate* isolate, |