Index: src/compiler.h |
diff --git a/src/compiler.h b/src/compiler.h |
index 4d7c1a250547b4c1ad2ddf0640379f26e5f40eaa..3bf4db5780a31d041782b3f0aaf30d046ee5151b 100644 |
--- a/src/compiler.h |
+++ b/src/compiler.h |
@@ -102,6 +102,13 @@ class CompilationInfo { |
ASSERT(IsStub()); |
parameter_count_ = parameter_count; |
} |
+ |
+ void set_this_has_uses(bool has_no_uses) { |
+ this_has_uses_ = has_no_uses; |
+ } |
+ bool this_has_uses() { |
+ return this_has_uses_; |
+ } |
void SetLanguageMode(LanguageMode language_mode) { |
ASSERT(this->language_mode() == CLASSIC_MODE || |
this->language_mode() == language_mode || |
@@ -441,6 +448,8 @@ class CompilationInfo { |
// Number of parameters used for compilation of stubs that require arguments. |
int parameter_count_; |
+ bool this_has_uses_; |
+ |
Handle<Foreign> object_wrapper_; |
DISALLOW_COPY_AND_ASSIGN(CompilationInfo); |