Index: src/ast/ast.cc |
diff --git a/src/ast/ast.cc b/src/ast/ast.cc |
index 530bd50aaf7e12fadf6860b241663b594c5c514c..e5eb5e55fa0faff5c459600cd176addcd1daddd6 100644 |
--- a/src/ast/ast.cc |
+++ b/src/ast/ast.cc |
@@ -901,7 +901,7 @@ Call::CallType Call::GetCallType() const { |
} else if (proxy->var()->IsUnallocated()) { |
return GLOBAL_CALL; |
} else if (proxy->var()->IsLookupSlot()) { |
- return LOOKUP_SLOT_CALL; |
+ return proxy->var()->mode() == DYNAMIC ? WITH_CALL : OTHER_CALL; |
Michael Starzinger
2016/11/10 15:20:27
Can we add a brief comment here saying that "DYNAM
|
} |
} |