Bug 1013996 - irregexp: avoid unaligned accesses in ARM code. r=bhackett, a=lmandel
authorDouglas Crosher <dtc-moz@scieneer.com>
Sun, 17 Aug 2014 14:45:31 +1000
changeset 209441 093bfa0f1deedd1ee257988c223b194b525bdcba
parent 209440 f5d4b16203aa6f81b187e78e915291c0b9c780af
child 209444 ec3e586813b5c62242ca426ca997cba070bb3138
push id494
push userraliiev@mozilla.com
push dateMon, 25 Aug 2014 18:42:16 +0000
treeherdermozilla-release@a3cc3e46b571 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbhackett, lmandel
bugs1013996
milestone32.0
Bug 1013996 - irregexp: avoid unaligned accesses in ARM code. r=bhackett, a=lmandel
js/src/irregexp/NativeRegExpMacroAssembler.cpp
--- a/js/src/irregexp/NativeRegExpMacroAssembler.cpp
+++ b/js/src/irregexp/NativeRegExpMacroAssembler.cpp
@@ -1227,17 +1227,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[] =