Index: src/x64/assembler-x64.cc |
diff --git a/src/x64/assembler-x64.cc b/src/x64/assembler-x64.cc |
index daed68bbabf86ffb2d7119eb4926e12c717f5504..83ff2606ae0ca9aaeaab23ff818f92c5f820a8aa 100644 |
--- a/src/x64/assembler-x64.cc |
+++ b/src/x64/assembler-x64.cc |
@@ -73,7 +73,7 @@ XMMRegister xmm14 = { 14 }; |
XMMRegister xmm15 = { 15 }; |
-Operand::Operand(Register base, int32_t disp) { |
+Operand::Operand(Register base, int32_t disp): rex_(0) { |
len_ = 1; |
if (base.is(rsp) || base.is(r12)) { |
// SIB byte is needed to encode (rsp + offset) or (r12 + offset). |
@@ -95,7 +95,7 @@ Operand::Operand(Register base, int32_t disp) { |
Operand::Operand(Register base, |
Register index, |
ScaleFactor scale, |
- int32_t disp) { |
+ int32_t disp): rex_(0) { |
ASSERT(!index.is(rsp) && !index.is(r12)); |
len_ = 1; |
set_sib(scale, index, base); |