Index: src/arm/stub-cache-arm.cc |
diff --git a/src/arm/stub-cache-arm.cc b/src/arm/stub-cache-arm.cc |
index d3b58624c8b24058eda3cdec1742bc7ccc36c739..efef5df9569d1b112719614cd53e5b55bc1df0cd 100644 |
--- a/src/arm/stub-cache-arm.cc |
+++ b/src/arm/stub-cache-arm.cc |
@@ -730,7 +730,7 @@ static void GenerateFastApiDirectCall(MacroAssembler* masm, |
__ mov(ip, Operand(argc)); |
__ str(ip, MemOperand(r0, 2 * kPointerSize)); |
// v8::Arguments::is_construct_call = 0 |
- __ mov(ip, Operand(0)); |
+ __ mov(ip, Operand::Zero()); |
__ str(ip, MemOperand(r0, 3 * kPointerSize)); |
const int kStackUnwindSpace = argc + kFastApiCallArguments + 1; |
@@ -1003,7 +1003,7 @@ static void StoreIntAsFloat(MacroAssembler* masm, |
__ and_(fval, ival, Operand(kBinary32SignMask), SetCC); |
// Negate value if it is negative. |
- __ rsb(ival, ival, Operand(0, RelocInfo::NONE), LeaveCC, ne); |
+ __ rsb(ival, ival, Operand::Zero(), LeaveCC, ne); |
// We have -1, 0 or 1, which we treat specially. Register ival contains |
// absolute value: it is either equal to 1 (special case of -1 and 1), |
@@ -1072,7 +1072,7 @@ static void GenerateUInt2Double(MacroAssembler* masm, |
__ mov(loword, Operand(hiword, LSL, mantissa_shift_for_lo_word)); |
__ orr(hiword, scratch, Operand(hiword, LSR, mantissa_shift_for_hi_word)); |
} else { |
- __ mov(loword, Operand(0, RelocInfo::NONE)); |
+ __ mov(loword, Operand::Zero()); |
__ orr(hiword, scratch, Operand(hiword, LSL, mantissa_shift_for_hi_word)); |
} |
@@ -2235,7 +2235,7 @@ Handle<Code> CallStubCompiler::CompileMathFloorCall( |
__ mov(r0, Operand(r0, LSL, kSmiTagSize)); |
// Check for -0. |
- __ cmp(r0, Operand(0, RelocInfo::NONE)); |
+ __ cmp(r0, Operand::Zero()); |
__ b(&restore_fpscr_and_return, ne); |
// r5 already holds the HeapNumber exponent. |
__ tst(r5, Operand(HeapNumber::kSignMask)); |
@@ -4258,18 +4258,18 @@ void KeyedStoreStubCompiler::GenerateStoreExternalArray( |
// and infinities. All these should be converted to 0. |
__ mov(r7, Operand(HeapNumber::kExponentMask)); |
__ and_(r9, r5, Operand(r7), SetCC); |
- __ mov(r5, Operand(0, RelocInfo::NONE), LeaveCC, eq); |
+ __ mov(r5, Operand::Zero(), LeaveCC, eq); |
__ b(eq, &done); |
__ teq(r9, Operand(r7)); |
- __ mov(r5, Operand(0, RelocInfo::NONE), LeaveCC, eq); |
+ __ mov(r5, Operand::Zero(), LeaveCC, eq); |
__ b(eq, &done); |
// Unbias exponent. |
__ mov(r9, Operand(r9, LSR, HeapNumber::kExponentShift)); |
__ sub(r9, r9, Operand(HeapNumber::kExponentBias), SetCC); |
// If exponent is negative then result is 0. |
- __ mov(r5, Operand(0, RelocInfo::NONE), LeaveCC, mi); |
+ __ mov(r5, Operand::Zero(), LeaveCC, mi); |
__ b(mi, &done); |
// If exponent is too big then result is minimal value. |
@@ -4285,14 +4285,14 @@ void KeyedStoreStubCompiler::GenerateStoreExternalArray( |
__ mov(r5, Operand(r5, LSR, r9), LeaveCC, pl); |
__ b(pl, &sign); |
- __ rsb(r9, r9, Operand(0, RelocInfo::NONE)); |
+ __ rsb(r9, r9, Operand::Zero()); |
__ mov(r5, Operand(r5, LSL, r9)); |
__ rsb(r9, r9, Operand(meaningfull_bits)); |
__ orr(r5, r5, Operand(r6, LSR, r9)); |
__ bind(&sign); |
- __ teq(r7, Operand(0, RelocInfo::NONE)); |
- __ rsb(r5, r5, Operand(0, RelocInfo::NONE), LeaveCC, ne); |
+ __ teq(r7, Operand::Zero()); |
+ __ rsb(r5, r5, Operand::Zero(), LeaveCC, ne); |
__ bind(&done); |
switch (elements_kind) { |