Index: src/compiler/js-inlining.cc |
diff --git a/src/compiler/js-inlining.cc b/src/compiler/js-inlining.cc |
index d6f01c19cac3103138d947c744d8b56ff5b11346..74ac82799ae0d27cd834f54aeac4e2e8a54f66d6 100644 |
--- a/src/compiler/js-inlining.cc |
+++ b/src/compiler/js-inlining.cc |
@@ -452,7 +452,7 @@ Reduction JSInliner::ReduceJSCall(Node* node, Handle<JSFunction> function) { |
// Insert a check of the return value to determine whether the return value |
// or the implicit receiver should be selected as a result of the call. |
Node* check = jsgraph_->graph()->NewNode( |
- jsgraph_->javascript()->CallRuntime(Runtime::kInlineIsSpecObject, 1), |
+ jsgraph_->javascript()->CallRuntime(Runtime::kInlineIsJSReceiver, 1), |
node, context, node, start); |
Node* select = jsgraph_->graph()->NewNode( |
jsgraph_->common()->Select(kMachAnyTagged), check, node, create); |