Index: src/ia32/assembler-ia32.h |
diff --git a/src/ia32/assembler-ia32.h b/src/ia32/assembler-ia32.h |
index 7edd3076df69003f01375120619f83e90b26db24..4b6c9fd4bb02e4897f4d2099fc172edfb869900b 100644 |
--- a/src/ia32/assembler-ia32.h |
+++ b/src/ia32/assembler-ia32.h |
@@ -1170,7 +1170,9 @@ class Assembler : public AssemblerBase { |
// Check if there is less than kGap bytes available in the buffer. |
// If this is the case, we need to grow the buffer before emitting |
// an instruction or relocation information. |
- inline bool overflow() const { return pc_ >= reloc_info_writer.pos() - kGap; } |
+ inline bool buffer_overflow() const { |
+ return pc_ >= reloc_info_writer.pos() - kGap; |
+ } |
// Get the number of bytes available in the buffer. |
inline int available_space() const { return reloc_info_writer.pos() - pc_; } |
@@ -1266,7 +1268,7 @@ class Assembler : public AssemblerBase { |
class EnsureSpace BASE_EMBEDDED { |
public: |
explicit EnsureSpace(Assembler* assembler) : assembler_(assembler) { |
- if (assembler_->overflow()) assembler_->GrowBuffer(); |
+ if (assembler_->buffer_overflow()) assembler_->GrowBuffer(); |
#ifdef DEBUG |
space_before_ = assembler_->available_space(); |
#endif |