Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index 6c8e377d637616d99283fdd027bebd93dd69e1a3..fca1e2ae13c5bbe549a39bba01eec4ef7b198aec 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -157,7 +157,7 @@ bool LCodeGen::GeneratePrologue() { |
#endif |
__ push(rax); |
__ Set(rax, slots); |
- __ movq(kScratchRegister, kSlotsZapValue, RelocInfo::NONE64); |
+ __ movq(kScratchRegister, kSlotsZapValue); |
Label loop; |
__ bind(&loop); |
__ movq(MemOperand(rsp, rax, times_pointer_size, 0), |
@@ -1123,7 +1123,7 @@ void LCodeGen::DoMathFloorOfDiv(LMathFloorOfDiv* instr) { |
__ neg(reg1); |
DeoptimizeIf(zero, instr->environment()); |
} |
- __ movq(reg2, multiplier, RelocInfo::NONE64); |
+ __ Set(reg2, multiplier); |
// Result just fit in r64, because it's int32 * uint32. |
__ imul(reg2, reg1); |
@@ -3453,7 +3453,7 @@ void LCodeGen::DoMathRound(LMathRound* instr) { |
static int64_t minus_one_half = V8_INT64_C(0xBFE0000000000000); // -0.5 |
Label done, round_to_zero, below_one_half, do_not_compensate, restore; |
- __ movq(kScratchRegister, one_half, RelocInfo::NONE64); |
+ __ movq(kScratchRegister, one_half); |
__ movq(xmm_scratch, kScratchRegister); |
__ ucomisd(xmm_scratch, input_reg); |
__ j(above, &below_one_half); |
@@ -3468,7 +3468,7 @@ void LCodeGen::DoMathRound(LMathRound* instr) { |
__ jmp(&done); |
__ bind(&below_one_half); |
- __ movq(kScratchRegister, minus_one_half, RelocInfo::NONE64); |
+ __ movq(kScratchRegister, minus_one_half); |
__ movq(xmm_scratch, kScratchRegister); |
__ ucomisd(xmm_scratch, input_reg); |
__ j(below_equal, &round_to_zero); |
@@ -3524,7 +3524,7 @@ void LCodeGen::DoMathPowHalf(LMathPowHalf* instr) { |
Label done, sqrt; |
// Check base for -Infinity. According to IEEE-754, double-precision |
// -Infinity has the highest 12 bits set and the lowest 52 bits cleared. |
- __ movq(kScratchRegister, V8_INT64_C(0xFFF0000000000000), RelocInfo::NONE64); |
+ __ movq(kScratchRegister, V8_INT64_C(0xFFF0000000000000)); |
__ movq(xmm_scratch, kScratchRegister); |
__ ucomisd(xmm_scratch, input_reg); |
// Comparing -Infinity with NaN results in "unordered", which sets the |
@@ -3632,8 +3632,7 @@ void LCodeGen::DoRandom(LRandom* instr) { |
// ( 1.(20 0s)(32 random bits) x 2^20 ) - (1.0 x 2^20)). |
XMMRegister result = ToDoubleRegister(instr->result()); |
XMMRegister scratch4 = double_scratch0(); |
- __ movq(scratch3, V8_INT64_C(0x4130000000000000), |
- RelocInfo::NONE64); // 1.0 x 2^20 as double |
+ __ movq(scratch3, V8_INT64_C(0x4130000000000000)); // 1.0 x 2^20 as double |
__ movq(scratch4, scratch3); |
__ movd(result, random); |
__ xorps(result, scratch4); |