OLD | NEW |
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 JSObject* holder, | 156 JSObject* holder, |
157 uint32_t index); | 157 uint32_t index); |
158 static void ApiObjectAccess(const char* tag, JSObject* obj); | 158 static void ApiObjectAccess(const char* tag, JSObject* obj); |
159 static void ApiEntryCall(const char* name); | 159 static void ApiEntryCall(const char* name); |
160 | 160 |
161 | 161 |
162 // ==== Events logged by --log-code. ==== | 162 // ==== Events logged by --log-code. ==== |
163 // Emits a code create event. | 163 // Emits a code create event. |
164 static void CodeCreateEvent(const char* tag, Code* code, const char* source); | 164 static void CodeCreateEvent(const char* tag, Code* code, const char* source); |
165 static void CodeCreateEvent(const char* tag, Code* code, String* name); | 165 static void CodeCreateEvent(const char* tag, Code* code, String* name); |
| 166 static void CodeCreateEvent(const char* tag, Code* code, String* name, |
| 167 String* source, int line); |
166 static void CodeCreateEvent(const char* tag, Code* code, int args_count); | 168 static void CodeCreateEvent(const char* tag, Code* code, int args_count); |
167 static void CodeAllocateEvent(Code* code, Assembler* assem); | 169 static void CodeAllocateEvent(Code* code, Assembler* assem); |
168 // Emits a code move event. | 170 // Emits a code move event. |
169 static void CodeMoveEvent(Address from, Address to); | 171 static void CodeMoveEvent(Address from, Address to); |
170 // Emits a code delete event. | 172 // Emits a code delete event. |
171 static void CodeDeleteEvent(Address from); | 173 static void CodeDeleteEvent(Address from); |
172 // Emits region delimiters | 174 // Emits region delimiters |
173 static void BeginCodeRegionEvent(CodeRegion* region, | 175 static void BeginCodeRegionEvent(CodeRegion* region, |
174 Assembler* masm, | 176 Assembler* masm, |
175 const char* name); | 177 const char* name); |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 friend class Profiler; | 254 friend class Profiler; |
253 friend class SlidingStateWindow; | 255 friend class SlidingStateWindow; |
254 friend class VMState; | 256 friend class VMState; |
255 #endif | 257 #endif |
256 }; | 258 }; |
257 | 259 |
258 | 260 |
259 } } // namespace v8::internal | 261 } } // namespace v8::internal |
260 | 262 |
261 #endif // V8_LOG_H_ | 263 #endif // V8_LOG_H_ |
OLD | NEW |