Index: src/mips/macro-assembler-mips.cc |
=================================================================== |
--- src/mips/macro-assembler-mips.cc (revision 15346) |
+++ src/mips/macro-assembler-mips.cc (working copy) |
@@ -29,7 +29,7 @@ |
#include "v8.h" |
-#if defined(V8_TARGET_ARCH_MIPS) |
+#if V8_TARGET_ARCH_MIPS |
#include "bootstrapper.h" |
#include "codegen.h" |
@@ -4715,19 +4715,19 @@ |
int MacroAssembler::ActivationFrameAlignment() { |
-#if defined(V8_HOST_ARCH_MIPS) |
+#if V8_HOST_ARCH_MIPS |
// Running on the real platform. Use the alignment as mandated by the local |
// environment. |
// Note: This will break if we ever start generating snapshots on one Mips |
// platform for another Mips platform with a different alignment. |
return OS::ActivationFrameAlignment(); |
-#else // defined(V8_HOST_ARCH_MIPS) |
+#else // V8_HOST_ARCH_MIPS |
// If we are using the simulator then we should always align to the expected |
// alignment. As the simulator is used to generate snapshots we do not know |
// if the target platform will need alignment, so this is controlled from a |
// flag. |
return FLAG_sim_stack_alignment; |
-#endif // defined(V8_HOST_ARCH_MIPS) |
+#endif // V8_HOST_ARCH_MIPS |
} |
@@ -5058,7 +5058,7 @@ |
// The argument stots are presumed to have been set up by |
// PrepareCallCFunction. The C function must be called via t9, for mips ABI. |
-#if defined(V8_HOST_ARCH_MIPS) |
+#if V8_HOST_ARCH_MIPS |
if (emit_debug_code()) { |
int frame_alignment = OS::ActivationFrameAlignment(); |
int frame_alignment_mask = frame_alignment - 1; |