Commit 3dc722b5 authored by erik.corry@gmail.com's avatar erik.corry@gmail.com

Fix ARM build.

Review URL: http://codereview.chromium.org/14887

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1008 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent d7290b6b
...@@ -2569,9 +2569,9 @@ bool LoopChoiceNode::Emit(RegExpCompiler* compiler, ...@@ -2569,9 +2569,9 @@ bool LoopChoiceNode::Emit(RegExpCompiler* compiler,
int ChoiceNode::CalculatePreloadCharacters(RegExpCompiler* compiler) { int ChoiceNode::CalculatePreloadCharacters(RegExpCompiler* compiler) {
bool ascii = compiler->ascii();
int preload_characters = EatsAtLeast(0); int preload_characters = EatsAtLeast(0);
#ifdef CAN_READ_UNALIGNED #ifdef CAN_READ_UNALIGNED
bool ascii = compiler->ascii();
if (ascii) { if (ascii) {
if (preload_characters > 4) preload_characters = 4; if (preload_characters > 4) preload_characters = 4;
// We can't preload 3 characters because there is no machine instruction // We can't preload 3 characters because there is no machine instruction
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment