Index: src/crankshaft/hydrogen.cc |
diff --git a/src/crankshaft/hydrogen.cc b/src/crankshaft/hydrogen.cc |
index e0e9100828f4a02135d8d9916e9ce388084e8b50..6174c4158ebf11e1c002730f587414d33cdc8493 100644 |
--- a/src/crankshaft/hydrogen.cc |
+++ b/src/crankshaft/hydrogen.cc |
@@ -9827,8 +9827,7 @@ void HOptimizedGraphBuilder::VisitCall(Call* expr) { |
PushArgumentsFromEnvironment(argument_count); |
} else { |
- VariableProxy* proxy = expr->expression()->AsVariableProxy(); |
- if (proxy != NULL && proxy->var()->is_possibly_eval(isolate())) { |
+ if (expr->is_possibly_eval()) { |
return Bailout(kPossibleDirectCallToEval); |
} |
@@ -9873,8 +9872,7 @@ void HOptimizedGraphBuilder::VisitCall(Call* expr) { |
syntactic_tail_call_mode, tail_call_mode); |
} else { |
PushArgumentsFromEnvironment(argument_count); |
- if (expr->is_uninitialized() && |
- expr->IsUsingCallFeedbackICSlot(isolate())) { |
+ if (expr->is_uninitialized() && expr->IsUsingCallFeedbackICSlot()) { |
// We've never seen this call before, so let's have Crankshaft learn |
// through the type vector. |
call = NewCallFunctionViaIC(function, argument_count, |