diff options
| author | 2014-08-13 07:29:08 +0000 | |
|---|---|---|
| committer | 2014-08-12 19:23:43 +0000 | |
| commit | c38752d535eefee3d5cd2399514bf405e9dd3827 (patch) | |
| tree | cac9e48de30c20d39cf939384d4dc3d20013c039 /compiler | |
| parent | 6c6c6f6683cbbb180b8b8c8f55886b067320e1e8 (diff) | |
| parent | 181211de89df5615395a55114fe551b08e86bc4d (diff) | |
Merge "ART: Don't leave rex_ & length_ uninitialized"
Diffstat (limited to 'compiler')
| -rw-r--r-- | compiler/utils/x86_64/assembler_x86_64.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/utils/x86_64/assembler_x86_64.h b/compiler/utils/x86_64/assembler_x86_64.h index ee1157520f..3f9f007f15 100644 --- a/compiler/utils/x86_64/assembler_x86_64.h +++ b/compiler/utils/x86_64/assembler_x86_64.h @@ -146,7 +146,7 @@ class Operand { 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 { |