| OLD | NEW |
| 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 1651 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1662 int expected_property_count() { return expected_property_count_; } | 1662 int expected_property_count() { return expected_property_count_; } |
| 1663 bool has_only_simple_this_property_assignments() { | 1663 bool has_only_simple_this_property_assignments() { |
| 1664 return has_only_simple_this_property_assignments_; | 1664 return has_only_simple_this_property_assignments_; |
| 1665 } | 1665 } |
| 1666 Handle<FixedArray> this_property_assignments() { | 1666 Handle<FixedArray> this_property_assignments() { |
| 1667 return this_property_assignments_; | 1667 return this_property_assignments_; |
| 1668 } | 1668 } |
| 1669 int num_parameters() { return num_parameters_; } | 1669 int num_parameters() { return num_parameters_; } |
| 1670 | 1670 |
| 1671 bool AllowsLazyCompilation(); | 1671 bool AllowsLazyCompilation(); |
| 1672 bool AllowOptimize(); | |
| 1673 | 1672 |
| 1674 Handle<String> debug_name() const { | 1673 Handle<String> debug_name() const { |
| 1675 if (name_->length() > 0) return name_; | 1674 if (name_->length() > 0) return name_; |
| 1676 return inferred_name(); | 1675 return inferred_name(); |
| 1677 } | 1676 } |
| 1678 | 1677 |
| 1679 Handle<String> inferred_name() const { return inferred_name_; } | 1678 Handle<String> inferred_name() const { return inferred_name_; } |
| 1680 void set_inferred_name(Handle<String> inferred_name) { | 1679 void set_inferred_name(Handle<String> inferred_name) { |
| 1681 inferred_name_ = inferred_name; | 1680 inferred_name_ = inferred_name; |
| 1682 } | 1681 } |
| (...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2119 AST_NODE_LIST(DEF_VISIT) | 2118 AST_NODE_LIST(DEF_VISIT) |
| 2120 #undef DEF_VISIT | 2119 #undef DEF_VISIT |
| 2121 | 2120 |
| 2122 private: | 2121 private: |
| 2123 bool stack_overflow_; | 2122 bool stack_overflow_; |
| 2124 }; | 2123 }; |
| 2125 | 2124 |
| 2126 } } // namespace v8::internal | 2125 } } // namespace v8::internal |
| 2127 | 2126 |
| 2128 #endif // V8_AST_H_ | 2127 #endif // V8_AST_H_ |
| OLD | NEW |