| Index: src/compiler/typer.cc
|
| diff --git a/src/compiler/typer.cc b/src/compiler/typer.cc
|
| index 1a7e99d78217139ab5ad09aba1b1048c76d3f7cd..a03bd92a88418022e56bdf4c707d2e36ed991bec 100644
|
| --- a/src/compiler/typer.cc
|
| +++ b/src/compiler/typer.cc
|
| @@ -699,10 +699,9 @@ Type* Typer::Visitor::TypeEffectPhi(Node* node) {
|
| return nullptr;
|
| }
|
|
|
| -
|
| -Type* Typer::Visitor::TypeGuard(Node* node) {
|
| +Type* Typer::Visitor::TypeTypeGuard(Node* node) {
|
| Type* input_type = Operand(node, 0);
|
| - Type* guard_type = OpParameter<Type*>(node);
|
| + Type* guard_type = TypeOf(node->op());
|
| return Type::Intersect(input_type, guard_type, zone());
|
| }
|
|
|
|
|