Index: src/ast/scopes.h |
diff --git a/src/ast/scopes.h b/src/ast/scopes.h |
index 3440e0d1b99f87e8f073ac78579d1a75c05c1d84..5c59c1091fa4c42014b9e8dc893c0400dd6f7f40 100644 |
--- a/src/ast/scopes.h |
+++ b/src/ast/scopes.h |
@@ -209,7 +209,9 @@ class Scope: public ZoneObject { |
// Remove a temporary variable. This is for adjusting the scope of |
// temporaries used when desugaring parameter initializers. |
- bool RemoveTemporary(Variable* var); |
+ // Returns the index at which it was found in this scope, or -1 if |
+ // it was not found. |
+ int RemoveTemporary(Variable* var); |
// Adds a temporary variable in this scope's TemporaryScope. This is for |
// adjusting the scope of temporaries used when desugaring parameter |