X87: Initial switch to Chromium-style CHECK_* and DCHECK_* macros
port 0deaa4b629
(r26340)
(code change in full-codegen-x87.cc is covered by r26340 ).
original commit message:
Initial switch to Chromium-style CHECK_* and DCHECK_* macros.
BUG=
Review URL: https://codereview.chromium.org/903353002
Cr-Commit-Position: refs/heads/master@{#26504}
This commit is contained in:
parent
db379e19c8
commit
30e02390f1
@ -1381,7 +1381,7 @@ void CompareICStub::GenerateGeneric(MacroAssembler* masm) {
|
||||
// If either is a Smi (we know that not both are), then they can only
|
||||
// be equal if the other is a HeapNumber. If so, use the slow case.
|
||||
STATIC_ASSERT(kSmiTag == 0);
|
||||
DCHECK_EQ(0, Smi::FromInt(0));
|
||||
DCHECK_EQ(static_cast<Smi*>(0), Smi::FromInt(0));
|
||||
__ mov(ecx, Immediate(kSmiTagMask));
|
||||
__ and_(ecx, eax);
|
||||
__ test(ecx, edx);
|
||||
|
@ -4815,7 +4815,7 @@ void LCodeGen::DoTransitionElementsKind(LTransitionElementsKind* instr) {
|
||||
__ mov(FieldOperand(object_reg, HeapObject::kMapOffset),
|
||||
Immediate(to_map));
|
||||
// Write barrier.
|
||||
DCHECK_NE(instr->temp(), NULL);
|
||||
DCHECK_NOT_NULL(instr->temp());
|
||||
__ RecordWriteForMap(object_reg, to_map, new_map_reg,
|
||||
ToRegister(instr->temp()), kDontSaveFPRegs);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user