Fixes stray IA32-reference in ARM builds
authorlrn@chromium.org <lrn@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 1 Dec 2008 10:17:24 +0000 (10:17 +0000)
committerlrn@chromium.org <lrn@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 1 Dec 2008 10:17:24 +0000 (10:17 +0000)
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@874 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

src/jsregexp.cc

index be767bff71f03acec1bbbb496ec409a9fde62abf..b4050fabf5a18c1c479f1cd8aeaa058b1d3d0e6f 100644 (file)
@@ -505,6 +505,7 @@ Handle<Object> RegExpImpl::IrregexpExecOnce(Handle<JSRegExp> regexp,
 
   switch (tag) {
     case RegExpMacroAssembler::kIA32Implementation: {
+#ifndef ARM
       Code* code = Code::cast(irregexp->get(kIrregexpCodeIndex));
       Address start_addr =
           Handle<SeqTwoByteString>::cast(two_byte_subject)->GetCharsAddress();
@@ -528,6 +529,10 @@ Handle<Object> RegExpImpl::IrregexpExecOnce(Handle<JSRegExp> regexp,
         }
       }
       break;
+#else
+      UNIMPLEMENTED();
+      break;
+#endif
     }
     case RegExpMacroAssembler::kBytecodeImplementation: {
       Handle<ByteArray> byte_codes = IrregexpCode(regexp);