diff options
| author | 2014-05-27 15:52:21 -0400 | |
|---|---|---|
| committer | 2014-05-27 15:52:21 -0400 | |
| commit | 0c52451e9be14a6bff9ffefce89ff1d60691af60 (patch) | |
| tree | 2eb5930866d63801fc0cff4da92505f670b3b549 /compiler/dex/quick | |
| parent | ab5b370e44629332e73ffd66bfe8b8a924236c5c (diff) | |
Set the type of a RegStorage correctly
This will be used as a FP value, so call the right function to create
the RegStorage.
Change-Id: I2bd832746afac509d20f195a7770f2fbd215cbd7
Signed-off-by: Mark Mendell <mark.p.mendell@intel.com>
Diffstat (limited to 'compiler/dex/quick')
| -rw-r--r-- | compiler/dex/quick/x86/utility_x86.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/dex/quick/x86/utility_x86.cc b/compiler/dex/quick/x86/utility_x86.cc index fed31c1f59..e6759ed177 100644 --- a/compiler/dex/quick/x86/utility_x86.cc +++ b/compiler/dex/quick/x86/utility_x86.cc @@ -559,7 +559,7 @@ LIR* X86Mir2Lir::LoadConstantWide(RegStorage r_dest, int64_t value) { // We don't know the proper offset for the value, so pick one that will force // 4 byte offset. We will fix this up in the assembler later to have the right // value. - res = LoadBaseDisp(rl_method.reg, 256 /* bogus */, RegStorage::Solo64(low_reg_val), + res = LoadBaseDisp(rl_method.reg, 256 /* bogus */, RegStorage::FloatSolo64(low_reg_val), kDouble); res->target = data_target; res->flags.fixup = kFixupLoad; |