Index: src/ia32/assembler-ia32.cc |
diff --git a/src/ia32/assembler-ia32.cc b/src/ia32/assembler-ia32.cc |
index 43f49d8e9ccee666ad3680987c8bd8d9bb048a2d..d8cd59cf50433b59fc97a43eef6d26b823ff8c79 100644 |
--- a/src/ia32/assembler-ia32.cc |
+++ b/src/ia32/assembler-ia32.cc |
@@ -2497,11 +2497,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) || |