| Index: src/compiler/typer.cc
|
| diff --git a/src/compiler/typer.cc b/src/compiler/typer.cc
|
| index 3973797aa144c8703f562db7c32f253df297a43d..c4c9a35724201ec5c770b7b2f3e6710210ee7d52 100644
|
| --- a/src/compiler/typer.cc
|
| +++ b/src/compiler/typer.cc
|
| @@ -1845,6 +1845,11 @@ Type* ChangeRepresentation(Type* type, Type* rep, Zone* zone) {
|
|
|
| } // namespace
|
|
|
| +Type* Typer::Visitor::TypeChangeSmiToInt32(Node* node) {
|
| + Type* arg = Operand(node, 0);
|
| + // TODO(neis): DCHECK(arg->Is(Type::Signed32()));
|
| + return ChangeRepresentation(arg, Type::UntaggedIntegral32(), zone());
|
| +}
|
|
|
| Type* Typer::Visitor::TypeChangeTaggedToInt32(Node* node) {
|
| Type* arg = Operand(node, 0);
|
|
|