| Index: src/compiler/js-builtin-reducer.cc
|
| diff --git a/src/compiler/js-builtin-reducer.cc b/src/compiler/js-builtin-reducer.cc
|
| index 86df9f5319ce6271a32867cf748c614fe1b2d774..9c45a043ee85432de4e32b554abd566501d32ab4 100644
|
| --- a/src/compiler/js-builtin-reducer.cc
|
| +++ b/src/compiler/js-builtin-reducer.cc
|
| @@ -24,7 +24,7 @@ class JSCallReduction {
|
| // constant callee being a well-known builtin with a BuiltinFunctionId.
|
| bool HasBuiltinFunctionId() {
|
| if (node_->opcode() != IrOpcode::kJSCallFunction) return false;
|
| - HeapObjectMatcher<Object> m(NodeProperties::GetValueInput(node_, 0));
|
| + HeapObjectMatcher m(NodeProperties::GetValueInput(node_, 0));
|
| if (!m.HasValue() || !m.Value().handle()->IsJSFunction()) return false;
|
| Handle<JSFunction> function = Handle<JSFunction>::cast(m.Value().handle());
|
| return function->shared()->HasBuiltinFunctionId();
|
| @@ -33,7 +33,7 @@ class JSCallReduction {
|
| // Retrieves the BuiltinFunctionId as described above.
|
| BuiltinFunctionId GetBuiltinFunctionId() {
|
| DCHECK_EQ(IrOpcode::kJSCallFunction, node_->opcode());
|
| - HeapObjectMatcher<Object> m(NodeProperties::GetValueInput(node_, 0));
|
| + HeapObjectMatcher m(NodeProperties::GetValueInput(node_, 0));
|
| Handle<JSFunction> function = Handle<JSFunction>::cast(m.Value().handle());
|
| return function->shared()->builtin_function_id();
|
| }
|
|
|