Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 1fac70edd9bb6e4d95dd7b3d33987994d8e51379..1b61da244825ba264193c8dd5db0dbe54536c1a9 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -6165,9 +6165,11 @@ void HGraphBuilder::VisitCall(Call* expr) { |
if (TryInlineCall(expr, true)) { // Drop function from environment. |
return; |
} else { |
- call = PreProcessCall(new(zone()) HInvokeFunction(context, |
- function, |
- argument_count)); |
+ call = PreProcessCall( |
+ new(zone()) HInvokeFunction(context, |
+ function, |
+ expr->target(), |
+ argument_count)); |
Drop(1); // The function. |
} |