Index: src/compiler.h |
diff --git a/src/compiler.h b/src/compiler.h |
index 9ee3cbe32fc777faf0ea6cd9058e38002add3e08..3db32ce0e328295032a7ab2372cb2fba989775cc 100644 |
--- a/src/compiler.h |
+++ b/src/compiler.h |
@@ -39,6 +39,9 @@ class ScriptData { |
const byte* data() const { return data_; } |
int length() const { return length_; } |
+ bool rejected() const { return rejected_; } |
+ |
+ void Reject() { rejected_ = true; } |
void AcquireDataOwnership() { |
DCHECK(!owns_data_); |
@@ -51,7 +54,8 @@ class ScriptData { |
} |
private: |
- bool owns_data_; |
+ bool owns_data_ : 1; |
+ bool rejected_ : 1; |
const byte* data_; |
int length_; |