Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 7c6b2cbf0da4a4ffa9cac432504bdb0f1d7e480d..ac911d362a3bc9432a40e9e0235d3df75f11ae5f 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -7613,11 +7613,12 @@ bool HOptimizedGraphBuilder::TryCallApply(Call* expr) { |
HValue* function = Top(); |
AddCheckConstantFunction(expr->holder(), function, function_map); |
- Drop(1); |
CHECK_ALIVE_OR_RETURN(VisitForValue(args->at(0)), true); |
HValue* receiver = Pop(); |
+ Drop(1); // Pop the function. |
+ |
if (function_state()->outer() == NULL) { |
HInstruction* elements = Add<HArgumentsElements>(false); |
HInstruction* length = Add<HArgumentsLength>(elements); |