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

Side by Side Diff: src/ast.h

Issue 6624085: [Isolates] Merge 7051:7083 from bleeding_edge to isolates. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/isolates/
Patch Set: Created 9 years, 9 months 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/lithium-codegen-arm.cc ('k') | src/ast-inl.h » ('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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 1680 matching lines...) Expand 10 before | Expand all | Expand 10 after
1691 Scope* scope, 1691 Scope* scope,
1692 ZoneList<Statement*>* body, 1692 ZoneList<Statement*>* body,
1693 int materialized_literal_count, 1693 int materialized_literal_count,
1694 int expected_property_count, 1694 int expected_property_count,
1695 bool has_only_simple_this_property_assignments, 1695 bool has_only_simple_this_property_assignments,
1696 Handle<FixedArray> this_property_assignments, 1696 Handle<FixedArray> this_property_assignments,
1697 int num_parameters, 1697 int num_parameters,
1698 int start_position, 1698 int start_position,
1699 int end_position, 1699 int end_position,
1700 bool is_expression, 1700 bool is_expression,
1701 bool contains_loops, 1701 bool contains_loops)
1702 bool strict_mode)
1703 : name_(name), 1702 : name_(name),
1704 scope_(scope), 1703 scope_(scope),
1705 body_(body), 1704 body_(body),
1706 materialized_literal_count_(materialized_literal_count), 1705 materialized_literal_count_(materialized_literal_count),
1707 expected_property_count_(expected_property_count), 1706 expected_property_count_(expected_property_count),
1708 has_only_simple_this_property_assignments_( 1707 has_only_simple_this_property_assignments_(
1709 has_only_simple_this_property_assignments), 1708 has_only_simple_this_property_assignments),
1710 this_property_assignments_(this_property_assignments), 1709 this_property_assignments_(this_property_assignments),
1711 num_parameters_(num_parameters), 1710 num_parameters_(num_parameters),
1712 start_position_(start_position), 1711 start_position_(start_position),
1713 end_position_(end_position), 1712 end_position_(end_position),
1714 is_expression_(is_expression), 1713 is_expression_(is_expression),
1715 contains_loops_(contains_loops), 1714 contains_loops_(contains_loops),
1716 strict_mode_(strict_mode),
1717 function_token_position_(RelocInfo::kNoPosition), 1715 function_token_position_(RelocInfo::kNoPosition),
1718 inferred_name_(HEAP->empty_string()), 1716 inferred_name_(HEAP->empty_string()),
1719 try_full_codegen_(false), 1717 try_full_codegen_(false),
1720 pretenure_(false) { } 1718 pretenure_(false) { }
1721 1719
1722 DECLARE_NODE_TYPE(FunctionLiteral) 1720 DECLARE_NODE_TYPE(FunctionLiteral)
1723 1721
1724 Handle<String> name() const { return name_; } 1722 Handle<String> name() const { return name_; }
1725 Scope* scope() const { return scope_; } 1723 Scope* scope() const { return scope_; }
1726 ZoneList<Statement*>* body() const { return body_; } 1724 ZoneList<Statement*>* body() const { return body_; }
1727 void set_function_token_position(int pos) { function_token_position_ = pos; } 1725 void set_function_token_position(int pos) { function_token_position_ = pos; }
1728 int function_token_position() const { return function_token_position_; } 1726 int function_token_position() const { return function_token_position_; }
1729 int start_position() const { return start_position_; } 1727 int start_position() const { return start_position_; }
1730 int end_position() const { return end_position_; } 1728 int end_position() const { return end_position_; }
1731 bool is_expression() const { return is_expression_; } 1729 bool is_expression() const { return is_expression_; }
1732 bool contains_loops() const { return contains_loops_; } 1730 bool contains_loops() const { return contains_loops_; }
1733 bool strict_mode() const { return strict_mode_; } 1731 bool strict_mode() const;
1734 1732
1735 int materialized_literal_count() { return materialized_literal_count_; } 1733 int materialized_literal_count() { return materialized_literal_count_; }
1736 int expected_property_count() { return expected_property_count_; } 1734 int expected_property_count() { return expected_property_count_; }
1737 bool has_only_simple_this_property_assignments() { 1735 bool has_only_simple_this_property_assignments() {
1738 return has_only_simple_this_property_assignments_; 1736 return has_only_simple_this_property_assignments_;
1739 } 1737 }
1740 Handle<FixedArray> this_property_assignments() { 1738 Handle<FixedArray> this_property_assignments() {
1741 return this_property_assignments_; 1739 return this_property_assignments_;
1742 } 1740 }
1743 int num_parameters() { return num_parameters_; } 1741 int num_parameters() { return num_parameters_; }
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after
2194 #undef DEF_VISIT 2192 #undef DEF_VISIT
2195 2193
2196 private: 2194 private:
2197 bool stack_overflow_; 2195 bool stack_overflow_;
2198 }; 2196 };
2199 2197
2200 2198
2201 } } // namespace v8::internal 2199 } } // namespace v8::internal
2202 2200
2203 #endif // V8_AST_H_ 2201 #endif // V8_AST_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/ast-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698