Index: src/code-stub-assembler.cc |
diff --git a/src/code-stub-assembler.cc b/src/code-stub-assembler.cc |
index 5fa440ca6dc7295bfa0d07775a811177904cfba3..6338a349d2ab65c0cf431eca7b7b23d5db4f0aff 100644 |
--- a/src/code-stub-assembler.cc |
+++ b/src/code-stub-assembler.cc |
@@ -431,8 +431,12 @@ Node* CodeStubAssembler::Allocate(int size_in_bytes, AllocationFlags flags) { |
return CodeStubAssembler::Allocate(IntPtrConstant(size_in_bytes), flags); |
} |
+Node* CodeStubAssembler::InnerAllocate(Node* previous, Node* offset) { |
+ return BitcastWordToTagged(IntPtrAdd(previous, offset)); |
+} |
+ |
Node* CodeStubAssembler::InnerAllocate(Node* previous, int offset) { |
- return BitcastWordToTagged(IntPtrAdd(previous, IntPtrConstant(offset))); |
+ return InnerAllocate(previous, IntPtrConstant(offset)); |
} |
Node* CodeStubAssembler::LoadBufferObject(Node* buffer, int offset, |