diff options
| author | 2014-10-09 11:47:51 +0100 | |
|---|---|---|
| committer | 2014-10-09 14:42:13 +0100 | |
| commit | 56b9ee6fe1d6880c5fca0e7feb28b25a1ded2e2f (patch) | |
| tree | 34e5163967f59a98e64f2c89489ed7b76334b48a /compiler/utils | |
| parent | a3c4d72210de174552f47b2d117b1946f274af1e (diff) | |
Stop converting from Location to ManagedRegister.
Now the source of truth is the Location object that knows
which register (core, pair, fpu) it needs to refer to.
Change-Id: I62401343d7479ecfb24b5ed161ec7829cda5a0b1
Diffstat (limited to 'compiler/utils')
| -rw-r--r-- | compiler/utils/x86_64/constants_x86_64.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/utils/x86_64/constants_x86_64.h b/compiler/utils/x86_64/constants_x86_64.h index ca9eae31e9..2a5b43da46 100644 --- a/compiler/utils/x86_64/constants_x86_64.h +++ b/compiler/utils/x86_64/constants_x86_64.h @@ -48,6 +48,7 @@ std::ostream& operator<<(std::ostream& os, const CpuRegister& reg); class XmmRegister { public: explicit XmmRegister(FloatRegister r) : reg_(r) {} + explicit XmmRegister(int r) : reg_(FloatRegister(r)) {} FloatRegister AsFloatRegister() const { return reg_; } |