Index: src/compiler/ast-graph-builder.cc |
diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc |
index 67870160b3fd27101efc24eb4adfaefa5c79ec8c..e6a82cfd7f8b86ef0fbdd3039825ad6caa43eb07 100644 |
--- a/src/compiler/ast-graph-builder.cc |
+++ b/src/compiler/ast-graph-builder.cc |
@@ -3590,7 +3590,7 @@ Node* AstGraphBuilder::BuildToBoolean(Node* input) { |
case IrOpcode::kNumberConstant: |
return jsgraph_->BooleanConstant(!NumberMatcher(input).Is(0)); |
case IrOpcode::kHeapConstant: { |
- Handle<Object> object = HeapObjectMatcher<Object>(input).Value().handle(); |
+ Handle<HeapObject> object = HeapObjectMatcher(input).Value().handle(); |
return jsgraph_->BooleanConstant(object->BooleanValue()); |
} |
case IrOpcode::kJSEqual: |