Index: src/arm/macro-assembler-arm.cc |
diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc |
index 25bb678cd50b5061af6e72300ed066df4fc76e6a..1974f6a2489d996a9493558c4af766aa51bfcd77 100644 |
--- a/src/arm/macro-assembler-arm.cc |
+++ b/src/arm/macro-assembler-arm.cc |
@@ -77,9 +77,7 @@ int MacroAssembler::CallSize( |
int size = 2 * kInstrSize; |
Instr mov_instr = cond | MOV | LeaveCC; |
intptr_t immediate = reinterpret_cast<intptr_t>(target); |
- if (!Operand(immediate, rmode).is_single_instruction(isolate(), |
- this, |
- mov_instr)) { |
+ if (!Operand(immediate, rmode).is_single_instruction(this, mov_instr)) { |
size += kInstrSize; |
} |
return size; |
@@ -99,9 +97,7 @@ int MacroAssembler::CallSizeNotPredictableCodeSize(Isolate* isolate, |
int size = 2 * kInstrSize; |
Instr mov_instr = cond | MOV | LeaveCC; |
intptr_t immediate = reinterpret_cast<intptr_t>(target); |
- if (!Operand(immediate, rmode).is_single_instruction(isolate, |
- NULL, |
- mov_instr)) { |
+ if (!Operand(immediate, rmode).is_single_instruction(NULL, mov_instr)) { |
size += kInstrSize; |
} |
return size; |
@@ -261,11 +257,11 @@ void MacroAssembler::Move(DwVfpRegister dst, DwVfpRegister src) { |
void MacroAssembler::And(Register dst, Register src1, const Operand& src2, |
Condition cond) { |
if (!src2.is_reg() && |
- !src2.must_output_reloc_info(isolate(), this) && |
+ !src2.must_output_reloc_info(this) && |
src2.immediate() == 0) { |
mov(dst, Operand::Zero(), LeaveCC, cond); |
- } else if (!src2.is_single_instruction(isolate(), this) && |
- !src2.must_output_reloc_info(isolate(), this) && |
+ } else if (!src2.is_single_instruction(this) && |
+ !src2.must_output_reloc_info(this) && |
CpuFeatures::IsSupported(ARMv7) && |
IsPowerOf2(src2.immediate() + 1)) { |
ubfx(dst, src1, 0, |
@@ -640,7 +636,7 @@ void MacroAssembler::PopSafepointRegisters() { |
void MacroAssembler::PushSafepointRegistersAndDoubles() { |
// Number of d-regs not known at snapshot time. |
- ASSERT(!Serializer::enabled(isolate())); |
+ ASSERT(!serializer_enabled()); |
PushSafepointRegisters(); |
// Only save allocatable registers. |
ASSERT(kScratchDoubleReg.is(d15) && kDoubleRegZero.is(d14)); |
@@ -654,7 +650,7 @@ void MacroAssembler::PushSafepointRegistersAndDoubles() { |
void MacroAssembler::PopSafepointRegistersAndDoubles() { |
// Number of d-regs not known at snapshot time. |
- ASSERT(!Serializer::enabled(isolate())); |
+ ASSERT(!serializer_enabled()); |
// Only save allocatable registers. |
ASSERT(kScratchDoubleReg.is(d15) && kDoubleRegZero.is(d14)); |
ASSERT(DwVfpRegister::NumReservedRegisters() == 2); |
@@ -696,7 +692,7 @@ MemOperand MacroAssembler::SafepointRegisterSlot(Register reg) { |
MemOperand MacroAssembler::SafepointRegistersAndDoublesSlot(Register reg) { |
// Number of d-regs not known at snapshot time. |
- ASSERT(!Serializer::enabled(isolate())); |
+ ASSERT(!serializer_enabled()); |
// General purpose registers are pushed last on the stack. |
int doubles_size = DwVfpRegister::NumAllocatableRegisters() * kDoubleSize; |
int register_offset = SafepointRegisterStackIndex(reg.code()) * kPointerSize; |
@@ -1755,7 +1751,7 @@ void MacroAssembler::Allocate(int object_size, |
object_size -= bits; |
shift += 8; |
Operand bits_operand(bits); |
- ASSERT(bits_operand.is_single_instruction(isolate(), this)); |
+ ASSERT(bits_operand.is_single_instruction(this)); |
add(scratch2, source, bits_operand, SetCC, cond); |
source = scratch2; |
cond = cc; |