Index: src/ast.h |
diff --git a/src/ast.h b/src/ast.h |
index e5842c292e57b139f7073dd3f05c9508aa2db411..ddba5dfa3763858add67971656b7fb2359e50dc6 100644 |
--- a/src/ast.h |
+++ b/src/ast.h |
@@ -1660,7 +1660,7 @@ class VariableProxy final : public Expression { |
void BindTo(Variable* var); |
bool UsesVariableFeedbackSlot() const { |
- return var()->IsUnallocatedOrGlobalSlot() || var()->IsLookupSlot(); |
+ return var()->IsUnallocated() || var()->IsLookupSlot(); |
} |
virtual FeedbackVectorRequirements ComputeFeedbackRequirements( |