| Index: src/log.cc
|
| ===================================================================
|
| --- src/log.cc (revision 15486)
|
| +++ src/log.cc (working copy)
|
| @@ -491,6 +491,7 @@
|
| code_event_handler_(&event);
|
| }
|
|
|
| +
|
| void* Logger::IssueStartCodePosInfoEvent() {
|
| JitCodeEvent event;
|
| memset(&event, 0, sizeof(event));
|
| @@ -500,6 +501,7 @@
|
| return event.user_data;
|
| }
|
|
|
| +
|
| void Logger::IssueEndCodePosInfoEvent(Code* code, void* jit_handler_data) {
|
| JitCodeEvent event;
|
| memset(&event, 0, sizeof(event));
|
| @@ -828,6 +830,7 @@
|
| ApiEvent("api,%s,\"%s\",%u\n", tag, *class_name, index);
|
| }
|
|
|
| +
|
| void Logger::ApiObjectAccess(const char* tag, JSObject* object) {
|
| if (!log_->IsEnabled() || !FLAG_log_api) return;
|
| String* class_name_obj = object->class_name();
|
| @@ -1206,6 +1209,7 @@
|
| }
|
| }
|
|
|
| +
|
| void Logger::CodeStartLinePosInfoRecordEvent(PositionsRecorder* pos_recorder) {
|
| if (code_event_handler_ != NULL) {
|
| pos_recorder->AttachJITHandlerData(IssueStartCodePosInfoEvent());
|
| @@ -1219,6 +1223,7 @@
|
| }
|
| }
|
|
|
| +
|
| void Logger::SnapshotPositionEvent(Address addr, int pos) {
|
| if (!log_->IsEnabled()) return;
|
| if (FLAG_ll_prof) LowLevelSnapshotPositionEvent(addr, pos);
|
|
|