Index: src/full-codegen/ia32/full-codegen-ia32.cc |
diff --git a/src/full-codegen/ia32/full-codegen-ia32.cc b/src/full-codegen/ia32/full-codegen-ia32.cc |
index 387493204a6c585625467201a70703c495be7bdf..8d0dd8441af86568d8a09528f3436d269bfb4996 100644 |
--- a/src/full-codegen/ia32/full-codegen-ia32.cc |
+++ b/src/full-codegen/ia32/full-codegen-ia32.cc |
@@ -716,7 +716,7 @@ void FullCodeGenerator::PrepareForBailoutBeforeSplit(Expression* expr, |
void FullCodeGenerator::EmitDebugCheckDeclarationContext(Variable* variable) { |
// The variable in the declaration always resides in the current context. |
DCHECK_EQ(0, scope()->ContextChainLength(variable->scope())); |
- if (generate_debug_code_) { |
+ if (FLAG_debug_code) { |
// Check that we're not inside a with or catch context. |
__ mov(ebx, FieldOperand(esi, HeapObject::kMapOffset)); |
__ cmp(ebx, isolate()->factory()->with_context_map()); |
@@ -2354,7 +2354,7 @@ void FullCodeGenerator::EmitVariableAssignment(Variable* var, Token::Value op, |
// mode. |
DCHECK(var->IsStackAllocated() || var->IsContextSlot()); |
MemOperand location = VarOperand(var, ecx); |
- if (generate_debug_code_ && var->mode() == LET && op == Token::INIT) { |
+ if (FLAG_debug_code && var->mode() == LET && op == Token::INIT) { |
// Check for an uninitialized let binding. |
__ mov(edx, location); |
__ cmp(edx, isolate()->factory()->the_hole_value()); |