Reviewers: jarin,
Description:
Revert "[turbofan] Fix bug in Rangify."
This reverts commit r25067 for breaking Win64.
[email protected]
Please review this at https://codereview.chromium.org/697093002/
Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+1, -3 lines):
M src/compiler/typer.cc
Index: src/compiler/typer.cc
diff --git a/src/compiler/typer.cc b/src/compiler/typer.cc
index
dc85405fa2fad215275c72cb8fe4e4b41568b768..3649f7d79dcd4c1bf7f0699c92b9c9d512364fed
100644
--- a/src/compiler/typer.cc
+++ b/src/compiler/typer.cc
@@ -408,9 +408,7 @@ Type* Typer::Visitor::FalsifyUndefined(Type* type,
Typer* t) {
Type* Typer::Visitor::Rangify(Type* type, Typer* t) {
if (type->IsRange()) return type; // Shortcut.
- if (!type->Is(t->integer) && !type->Is(Type::Integral32())) {
- return type; // Give up.
- }
+ if (!type->Is(t->integer)) return type; // Give up.
Factory* f = t->isolate()->factory();
return Type::Range(f->NewNumber(type->Min()), f->NewNumber(type->Max()),
t->zone());
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.