Index: src/arm/assembler-arm.cc |
diff --git a/src/arm/assembler-arm.cc b/src/arm/assembler-arm.cc |
index 1c690a8a6d720169f44c5e20ceafb4a300f80b7d..1a2f5d6e5dd0ecd274b2dd63888121a1175308a0 100644 |
--- a/src/arm/assembler-arm.cc |
+++ b/src/arm/assembler-arm.cc |
@@ -3202,9 +3202,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; |