Index: src/x64/assembler-x64.h |
diff --git a/src/x64/assembler-x64.h b/src/x64/assembler-x64.h |
index 4d341c6728ebeb625d04eccff56ce916fc995794..efc1494dba4a546b9c139cf20b38e7501b2601e3 100644 |
--- a/src/x64/assembler-x64.h |
+++ b/src/x64/assembler-x64.h |
@@ -721,6 +721,7 @@ class Assembler : public Malloced { |
void neg(Register dst); |
void neg(const Operand& dst); |
+ void negl(Register dst); |
void not_(Register dst); |
void not_(const Operand& dst); |
@@ -729,6 +730,10 @@ class Assembler : public Malloced { |
arithmetic_op(0x0B, dst, src); |
} |
+ void orl(Register dst, Register src) { |
+ arithmetic_op_32(0x0B, dst, src); |
+ } |
+ |
void or_(Register dst, const Operand& src) { |
arithmetic_op(0x0B, dst, src); |
} |
@@ -860,6 +865,10 @@ class Assembler : public Malloced { |
arithmetic_op(0x33, dst, src); |
} |
+ void xorl(Register dst, Register src) { |
+ arithmetic_op_32(0x33, dst, src); |
+ } |
+ |
void xor_(Register dst, const Operand& src) { |
arithmetic_op(0x33, dst, src); |
} |
@@ -1049,7 +1058,9 @@ class Assembler : public Malloced { |
// 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_; } |
@@ -1279,7 +1290,7 @@ class Assembler : public Malloced { |
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 |