Index: src/arm64/macro-assembler-arm64.h |
diff --git a/src/arm64/macro-assembler-arm64.h b/src/arm64/macro-assembler-arm64.h |
index 03adae7e510a149c9ca8f3be847bad029aaa2ab6..5c5830694ae20c91c522f86f7c5e9fed643fc806 100644 |
--- a/src/arm64/macro-assembler-arm64.h |
+++ b/src/arm64/macro-assembler-arm64.h |
@@ -21,12 +21,15 @@ |
#define ASM_UNIMPLEMENTED_BREAK(message) \ |
__ Debug(message, __LINE__, \ |
FLAG_ignore_asm_unimplemented_break ? NO_PARAM : BREAK) |
- #define ASM_LOCATION(message) \ |
- __ Debug("LOCATION: " message, __LINE__, NO_PARAM) |
+#if DEBUG |
+#define ASM_LOCATION(message) __ Debug("LOCATION: " message, __LINE__, NO_PARAM) |
+#else |
+#define ASM_LOCATION(message) |
+#endif |
#else |
- #define ASM_UNIMPLEMENTED(message) |
- #define ASM_UNIMPLEMENTED_BREAK(message) |
- #define ASM_LOCATION(message) |
+#define ASM_UNIMPLEMENTED(message) |
+#define ASM_UNIMPLEMENTED_BREAK(message) |
+#define ASM_LOCATION(message) |
#endif |