Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 7d6df4f83fde768fddea14ab769e8e83f07d62d4..b19738c0e98384d30e5bf2ecf1c5e33cdd08b695 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -7824,7 +7824,7 @@ void HOptimizedGraphBuilder::VisitCall(Call* expr) { |
environment()->SetExpressionStackAt(receiver_index, global_object); |
// When the target has a custom call IC generator, use the IC, |
// because it is likely to generate better code. |
- call = PreProcessCall(New<HCallGlobal>(var->name(), argument_count)); |
+ call = PreProcessCall(New<HCallNamed>(var->name(), argument_count)); |
} else { |
call = PreProcessCall(New<HCallKnownGlobal>( |
expr->target(), argument_count)); |
@@ -7834,7 +7834,7 @@ void HOptimizedGraphBuilder::VisitCall(Call* expr) { |
Push(Add<HPushArgument>(receiver)); |
CHECK_ALIVE(VisitArgumentList(expr->arguments())); |
- call = New<HCallGlobal>(var->name(), argument_count); |
+ call = New<HCallNamed>(var->name(), argument_count); |
Drop(argument_count); |
} |