| Index: src/compiler.h
|
| diff --git a/src/compiler.h b/src/compiler.h
|
| index 5e69661b4d8b92d1ad9c986ef49a129d7deebf42..c50017cd8c1cc2fa81c63748aae5c41b9368b91d 100644
|
| --- a/src/compiler.h
|
| +++ b/src/compiler.h
|
| @@ -143,6 +143,14 @@ class CompilationInfo {
|
| return SavesCallerDoubles::decode(flags_);
|
| }
|
|
|
| + void MarkAsStubThatUsesArguments() {
|
| + flags_ |= StubThatUsesArguments::encode(true);
|
| + }
|
| +
|
| + bool stub_that_uses_arguments() const {
|
| + return StubThatUsesArguments::decode(flags_);
|
| + }
|
| +
|
| void SetParseRestriction(ParseRestriction restriction) {
|
| flags_ = ParseRestricitonField::update(flags_, restriction);
|
| }
|
| @@ -300,6 +308,8 @@ class CompilationInfo {
|
| class SavesCallerDoubles: public BitField<bool, 12, 1> {};
|
| // If the set of valid statements is restricted.
|
| class ParseRestricitonField: public BitField<ParseRestriction, 13, 1> {};
|
| + // Is this a hydrogen stub that insists on using arguments?
|
| + class StubThatUsesArguments: public BitField<bool, 14, 1> {};
|
|
|
| unsigned flags_;
|
|
|
|
|