Index: src/x87/macro-assembler-x87.cc |
diff --git a/src/x87/macro-assembler-x87.cc b/src/x87/macro-assembler-x87.cc |
index 008b2af63d93394a5ad4790e364ee757f8282a7f..96a05908a4cdde9eafcb2ed4a9f85cb6d964e7a8 100644 |
--- a/src/x87/macro-assembler-x87.cc |
+++ b/src/x87/macro-assembler-x87.cc |
@@ -2147,7 +2147,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; |