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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 } | 43 } |
44 | 44 |
45 | 45 |
46 CodeEntry::CodeEntry(Logger::LogEventsAndTags tag, | 46 CodeEntry::CodeEntry(Logger::LogEventsAndTags tag, |
47 const char* name, | 47 const char* name, |
48 int security_token_id, | 48 int security_token_id, |
49 const char* name_prefix, | 49 const char* name_prefix, |
50 const char* resource_name, | 50 const char* resource_name, |
51 int line_number) | 51 int line_number) |
52 : tag_(tag), | 52 : tag_(tag), |
| 53 builtin_id_(Builtins::builtin_count), |
53 name_prefix_(name_prefix), | 54 name_prefix_(name_prefix), |
54 name_(name), | 55 name_(name), |
55 resource_name_(resource_name), | 56 resource_name_(resource_name), |
56 line_number_(line_number), | 57 line_number_(line_number), |
57 shared_id_(0), | 58 shared_id_(0), |
58 script_id_(v8::Script::kNoScriptId), | 59 script_id_(v8::Script::kNoScriptId), |
59 security_token_id_(security_token_id), | 60 security_token_id_(security_token_id), |
60 no_frame_ranges_(NULL) { | 61 no_frame_ranges_(NULL) { |
61 } | 62 } |
62 | 63 |
(...skipping 30 matching lines...) Expand all Loading... |
93 case OTHER: | 94 case OTHER: |
94 case EXTERNAL: | 95 case EXTERNAL: |
95 return program_entry_; | 96 return program_entry_; |
96 default: return NULL; | 97 default: return NULL; |
97 } | 98 } |
98 } | 99 } |
99 | 100 |
100 } } // namespace v8::internal | 101 } } // namespace v8::internal |
101 | 102 |
102 #endif // V8_PROFILE_GENERATOR_INL_H_ | 103 #endif // V8_PROFILE_GENERATOR_INL_H_ |
OLD | NEW |