| Index: src/compiler/js-builtin-reducer.cc
|
| diff --git a/src/compiler/js-builtin-reducer.cc b/src/compiler/js-builtin-reducer.cc
|
| index 9c45a043ee85432de4e32b554abd566501d32ab4..97e1de098c614827fe67af1305fc9e813ea381fb 100644
|
| --- a/src/compiler/js-builtin-reducer.cc
|
| +++ b/src/compiler/js-builtin-reducer.cc
|
| @@ -25,8 +25,8 @@ class JSCallReduction {
|
| bool HasBuiltinFunctionId() {
|
| if (node_->opcode() != IrOpcode::kJSCallFunction) return false;
|
| HeapObjectMatcher m(NodeProperties::GetValueInput(node_, 0));
|
| - if (!m.HasValue() || !m.Value().handle()->IsJSFunction()) return false;
|
| - Handle<JSFunction> function = Handle<JSFunction>::cast(m.Value().handle());
|
| + if (!m.HasValue() || !m.Value()->IsJSFunction()) return false;
|
| + Handle<JSFunction> function = Handle<JSFunction>::cast(m.Value());
|
| return function->shared()->HasBuiltinFunctionId();
|
| }
|
|
|
| @@ -34,7 +34,7 @@ class JSCallReduction {
|
| BuiltinFunctionId GetBuiltinFunctionId() {
|
| DCHECK_EQ(IrOpcode::kJSCallFunction, node_->opcode());
|
| HeapObjectMatcher m(NodeProperties::GetValueInput(node_, 0));
|
| - Handle<JSFunction> function = Handle<JSFunction>::cast(m.Value().handle());
|
| + Handle<JSFunction> function = Handle<JSFunction>::cast(m.Value());
|
| return function->shared()->builtin_function_id();
|
| }
|
|
|
|
|