Chromium Code Reviews| Index: src/compiler/typer.cc |
| diff --git a/src/compiler/typer.cc b/src/compiler/typer.cc |
| index 0fa2b95ebd3460350def99acdd14b2341d7b1b00..b6eb63570c63b80968b5c63bb49c4a4cea9885c3 100644 |
| --- a/src/compiler/typer.cc |
| +++ b/src/compiler/typer.cc |
| @@ -1034,7 +1034,8 @@ Type* Typer::Visitor::JSModulusTyper(Type* lhs, Type* rhs, Typer* t) { |
| rhs = Rangify(rhs, t); |
| if (lhs->IsRange() && rhs->IsRange()) { |
| // TODO(titzer): fix me. |
| - // return JSModulusRanger(lhs->AsRange(), rhs->AsRange(), t); |
| + if (FLAG_turbo_mod_range) |
|
Benedikt Meurer
2014/11/10 12:54:47
Why do we need a flag here? Maybe just enable this
titzer
2014/11/10 12:57:07
That was an oversight, I am removing the flag.
|
| + return JSModulusRanger(lhs->AsRange(), rhs->AsRange(), t); |
| } |
| return Type::OrderedNumber(); |
| } |