Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1182)

Side by Side Diff: src/ast.h

Issue 8417035: Introduce extended mode. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed more comments. Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/arm/stub-cache-arm.cc ('k') | src/ast.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 1671 matching lines...) Expand 10 before | Expand all | Expand 10 after
1682 1682
1683 Handle<String> name() const { return name_; } 1683 Handle<String> name() const { return name_; }
1684 Scope* scope() const { return scope_; } 1684 Scope* scope() const { return scope_; }
1685 ZoneList<Statement*>* body() const { return body_; } 1685 ZoneList<Statement*>* body() const { return body_; }
1686 void set_function_token_position(int pos) { function_token_position_ = pos; } 1686 void set_function_token_position(int pos) { function_token_position_ = pos; }
1687 int function_token_position() const { return function_token_position_; } 1687 int function_token_position() const { return function_token_position_; }
1688 int start_position() const; 1688 int start_position() const;
1689 int end_position() const; 1689 int end_position() const;
1690 bool is_expression() const { return IsExpression::decode(bitfield_); } 1690 bool is_expression() const { return IsExpression::decode(bitfield_); }
1691 bool is_anonymous() const { return IsAnonymous::decode(bitfield_); } 1691 bool is_anonymous() const { return IsAnonymous::decode(bitfield_); }
1692 bool strict_mode() const { return strict_mode_flag() == kStrictMode; } 1692 bool is_classic_mode() const { return language_mode() == CLASSIC_MODE; }
1693 StrictModeFlag strict_mode_flag() const; 1693 LanguageMode language_mode() const;
1694 1694
1695 int materialized_literal_count() { return materialized_literal_count_; } 1695 int materialized_literal_count() { return materialized_literal_count_; }
1696 int expected_property_count() { return expected_property_count_; } 1696 int expected_property_count() { return expected_property_count_; }
1697 int handler_count() { return handler_count_; } 1697 int handler_count() { return handler_count_; }
1698 bool has_only_simple_this_property_assignments() { 1698 bool has_only_simple_this_property_assignments() {
1699 return HasOnlySimpleThisPropertyAssignments::decode(bitfield_); 1699 return HasOnlySimpleThisPropertyAssignments::decode(bitfield_);
1700 } 1700 }
1701 Handle<FixedArray> this_property_assignments() { 1701 Handle<FixedArray> this_property_assignments() {
1702 return this_property_assignments_; 1702 return this_property_assignments_;
1703 } 1703 }
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
2167 2167
2168 private: 2168 private:
2169 Isolate* isolate_; 2169 Isolate* isolate_;
2170 bool stack_overflow_; 2170 bool stack_overflow_;
2171 }; 2171 };
2172 2172
2173 2173
2174 } } // namespace v8::internal 2174 } } // namespace v8::internal
2175 2175
2176 #endif // V8_AST_H_ 2176 #endif // V8_AST_H_
OLDNEW
« no previous file with comments | « src/arm/stub-cache-arm.cc ('k') | src/ast.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698