Index: src/x64/macro-assembler-x64.cc |
diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc |
index 5b897de545878f952b579e8b205b0fefb2062de0..b6378bf7d56311ba8716d5d8b8f19fd558a366fc 100644 |
--- a/src/x64/macro-assembler-x64.cc |
+++ b/src/x64/macro-assembler-x64.cc |
@@ -799,7 +799,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 = rax; |