Index: src/arm/simulator-arm.cc |
diff --git a/src/arm/simulator-arm.cc b/src/arm/simulator-arm.cc |
index a29d461ebf55acf87c008b56e2c2fa9b6a5712a1..b07e7be298e9da0a98013b3fcdf6c0d8e78825fa 100644 |
--- a/src/arm/simulator-arm.cc |
+++ b/src/arm/simulator-arm.cc |
@@ -30,7 +30,7 @@ |
#include <cstdarg> |
#include "v8.h" |
-#if defined(V8_TARGET_ARCH_ARM) |
+#if V8_TARGET_ARCH_ARM |
#include "disasm.h" |
#include "assembler.h" |
@@ -1026,6 +1026,7 @@ void Simulator::TrashCallerSaveRegisters() { |
registers_[12] = 0x50Bad4U; |
} |
+ |
// Some Operating Systems allow unaligned access on ARMv7 targets. We |
// assume that unaligned accesses are not allowed unless the v8 build system |
// defines the CAN_USE_UNALIGNED_ACCESSES macro to be non-zero. |
@@ -1525,6 +1526,7 @@ void Simulator::ProcessPUW(Instruction* instr, |
} |
} |
+ |
// Addressing Mode 4 - Load and Store Multiple |
void Simulator::HandleRList(Instruction* instr, bool load) { |
int rlist = instr->RlistValue(); |
@@ -1954,6 +1956,7 @@ double Simulator::canonicalizeNaN(double value) { |
FixedDoubleArray::canonical_not_the_hole_nan_as_double() : value; |
} |
+ |
// Stop helper functions. |
bool Simulator::isStopInstruction(Instruction* instr) { |
return (instr->Bits(27, 24) == 0xF) && (instr->SvcValue() >= kStopCode); |