Index: src/x64/assembler-x64.cc |
diff --git a/src/x64/assembler-x64.cc b/src/x64/assembler-x64.cc |
index f8f323fc8229ee37fe720d4b57ed09893289f03b..d13c21f4b7c17a2c044d7eee052df85c95797a4a 100644 |
--- a/src/x64/assembler-x64.cc |
+++ b/src/x64/assembler-x64.cc |
@@ -331,11 +331,8 @@ void Assembler::GrowBuffer() { |
// Compute new buffer size. |
CodeDesc desc; // the new buffer |
- if (buffer_size_ == 0) { |
- desc.buffer_size = kMinimalBufferSize; |
- } else { |
- desc.buffer_size = 2*buffer_size_; |
- } |
+ desc.buffer_size = 2 * buffer_size_; |
+ |
// Some internal data structures overflow for very large buffers, |
// they must ensure that kMaximalBufferSize is not too large. |
if ((desc.buffer_size > kMaximalBufferSize) || |