Index: src/code-stubs-hydrogen.cc |
diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc |
index eafc6d35a3826a1ab8b187b4045bf453143c760c..beff1ed04a14ce05f73bafe3c9f2e01cc81a7fd7 100644 |
--- a/src/code-stubs-hydrogen.cc |
+++ b/src/code-stubs-hydrogen.cc |
@@ -1140,6 +1140,19 @@ Handle<Code> AllocateHeapNumberStub::GenerateCode() { |
} |
+template <> |
+HValue* CodeStubGraphBuilder<AllocateInNewSpaceStub>::BuildCodeStub() { |
+ HValue* result = Add<HAllocate>(GetParameter(0), HType::Tagged(), NOT_TENURED, |
+ JS_OBJECT_TYPE); |
+ return result; |
+} |
+ |
+ |
+Handle<Code> AllocateInNewSpaceStub::GenerateCode() { |
+ return DoGenerateCode(this); |
+} |
+ |
+ |
HValue* CodeStubGraphBuilderBase::BuildArrayConstructor( |
ElementsKind kind, |
AllocationSiteOverrideMode override_mode, |