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

This commit is contained in:
wes@page.ca 2009-07-20 14:11:12 +08:00
parent b1b8fe3444
commit dc3efedd7d

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