V8 Project
v8::internal::CodeMap::CodeTreePrinter Class Reference
+ Collaboration diagram for v8::internal::CodeMap::CodeTreePrinter:

Public Member Functions

void Call (const Address &key, const CodeEntryInfo &value)
 

Detailed Description

Definition at line 239 of file profile-generator.h.

Member Function Documentation

◆ Call()

void v8::internal::CodeMap::CodeTreePrinter::Call ( const Address key,
const CodeEntryInfo value 
)

Definition at line 418 of file profile-generator.cc.

419  {
420  // For shared function entries, 'size' field is used to store their IDs.
421  if (value.entry == kSharedFunctionCodeEntry) {
422  base::OS::Print("%p SharedFunctionInfo %d\n", key, value.size);
423  } else {
424  base::OS::Print("%p %5d %s\n", key, value.size, value.entry->name());
425  }
426 }
static void Print(const char *format,...)
static CodeEntry *const kSharedFunctionCodeEntry

References v8::internal::CodeMap::CodeEntryInfo::entry, v8::internal::CodeMap::kSharedFunctionCodeEntry, v8::internal::CodeEntry::name(), v8::base::OS::Print(), and v8::internal::CodeMap::CodeEntryInfo::size.

+ Here is the call graph for this function:

The documentation for this class was generated from the following files: