| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_LOG_H_ | 5 #ifndef V8_LOG_H_ |
| 6 #define V8_LOG_H_ | 6 #define V8_LOG_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 // object. | 203 // object. |
| 204 void SuspectReadEvent(Name* name, Object* obj); | 204 void SuspectReadEvent(Name* name, Object* obj); |
| 205 | 205 |
| 206 // Emits an event when a message is put on or read from a debugging queue. | 206 // Emits an event when a message is put on or read from a debugging queue. |
| 207 // DebugTag lets us put a call-site specific label on the event. | 207 // DebugTag lets us put a call-site specific label on the event. |
| 208 void DebugTag(const char* call_site_tag); | 208 void DebugTag(const char* call_site_tag); |
| 209 void DebugEvent(const char* event_type, Vector<uint16_t> parameter); | 209 void DebugEvent(const char* event_type, Vector<uint16_t> parameter); |
| 210 | 210 |
| 211 | 211 |
| 212 // ==== Events logged by --log-api. ==== | 212 // ==== Events logged by --log-api. ==== |
| 213 void ApiNamedSecurityCheck(Object* key); | 213 void ApiSecurityCheck(); |
| 214 void ApiIndexedSecurityCheck(uint32_t index); | |
| 215 void ApiNamedPropertyAccess(const char* tag, JSObject* holder, Object* name); | 214 void ApiNamedPropertyAccess(const char* tag, JSObject* holder, Object* name); |
| 216 void ApiIndexedPropertyAccess(const char* tag, | 215 void ApiIndexedPropertyAccess(const char* tag, |
| 217 JSObject* holder, | 216 JSObject* holder, |
| 218 uint32_t index); | 217 uint32_t index); |
| 219 void ApiObjectAccess(const char* tag, JSObject* obj); | 218 void ApiObjectAccess(const char* tag, JSObject* obj); |
| 220 void ApiEntryCall(const char* name); | 219 void ApiEntryCall(const char* name); |
| 221 | 220 |
| 222 | 221 |
| 223 // ==== Events logged by --log-code. ==== | 222 // ==== Events logged by --log-code. ==== |
| 224 void addCodeEventListener(CodeEventListener* listener); | 223 void addCodeEventListener(CodeEventListener* listener); |
| (...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 535 int length) = 0; | 534 int length) = 0; |
| 536 | 535 |
| 537 NameBuffer* name_buffer_; | 536 NameBuffer* name_buffer_; |
| 538 }; | 537 }; |
| 539 | 538 |
| 540 | 539 |
| 541 } } // namespace v8::internal | 540 } } // namespace v8::internal |
| 542 | 541 |
| 543 | 542 |
| 544 #endif // V8_LOG_H_ | 543 #endif // V8_LOG_H_ |
| OLD | NEW |