Chromium Code Reviews| Index: runtime/vm/assembler_x64.cc |
| =================================================================== |
| --- runtime/vm/assembler_x64.cc (revision 35632) |
| +++ runtime/vm/assembler_x64.cc (working copy) |
| @@ -2567,6 +2567,12 @@ |
| } |
| +void Assembler::LoadDoubleConstant(XmmRegister dst, double value, Register pp) { |
| + const int32_t offset = FindImmediate(*reinterpret_cast<int64_t*>(&value)); |
|
zra
2014/05/01 20:41:19
See checks in CanLoadImmediateFromPool and the fix
srdjan
2014/05/01 21:14:13
Yes, removed, on ARM do it as previous without usi
|
| + movsd(dst, Address::AddressBaseImm32(pp, offset)); |
| +} |
| + |
| + |
| intptr_t Assembler::FindImmediate(int64_t imm) { |
| ASSERT(Isolate::Current() != Dart::vm_isolate()); |
| ASSERT(!object_pool_.IsNull()); |