| 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 2043 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2054 bool has_only_simple_this_property_assignments() { | 2054 bool has_only_simple_this_property_assignments() { |
| 2055 return HasOnlySimpleThisPropertyAssignments::decode(bitfield_); | 2055 return HasOnlySimpleThisPropertyAssignments::decode(bitfield_); |
| 2056 } | 2056 } |
| 2057 Handle<FixedArray> this_property_assignments() { | 2057 Handle<FixedArray> this_property_assignments() { |
| 2058 return this_property_assignments_; | 2058 return this_property_assignments_; |
| 2059 } | 2059 } |
| 2060 int parameter_count() { return parameter_count_; } | 2060 int parameter_count() { return parameter_count_; } |
| 2061 | 2061 |
| 2062 bool AllowsLazyCompilation(); | 2062 bool AllowsLazyCompilation(); |
| 2063 | 2063 |
| 2064 bool AllowsLazyCompilationForNative(); |
| 2065 |
| 2064 Handle<String> debug_name() const { | 2066 Handle<String> debug_name() const { |
| 2065 if (name_->length() > 0) return name_; | 2067 if (name_->length() > 0) return name_; |
| 2066 return inferred_name(); | 2068 return inferred_name(); |
| 2067 } | 2069 } |
| 2068 | 2070 |
| 2069 Handle<String> inferred_name() const { return inferred_name_; } | 2071 Handle<String> inferred_name() const { return inferred_name_; } |
| 2070 void set_inferred_name(Handle<String> inferred_name) { | 2072 void set_inferred_name(Handle<String> inferred_name) { |
| 2071 inferred_name_ = inferred_name; | 2073 inferred_name_ = inferred_name; |
| 2072 } | 2074 } |
| 2073 | 2075 |
| (...skipping 904 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2978 private: | 2980 private: |
| 2979 Isolate* isolate_; | 2981 Isolate* isolate_; |
| 2980 Zone* zone_; | 2982 Zone* zone_; |
| 2981 Visitor visitor_; | 2983 Visitor visitor_; |
| 2982 }; | 2984 }; |
| 2983 | 2985 |
| 2984 | 2986 |
| 2985 } } // namespace v8::internal | 2987 } } // namespace v8::internal |
| 2986 | 2988 |
| 2987 #endif // V8_AST_H_ | 2989 #endif // V8_AST_H_ |
| OLD | NEW |