From 9eba79df6a007896631be4b67a42110e4b414b21 Mon Sep 17 00:00:00 2001 From: "titzer@chromium.org" Date: Thu, 6 Nov 2014 17:41:24 +0000 Subject: [PATCH] Disable ranging for modulus in hopes it will fix arm. 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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/compiler/typer.cc b/src/compiler/typer.cc index 99f4f89..0fa2b95 100644 --- a/src/compiler/typer.cc +++ b/src/compiler/typer.cc @@ -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(); } -- 2.7.4