diff options
Diffstat (limited to 'v8/src/ic-arm.cc')
-rw-r--r-- | v8/src/ic-arm.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/v8/src/ic-arm.cc b/v8/src/ic-arm.cc index 4db3980..d407f85 100644 --- a/v8/src/ic-arm.cc +++ b/v8/src/ic-arm.cc @@ -39,7 +39,7 @@ namespace v8 { namespace internal { // Static IC stub generators. // -#define __ masm-> +#define __ DEFINE_MASM(masm) // Helper function used from LoadIC/CallIC GenerateNormal. @@ -96,7 +96,9 @@ static void GenerateDictionaryLoad(MacroAssembler* masm, // Compute the masked index: (hash + i + i * i) & mask. __ ldr(t1, FieldMemOperand(r2, String::kLengthOffset)); __ mov(t1, Operand(t1, LSR, String::kHashShift)); - if (i > 0) __ add(t1, t1, Operand(Dictionary::GetProbeOffset(i))); + if (i > 0) { + __ add(t1, t1, Operand(Dictionary::GetProbeOffset(i))); + } __ and_(t1, t1, Operand(r3)); // Scale the index by multiplying by the element size. |