Disable ranging for modulus in hopes it will fix arm.
authortitzer@chromium.org <titzer@chromium.org>
Thu, 6 Nov 2014 17:41:24 +0000 (17:41 +0000)
committertitzer@chromium.org <titzer@chromium.org>
Thu, 6 Nov 2014 17:41:49 +0000 (17:41 +0000)
TBR=mstarzinger@chromium.org
BUG=

Review URL: https://codereview.chromium.org/705113002

Cr-Commit-Position: refs/heads/master@{#25203}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25203 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

src/compiler/typer.cc

index 99f4f89..0fa2b95 100644 (file)
@@ -1033,7 +1033,8 @@ Type* Typer::Visitor::JSModulusTyper(Type* lhs, Type* rhs, Typer* t) {
   lhs = Rangify(lhs, t);
   rhs = Rangify(rhs, t);
   if (lhs->IsRange() && rhs->IsRange()) {
-    return JSModulusRanger(lhs->AsRange(), rhs->AsRange(), t);
+    // TODO(titzer): fix me.
+    //    return JSModulusRanger(lhs->AsRange(), rhs->AsRange(), t);
   }
   return Type::OrderedNumber();
 }