Index: src/x87/code-stubs-x87.cc |
diff --git a/src/x87/code-stubs-x87.cc b/src/x87/code-stubs-x87.cc |
index b3f62372f05ae540b7ee1486268ca662ef2496bc..ad663392ab0670839398db87bd4b4412c6890ad3 100644 |
--- a/src/x87/code-stubs-x87.cc |
+++ b/src/x87/code-stubs-x87.cc |
@@ -3517,9 +3517,9 @@ void NameDictionaryLookupStub::Generate(MacroAssembler* masm) { |
Label in_dictionary, maybe_in_dictionary, not_in_dictionary; |
- Register scratch = result_; |
+ Register scratch = result(); |
- __ mov(scratch, FieldOperand(dictionary_, kCapacityOffset)); |
+ __ mov(scratch, FieldOperand(dictionary(), kCapacityOffset)); |
__ dec(scratch); |
__ SmiUntag(scratch); |
__ push(scratch); |
@@ -3539,13 +3539,11 @@ void NameDictionaryLookupStub::Generate(MacroAssembler* masm) { |
// Scale the index by multiplying by the entry size. |
DCHECK(NameDictionary::kEntrySize == 3); |
- __ lea(index_, Operand(scratch, scratch, times_2, 0)); // index *= 3. |
+ __ lea(index(), Operand(scratch, scratch, times_2, 0)); // index *= 3. |
// Having undefined at this place means the name is not contained. |
DCHECK_EQ(kSmiTagSize, 1); |
- __ mov(scratch, Operand(dictionary_, |
- index_, |
- times_pointer_size, |
+ __ mov(scratch, Operand(dictionary(), index(), times_pointer_size, |
kElementsStartOffset - kHeapObjectTag)); |
__ cmp(scratch, isolate()->factory()->undefined_value()); |
__ j(equal, ¬_in_dictionary); |
@@ -3554,7 +3552,7 @@ void NameDictionaryLookupStub::Generate(MacroAssembler* masm) { |
__ cmp(scratch, Operand(esp, 3 * kPointerSize)); |
__ j(equal, &in_dictionary); |
- if (i != kTotalProbes - 1 && mode_ == NEGATIVE_LOOKUP) { |
+ if (i != kTotalProbes - 1 && mode() == NEGATIVE_LOOKUP) { |
// If we hit a key that is not a unique name during negative |
// lookup we have to bailout as this key might be equal to the |
// key we are looking for. |
@@ -3570,19 +3568,19 @@ void NameDictionaryLookupStub::Generate(MacroAssembler* masm) { |
// If we are doing negative lookup then probing failure should be |
// treated as a lookup success. For positive lookup probing failure |
// should be treated as lookup failure. |
- if (mode_ == POSITIVE_LOOKUP) { |
- __ mov(result_, Immediate(0)); |
+ if (mode() == POSITIVE_LOOKUP) { |
+ __ mov(result(), Immediate(0)); |
__ Drop(1); |
__ ret(2 * kPointerSize); |
} |
__ bind(&in_dictionary); |
- __ mov(result_, Immediate(1)); |
+ __ mov(result(), Immediate(1)); |
__ Drop(1); |
__ ret(2 * kPointerSize); |
__ bind(¬_in_dictionary); |
- __ mov(result_, Immediate(0)); |
+ __ mov(result(), Immediate(0)); |
__ Drop(1); |
__ ret(2 * kPointerSize); |
} |
@@ -3610,10 +3608,8 @@ void RecordWriteStub::Generate(MacroAssembler* masm) { |
__ jmp(&skip_to_incremental_noncompacting, Label::kNear); |
__ jmp(&skip_to_incremental_compacting, Label::kFar); |
- if (remembered_set_action_ == EMIT_REMEMBERED_SET) { |
- __ RememberedSetHelper(object_, |
- address_, |
- value_, |
+ if (remembered_set_action() == EMIT_REMEMBERED_SET) { |
+ __ RememberedSetHelper(object(), address(), value(), |
MacroAssembler::kReturnAtEnd); |
} else { |
__ ret(0); |
@@ -3635,7 +3631,7 @@ void RecordWriteStub::Generate(MacroAssembler* masm) { |
void RecordWriteStub::GenerateIncremental(MacroAssembler* masm, Mode mode) { |
regs_.Save(masm); |
- if (remembered_set_action_ == EMIT_REMEMBERED_SET) { |
+ if (remembered_set_action() == EMIT_REMEMBERED_SET) { |
Label dont_need_remembered_set; |
__ mov(regs_.scratch0(), Operand(regs_.address(), 0)); |
@@ -3657,9 +3653,7 @@ void RecordWriteStub::GenerateIncremental(MacroAssembler* masm, Mode mode) { |
mode); |
InformIncrementalMarker(masm); |
regs_.Restore(masm); |
- __ RememberedSetHelper(object_, |
- address_, |
- value_, |
+ __ RememberedSetHelper(object(), address(), value(), |
MacroAssembler::kReturnAtEnd); |
__ bind(&dont_need_remembered_set); |
@@ -3720,9 +3714,7 @@ void RecordWriteStub::CheckNeedsToInformIncrementalMarker( |
regs_.Restore(masm); |
if (on_no_need == kUpdateRememberedSetOnNoNeedToInformIncrementalMarker) { |
- __ RememberedSetHelper(object_, |
- address_, |
- value_, |
+ __ RememberedSetHelper(object(), address(), value(), |
MacroAssembler::kReturnAtEnd); |
} else { |
__ ret(0); |
@@ -3767,9 +3759,7 @@ void RecordWriteStub::CheckNeedsToInformIncrementalMarker( |
regs_.Restore(masm); |
if (on_no_need == kUpdateRememberedSetOnNoNeedToInformIncrementalMarker) { |
- __ RememberedSetHelper(object_, |
- address_, |
- value_, |
+ __ RememberedSetHelper(object(), address(), value(), |
MacroAssembler::kReturnAtEnd); |
} else { |
__ ret(0); |