Merge "ART: Don't leave rex_ & length_ uninitialized"
diff --git a/compiler/utils/x86_64/assembler_x86_64.h b/compiler/utils/x86_64/assembler_x86_64.h
index ee11575..3f9f007 100644
--- a/compiler/utils/x86_64/assembler_x86_64.h
+++ b/compiler/utils/x86_64/assembler_x86_64.h
@@ -146,7 +146,7 @@
uint8_t length_;
uint8_t encoding_[6];
- explicit Operand(CpuRegister reg) { SetModRM(3, reg); }
+ explicit Operand(CpuRegister reg) : rex_(0), length_(0) { SetModRM(3, reg); }
// Get the operand encoding byte at the given index.
uint8_t encoding_at(int index) const {