Index: src/crankshaft/typing.cc |
diff --git a/src/crankshaft/typing.cc b/src/crankshaft/typing.cc |
index 31e2d33878c19dbab743f0294d2342f3ca19d4e7..596183871101711cd27a7b333b254940cc2694a0 100644 |
--- a/src/crankshaft/typing.cc |
+++ b/src/crankshaft/typing.cc |
@@ -515,7 +515,7 @@ void AstTyper::VisitCall(Call* expr) { |
// Collect type feedback. |
RECURSE(Visit(expr->expression())); |
bool is_uninitialized = true; |
- if (expr->IsUsingCallFeedbackICSlot(isolate_)) { |
+ if (expr->IsUsingCallFeedbackICSlot()) { |
FeedbackVectorSlot slot = expr->CallFeedbackICSlot(); |
is_uninitialized = oracle()->CallIsUninitialized(slot); |
if (!expr->expression()->IsProperty() && |
@@ -534,8 +534,7 @@ void AstTyper::VisitCall(Call* expr) { |
RECURSE(Visit(arg)); |
} |
- VariableProxy* proxy = expr->expression()->AsVariableProxy(); |
- if (proxy != NULL && proxy->var()->is_possibly_eval(isolate_)) { |
+ if (expr->is_possibly_eval()) { |
store_.Forget(); // Eval could do whatever to local variables. |
} |