Commit ab782e58 authored by verwaest@chromium.org's avatar verwaest@chromium.org

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
parent 295e7427
...@@ -102,12 +102,7 @@ static void ProbeTable(Isolate* isolate, ...@@ -102,12 +102,7 @@ static void ProbeTable(Isolate* isolate,
uint32_t mask = Code::kFlagsNotUsedInLookup; uint32_t mask = Code::kFlagsNotUsedInLookup;
ASSERT(__ ImmediateFitsAddrMode1Instruction(mask)); ASSERT(__ ImmediateFitsAddrMode1Instruction(mask));
__ bic(flags_reg, flags_reg, Operand(mask)); __ bic(flags_reg, flags_reg, Operand(mask));
// Using cmn and the negative instead of cmp means we can use movw. __ cmp(flags_reg, Operand(flags));
if (flags < 0) {
__ cmn(flags_reg, Operand(-flags));
} else {
__ cmp(flags_reg, Operand(flags));
}
__ b(ne, &miss); __ b(ne, &miss);
#ifdef DEBUG #ifdef DEBUG
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment