Fix ARM build.
authorerik.corry@gmail.com <erik.corry@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 19 Dec 2008 12:13:11 +0000 (12:13 +0000)
committererik.corry@gmail.com <erik.corry@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 19 Dec 2008 12:13:11 +0000 (12:13 +0000)
Review URL: http://codereview.chromium.org/14887

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1008 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

src/jsregexp.cc

index a566b9b45200ac264fbef53cb269c07da5086f87..5624b124175083b7594d17c26b54ff1e76766cd9 100644 (file)
@@ -2569,9 +2569,9 @@ bool LoopChoiceNode::Emit(RegExpCompiler* compiler,
 
 
 int ChoiceNode::CalculatePreloadCharacters(RegExpCompiler* compiler) {
-  bool ascii = compiler->ascii();
   int preload_characters = EatsAtLeast(0);
 #ifdef CAN_READ_UNALIGNED
+  bool ascii = compiler->ascii();
   if (ascii) {
     if (preload_characters > 4) preload_characters = 4;
     // We can't preload 3 characters because there is no machine instruction