Since v8:13964, flags is uint32, so always use cmp on ARM.
Review URL: https://chromiumcodereview.appspot.com/12693020 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13967 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
295e74275e
commit
ab782e585f
@ -102,12 +102,7 @@ static void ProbeTable(Isolate* isolate,
|
||||
uint32_t mask = Code::kFlagsNotUsedInLookup;
|
||||
ASSERT(__ ImmediateFitsAddrMode1Instruction(mask));
|
||||
__ bic(flags_reg, flags_reg, Operand(mask));
|
||||
// Using cmn and the negative instead of cmp means we can use movw.
|
||||
if (flags < 0) {
|
||||
__ cmn(flags_reg, Operand(-flags));
|
||||
} else {
|
||||
__ cmp(flags_reg, Operand(flags));
|
||||
}
|
||||
__ cmp(flags_reg, Operand(flags));
|
||||
__ b(ne, &miss);
|
||||
|
||||
#ifdef DEBUG
|
||||
|
Loading…
Reference in New Issue
Block a user