Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 4929c0d2dfd56a70900d070e8d2b2e87f52120c2..1a7cee57e85303f2b9783c36aa42f9fe69bfba59 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -3614,8 +3614,7 @@ void BytecodeArray::set(int index, byte value) { |
void BytecodeArray::set_frame_size(int frame_size) { |
- // We need at least one stack slot for the return register. |
- DCHECK_GE(frame_size, kPointerSize); |
+ DCHECK_GE(frame_size, 0); |
DCHECK(IsAligned(frame_size, static_cast<unsigned>(kPointerSize))); |
WRITE_INT_FIELD(this, kFrameSizeOffset, frame_size); |
} |