OLD | NEW |
---|---|
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
109 INLINE(bool has_name_prefix() const) { return name_prefix_[0] != '\0'; } | 109 INLINE(bool has_name_prefix() const) { return name_prefix_[0] != '\0'; } |
110 INLINE(const char* name() const) { return name_; } | 110 INLINE(const char* name() const) { return name_; } |
111 INLINE(const char* resource_name() const) { return resource_name_; } | 111 INLINE(const char* resource_name() const) { return resource_name_; } |
112 INLINE(int line_number() const) { return line_number_; } | 112 INLINE(int line_number() const) { return line_number_; } |
113 INLINE(void set_shared_id(int shared_id)) { shared_id_ = shared_id; } | 113 INLINE(void set_shared_id(int shared_id)) { shared_id_ = shared_id; } |
114 INLINE(int script_id() const) { return script_id_; } | 114 INLINE(int script_id() const) { return script_id_; } |
115 INLINE(void set_script_id(int script_id)) { script_id_ = script_id; } | 115 INLINE(void set_script_id(int script_id)) { script_id_ = script_id; } |
116 INLINE(int security_token_id() const) { return security_token_id_; } | 116 INLINE(int security_token_id() const) { return security_token_id_; } |
117 | 117 |
118 INLINE(static bool is_js_function_tag(Logger::LogEventsAndTags tag)); | 118 INLINE(static bool is_js_function_tag(Logger::LogEventsAndTags tag)); |
119 Logger::LogEventsAndTags tag() const { return tag_; } | |
loislo
2013/07/03 08:50:32
revert?
yurys
2013/07/03 08:56:06
Done.
| |
119 | 120 |
120 List<OffsetRange>* no_frame_ranges() const { return no_frame_ranges_; } | 121 List<OffsetRange>* no_frame_ranges() const { return no_frame_ranges_; } |
121 void set_no_frame_ranges(List<OffsetRange>* ranges) { | 122 void set_no_frame_ranges(List<OffsetRange>* ranges) { |
122 no_frame_ranges_ = ranges; | 123 no_frame_ranges_ = ranges; |
123 } | 124 } |
124 | 125 |
125 void SetBuiltinId(Builtins::Name id); | 126 void SetBuiltinId(Builtins::Name id); |
126 Builtins::Name builtin_id() const { return builtin_id_; } | 127 Builtins::Name builtin_id() const { return builtin_id_; } |
127 | 128 |
128 void CopyData(const CodeEntry& source); | 129 void CopyData(const CodeEntry& source); |
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
443 CodeEntry* unresolved_entry_; | 444 CodeEntry* unresolved_entry_; |
444 SampleRateCalculator sample_rate_calc_; | 445 SampleRateCalculator sample_rate_calc_; |
445 | 446 |
446 DISALLOW_COPY_AND_ASSIGN(ProfileGenerator); | 447 DISALLOW_COPY_AND_ASSIGN(ProfileGenerator); |
447 }; | 448 }; |
448 | 449 |
449 | 450 |
450 } } // namespace v8::internal | 451 } } // namespace v8::internal |
451 | 452 |
452 #endif // V8_PROFILE_GENERATOR_H_ | 453 #endif // V8_PROFILE_GENERATOR_H_ |
OLD | NEW |