Index: src/compiler/js-inlining.cc |
diff --git a/src/compiler/js-inlining.cc b/src/compiler/js-inlining.cc |
index 5cf1d06f0ad2fee8d3958e33dbfa5f8ca2a97589..f9c28205341bf0985e860d5a99d4fb40ece28f8e 100644 |
--- a/src/compiler/js-inlining.cc |
+++ b/src/compiler/js-inlining.cc |
@@ -590,7 +590,7 @@ Reduction JSInliner::ReduceJSCall(Node* node, Handle<JSFunction> function) { |
// constructor dispatch (allocate implicit receiver and check return value). |
// This models the behavior usually accomplished by our {JSConstructStub}. |
// Note that the context has to be the callers context (input to call node). |
- Node* receiver = jsgraph()->UndefinedConstant(); // Implicit receiver. |
+ Node* receiver = jsgraph()->TheHoleConstant(); // Implicit receiver. |
if (NeedsImplicitReceiver(shared_info)) { |
Node* frame_state_before = NodeProperties::FindFrameStateBefore(node); |
Node* effect = NodeProperties::GetEffectInput(node); |