Reviewers: Lasse Reichstein,

Description:
Fix ARM build.

Please review this at http://codereview.chromium.org/14887

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
   M     src/jsregexp.cc


Index: src/jsregexp.cc
===================================================================
--- src/jsregexp.cc     (revision 1005)
+++ src/jsregexp.cc     (working copy)
@@ -2569,9 +2569,9 @@


  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



--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to