Index: src/ia32/macro-assembler-ia32.cc |
diff --git a/src/ia32/macro-assembler-ia32.cc b/src/ia32/macro-assembler-ia32.cc |
index 38259d7651443aedf41b91042855635fda94ad2a..a3c235b79648151cce992737bd1a44296ca0b84e 100644 |
--- a/src/ia32/macro-assembler-ia32.cc |
+++ b/src/ia32/macro-assembler-ia32.cc |
@@ -2183,7 +2183,7 @@ void MacroAssembler::CallApiFunctionAndReturn( |
j(not_equal, &promote_scheduled_exception); |
bind(&exception_handled); |
-#if ENABLE_EXTRA_CHECKS |
+#if DEBUG |
// Check if the function returned a valid JavaScript value. |
Label ok; |
Register return_value = eax; |