Index: src/arm/full-codegen-arm.cc |
=================================================================== |
--- src/arm/full-codegen-arm.cc (revision 12237) |
+++ src/arm/full-codegen-arm.cc (working copy) |
@@ -785,7 +785,7 @@ |
// The variable in the declaration always resides in the current function |
// context. |
ASSERT_EQ(0, scope()->ContextChainLength(variable->scope())); |
- if (FLAG_debug_code) { |
+ if (generate_debug_code_) { |
// Check that we're not inside a with or catch context. |
__ ldr(r1, FieldMemOperand(cp, HeapObject::kMapOffset)); |
__ CompareRoot(r1, Heap::kWithContextMapRootIndex); |
@@ -2147,7 +2147,7 @@ |
// in harmony mode. |
if (var->IsStackAllocated() || var->IsContextSlot()) { |
MemOperand location = VarOperand(var, r1); |
- if (FLAG_debug_code && op == Token::INIT_LET) { |
+ if (generate_debug_code_ && op == Token::INIT_LET) { |
// Check for an uninitialized let binding. |
__ ldr(r2, location); |
__ CompareRoot(r2, Heap::kTheHoleValueRootIndex); |
@@ -2711,7 +2711,7 @@ |
context()->PrepareTest(&materialize_true, &materialize_false, |
&if_true, &if_false, &fall_through); |
- if (FLAG_debug_code) __ AbortIfSmi(r0); |
+ if (generate_debug_code_) __ AbortIfSmi(r0); |
__ ldr(r1, FieldMemOperand(r0, HeapObject::kMapOffset)); |
__ ldrb(ip, FieldMemOperand(r1, Map::kBitField2Offset)); |
@@ -3575,7 +3575,7 @@ |
ASSERT(args->length() == 1); |
VisitForAccumulatorValue(args->at(0)); |
- if (FLAG_debug_code) { |
+ if (generate_debug_code_) { |
__ AbortIfNotString(r0); |
} |
@@ -3649,7 +3649,7 @@ |
// string_length: Accumulated sum of string lengths (smi). |
// element: Current array element. |
// elements_end: Array end. |
- if (FLAG_debug_code) { |
+ if (generate_debug_code_) { |
__ cmp(array_length, Operand(0)); |
__ Assert(gt, "No empty arrays here in EmitFastAsciiArrayJoin"); |
} |