Index: src/globals.h |
diff --git a/src/globals.h b/src/globals.h |
index 00ecd63d2a44188b69729a92c47d612eacc13e4e..babffbf659882cab9c928dfe2f62116a9b376894 100644 |
--- a/src/globals.h |
+++ b/src/globals.h |
@@ -136,21 +136,6 @@ namespace internal { |
#endif |
#endif |
-// Define unaligned read for the target architectures supporting it. |
-#if defined(V8_TARGET_ARCH_X64) || defined(V8_TARGET_ARCH_IA32) |
-#define V8_TARGET_CAN_READ_UNALIGNED 1 |
-#elif V8_TARGET_ARCH_ARM |
-// Some CPU-OS combinations allow unaligned access on ARM. We assume |
-// that unaligned accesses are not allowed unless the build system |
-// defines the CAN_USE_UNALIGNED_ACCESSES macro to be non-zero. |
-#if CAN_USE_UNALIGNED_ACCESSES |
-#define V8_TARGET_CAN_READ_UNALIGNED 1 |
-#endif |
-#elif V8_TARGET_ARCH_MIPS |
-#else |
-#error Target architecture is not supported by v8 |
-#endif |
- |
// Support for alternative bool type. This is only enabled if the code is |
// compiled with USE_MYBOOL defined. This catches some nasty type bugs. |
// For instance, 'bool b = "false";' results in b == true! This is a hidden |