V8 Project
v8::internal::CommandMessage Class Reference

#include <debug.h>

+ Collaboration diagram for v8::internal::CommandMessage:

Public Member Functions

 CommandMessage ()
 
void Dispose ()
 
Vector< uint16_t > text () const
 
v8::Debug::ClientDataclient_data () const
 

Static Public Member Functions

static CommandMessage New (const Vector< uint16_t > &command, v8::Debug::ClientData *data)
 

Private Member Functions

 CommandMessage (const Vector< uint16_t > &text, v8::Debug::ClientData *data)
 

Private Attributes

Vector< uint16_t > text_
 
v8::Debug::ClientDataclient_data_
 

Detailed Description

Definition at line 277 of file debug.h.

Constructor & Destructor Documentation

◆ CommandMessage() [1/2]

v8::internal::CommandMessage::CommandMessage ( )

Definition at line 3281 of file debug.cc.

3282  client_data_(NULL) {
3283 }
Vector< uint16_t > text_
Definition: debug.h:291
v8::Debug::ClientData * client_data_
Definition: debug.h:292
static Vector< uint16_t > empty()
Definition: vector.h:95
enable harmony numeric enable harmony object literal extensions Optimize object Array DOM strings and string trace pretenuring decisions of HAllocate instructions Enables optimizations which favor memory size over execution speed maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining trace the tracking of allocation sites deoptimize every n garbage collections perform array bounds checks elimination analyze liveness of environment slots and zap dead values flushes the cache of optimized code for closures on every GC allow uint32 values on optimize frames if they are used only in safe operations track concurrent recompilation artificial compilation delay in ms do not emit check maps for constant values that have a leaf deoptimize the optimized code if the layout of the maps changes enable context specialization in TurboFan execution budget before interrupt is triggered max percentage of megamorphic generic ICs to allow optimization enable use of SAHF instruction if enable use of VFP3 instructions if available enable use of NEON instructions if enable use of SDIV and UDIV instructions if enable use of MLS instructions if enable loading bit constant by means of movw movt instruction enable unaligned accesses for enable use of d16 d31 registers on ARM this requires VFP3 force all emitted branches to be in long enable alignment of csp to bytes on platforms which prefer the register to always be NULL

Referenced by New().

+ Here is the caller graph for this function:

◆ CommandMessage() [2/2]

v8::internal::CommandMessage::CommandMessage ( const Vector< uint16_t > &  text,
v8::Debug::ClientData data 
)
private

Definition at line 3286 of file debug.cc.

3288  : text_(text),
3289  client_data_(data) {
3290 }
Vector< uint16_t > text() const
Definition: debug.h:285

Member Function Documentation

◆ client_data()

v8::Debug::ClientData* v8::internal::CommandMessage::client_data ( ) const
inline

Definition at line 286 of file debug.h.

286 { return client_data_; }

References client_data_.

Referenced by v8::internal::Debug::NotifyMessageHandler(), and v8::internal::Debug::ProcessDebugEvent().

+ Here is the caller graph for this function:

◆ Dispose()

void v8::internal::CommandMessage::Dispose ( )

Definition at line 3293 of file debug.cc.

3293  {
3294  text_.Dispose();
3295  delete client_data_;
3296  client_data_ = NULL;
3297 }

References client_data_, v8::internal::Vector< T >::Dispose(), NULL, and text_.

Referenced by v8::internal::Debug::NotifyMessageHandler(), and v8::internal::Debug::ProcessDebugEvent().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ New()

CommandMessage v8::internal::CommandMessage::New ( const Vector< uint16_t > &  command,
v8::Debug::ClientData data 
)
static

Definition at line 3300 of file debug.cc.

3301  {
3302  return CommandMessage(command.Clone(), data);
3303 }
Vector< T > Clone() const
Definition: vector.h:62

References v8::internal::Vector< T >::Clone(), and CommandMessage().

Referenced by v8::internal::Debug::EnqueueCommandMessage(), and v8::internal::Debug::EnqueueDebugCommand().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ text()

Vector<uint16_t> v8::internal::CommandMessage::text ( ) const
inline

Definition at line 285 of file debug.h.

285 { return text_; }

References text_.

Referenced by v8::internal::Debug::NotifyMessageHandler().

+ Here is the caller graph for this function:

Member Data Documentation

◆ client_data_

v8::Debug::ClientData* v8::internal::CommandMessage::client_data_
private

Definition at line 292 of file debug.h.

Referenced by client_data(), and Dispose().

◆ text_

Vector<uint16_t> v8::internal::CommandMessage::text_
private

Definition at line 291 of file debug.h.

Referenced by Dispose(), and text().


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