Index: src/arm64/assembler-arm64.cc |
diff --git a/src/arm64/assembler-arm64.cc b/src/arm64/assembler-arm64.cc |
index a51b22ad9a5789875922002a54bdb28897e9934a..dc2d587f177d1ba3f7653b09ab2aac0448ed8d25 100644 |
--- a/src/arm64/assembler-arm64.cc |
+++ b/src/arm64/assembler-arm64.cc |
@@ -2771,9 +2771,7 @@ void Assembler::GrowBuffer() { |
// Compute new buffer size. |
CodeDesc desc; // the new buffer |
- if (buffer_size_ == 0) { |
- desc.buffer_size = kMinimalBufferSize; |
- } else if (buffer_size_ < 1 * MB) { |
+ if (buffer_size_ < 1 * MB) { |
desc.buffer_size = 2 * buffer_size_; |
} else { |
desc.buffer_size = buffer_size_ + 1 * MB; |