Bug 1013996 - irregexp: Avoid unaligned accesses in ARM code. r=bhackett, a=sledru
authorDouglas Crosher <dtc-moz@scieneer.com>
Sun, 17 Aug 2014 14:45:31 +1000
changeset 225042 ada911a092896ebd5ab660969b2de01e9d762c84
parent 225041 205e1704dcb6274ae8deb0b78265153ec20cfd43
child 225043 998eda5c597dabcea4e537b82d5e77b0b83a2e67
push id3979
push userraliiev@mozilla.com
push dateMon, 13 Oct 2014 16:35:44 +0000
treeherdermozilla-beta@30f2cc610691 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbhackett, sledru
bugs1013996
milestone34.0a2
Bug 1013996 - irregexp: Avoid unaligned accesses in ARM code. r=bhackett, a=sledru
js/src/irregexp/NativeRegExpMacroAssembler.cpp
--- a/js/src/irregexp/NativeRegExpMacroAssembler.cpp
+++ b/js/src/irregexp/NativeRegExpMacroAssembler.cpp
@@ -1315,17 +1315,17 @@ NativeRegExpMacroAssembler::CheckSpecial
       default:
         return false;
     }
 }
 
 bool
 NativeRegExpMacroAssembler::CanReadUnaligned()
 {
-#if defined(JS_CODEGEN_MIPS)
+#if defined(JS_CODEGEN_ARM) || defined(JS_CODEGEN_MIPS)
     return false;
 #else
     return true;
 #endif
 }
 
 const uint8_t
 NativeRegExpMacroAssembler::word_character_map[] =