Index: src/compiler.h |
diff --git a/src/compiler.h b/src/compiler.h |
index 3bf4db5780a31d041782b3f0aaf30d046ee5151b..9d1baa3280590e7e4d2905c951710ca61f444a50 100644 |
--- a/src/compiler.h |
+++ b/src/compiler.h |
@@ -175,10 +175,8 @@ class CompilationInfo { |
ASSERT(function_ == NULL); |
function_ = literal; |
} |
- void SetScope(Scope* scope) { |
- ASSERT(scope_ == NULL); |
- scope_ = scope; |
- } |
+ // When the scope is applied, we may have deferred work to do on the function. |
+ void PrepareForCompilation(Scope* scope); |
void SetGlobalScope(Scope* global_scope) { |
ASSERT(global_scope_ == NULL); |
global_scope_ = global_scope; |