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

Side by Side Diff: src/ast.h

Issue 5753005: Make closures optimizable by Crankshaft compiler. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Next round Created 9 years, 11 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 | « no previous file | 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 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 1699 matching lines...) Expand 10 before | Expand all | Expand 10 after
1710 int expected_property_count() { return expected_property_count_; } 1710 int expected_property_count() { return expected_property_count_; }
1711 bool has_only_simple_this_property_assignments() { 1711 bool has_only_simple_this_property_assignments() {
1712 return has_only_simple_this_property_assignments_; 1712 return has_only_simple_this_property_assignments_;
1713 } 1713 }
1714 Handle<FixedArray> this_property_assignments() { 1714 Handle<FixedArray> this_property_assignments() {
1715 return this_property_assignments_; 1715 return this_property_assignments_;
1716 } 1716 }
1717 int num_parameters() { return num_parameters_; } 1717 int num_parameters() { return num_parameters_; }
1718 1718
1719 bool AllowsLazyCompilation(); 1719 bool AllowsLazyCompilation();
1720 bool AllowOptimize();
1721 1720
1722 Handle<String> debug_name() const { 1721 Handle<String> debug_name() const {
1723 if (name_->length() > 0) return name_; 1722 if (name_->length() > 0) return name_;
1724 return inferred_name(); 1723 return inferred_name();
1725 } 1724 }
1726 1725
1727 Handle<String> inferred_name() const { return inferred_name_; } 1726 Handle<String> inferred_name() const { return inferred_name_; }
1728 void set_inferred_name(Handle<String> inferred_name) { 1727 void set_inferred_name(Handle<String> inferred_name) {
1729 inferred_name_ = inferred_name; 1728 inferred_name_ = inferred_name;
1730 } 1729 }
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
2167 AST_NODE_LIST(DEF_VISIT) 2166 AST_NODE_LIST(DEF_VISIT)
2168 #undef DEF_VISIT 2167 #undef DEF_VISIT
2169 2168
2170 private: 2169 private:
2171 bool stack_overflow_; 2170 bool stack_overflow_;
2172 }; 2171 };
2173 2172
2174 } } // namespace v8::internal 2173 } } // namespace v8::internal
2175 2174
2176 #endif // V8_AST_H_ 2175 #endif // V8_AST_H_
OLDNEW
« no previous file with comments | « no previous file | src/ast.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698