| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 2047 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2058 int handler_count() { return handler_count_; } | 2058 int handler_count() { return handler_count_; } |
| 2059 bool has_only_simple_this_property_assignments() { | 2059 bool has_only_simple_this_property_assignments() { |
| 2060 return HasOnlySimpleThisPropertyAssignments::decode(bitfield_); | 2060 return HasOnlySimpleThisPropertyAssignments::decode(bitfield_); |
| 2061 } | 2061 } |
| 2062 Handle<FixedArray> this_property_assignments() { | 2062 Handle<FixedArray> this_property_assignments() { |
| 2063 return this_property_assignments_; | 2063 return this_property_assignments_; |
| 2064 } | 2064 } |
| 2065 int parameter_count() { return parameter_count_; } | 2065 int parameter_count() { return parameter_count_; } |
| 2066 | 2066 |
| 2067 bool AllowsLazyCompilation(); | 2067 bool AllowsLazyCompilation(); |
| 2068 bool AllowsLazyCompilationWithoutContext(); | |
| 2069 | 2068 |
| 2070 Handle<String> debug_name() const { | 2069 Handle<String> debug_name() const { |
| 2071 if (name_->length() > 0) return name_; | 2070 if (name_->length() > 0) return name_; |
| 2072 return inferred_name(); | 2071 return inferred_name(); |
| 2073 } | 2072 } |
| 2074 | 2073 |
| 2075 Handle<String> inferred_name() const { return inferred_name_; } | 2074 Handle<String> inferred_name() const { return inferred_name_; } |
| 2076 void set_inferred_name(Handle<String> inferred_name) { | 2075 void set_inferred_name(Handle<String> inferred_name) { |
| 2077 inferred_name_ = inferred_name; | 2076 inferred_name_ = inferred_name; |
| 2078 } | 2077 } |
| (...skipping 906 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2985 private: | 2984 private: |
| 2986 Isolate* isolate_; | 2985 Isolate* isolate_; |
| 2987 Zone* zone_; | 2986 Zone* zone_; |
| 2988 Visitor visitor_; | 2987 Visitor visitor_; |
| 2989 }; | 2988 }; |
| 2990 | 2989 |
| 2991 | 2990 |
| 2992 } } // namespace v8::internal | 2991 } } // namespace v8::internal |
| 2993 | 2992 |
| 2994 #endif // V8_AST_H_ | 2993 #endif // V8_AST_H_ |
| OLD | NEW |