Index: src/ast/ast.cc |
diff --git a/src/ast/ast.cc b/src/ast/ast.cc |
index 0ab0947711e0da9308c84c7fca3ecb7590d6c706..fc8bd8a5bd321dd851de67f1b6332b0c6f1fa9dc 100644 |
--- a/src/ast/ast.cc |
+++ b/src/ast/ast.cc |
@@ -900,9 +900,7 @@ void Call::AssignFeedbackVectorSlots(Isolate* isolate, FeedbackVectorSpec* spec, |
Call::CallType Call::GetCallType() const { |
VariableProxy* proxy = expression()->AsVariableProxy(); |
if (proxy != NULL) { |
- if (is_possibly_eval()) { |
- return POSSIBLY_EVAL_CALL; |
- } else if (proxy->var()->IsUnallocated()) { |
+ if (proxy->var()->IsUnallocated()) { |
return GLOBAL_CALL; |
} else if (proxy->var()->IsLookupSlot()) { |
// Calls going through 'with' always use DYNAMIC rather than DYNAMIC_LOCAL |