| Index: src/x64/assembler-x64.cc
|
| diff --git a/src/x64/assembler-x64.cc b/src/x64/assembler-x64.cc
|
| index 6304324da0d6ee5c93e98781eb40728a06301133..588bb60ddce9d2e458fce40ffa1836d3c65d3c9d 100644
|
| --- a/src/x64/assembler-x64.cc
|
| +++ b/src/x64/assembler-x64.cc
|
| @@ -362,7 +362,7 @@ void Assembler::bind(Label* L) {
|
|
|
|
|
| void Assembler::GrowBuffer() {
|
| - ASSERT(overflow()); // should not call this otherwise
|
| + ASSERT(buffer_overflow()); // should not call this otherwise
|
| if (!own_buffer_) FATAL("external code buffer is too small");
|
|
|
| // compute new buffer size
|
| @@ -424,7 +424,7 @@ void Assembler::GrowBuffer() {
|
| }
|
| }
|
|
|
| - ASSERT(!overflow());
|
| + ASSERT(!buffer_overflow());
|
| }
|
|
|
|
|
| @@ -1406,6 +1406,15 @@ void Assembler::neg(Register dst) {
|
| }
|
|
|
|
|
| +void Assembler::negl(Register dst) {
|
| + EnsureSpace ensure_space(this);
|
| + last_pc_ = pc_;
|
| + emit_optional_rex_32(dst);
|
| + emit(0xF7);
|
| + emit_modrm(0x3, dst);
|
| +}
|
| +
|
| +
|
| void Assembler::neg(const Operand& dst) {
|
| EnsureSpace ensure_space(this);
|
| last_pc_ = pc_;
|
|
|