Bug 504647 - JITted regular expressions crash SPARC Nanojit. r=dmandelin

This commit is contained in:
committed 2009-07-20 14:11:12 +08:00
1 parent 986ebfaea1
commit 18282481e0
1 file changed
+2 -2
+2 -2
View File
@@ -2309,8 +2309,8 @@ class RegExpNativeCompiler {
return pos;
}
#ifdef AVMPLUS_ARM
/* We can't do this on ARM, since it relies on doing a 32-bit load from
#if defined(AVMPLUS_ARM) || defined(AVMPLUS_SPARC)
/* We can't do this on ARM or SPARC, since it relies on doing a 32-bit load from
* a pointer which is only 2-byte aligned.
*/
#undef USE_DOUBLE_CHAR_MATCH