Index: src/x64/assembler-x64-inl.h |
diff --git a/src/x64/assembler-x64-inl.h b/src/x64/assembler-x64-inl.h |
index 6427649ef168696443b38ea7333c63053df4f6f1..397b02341c25d03adc181385ebc18c5fcf09d0fe 100644 |
--- a/src/x64/assembler-x64-inl.h |
+++ b/src/x64/assembler-x64-inl.h |
@@ -251,7 +251,7 @@ Object** RelocInfo::call_object_address() { |
void Operand::set_modrm(int mod, Register rm) { |
ASSERT((mod & -4) == 0); |
- buf_[0] = mod << 6 | (rm.code() & 0x7); |
+ buf_[0] = (mod << 6) | (rm.code() & 0x7); |
// Set REX.B to the high bit of rm.code(). |
rex_ |= (rm.code() >> 3); |
} |