V8 Project
v8::internal::CodeAgingHelper Class Reference

#include <codegen.h>

+ Collaboration diagram for v8::internal::CodeAgingHelper:

Public Member Functions

 CodeAgingHelper ()
 
uint32_t young_sequence_length () const
 
bool IsYoung (byte *candidate) const
 
void CopyYoungSequenceTo (byte *new_buffer) const
 

Protected Attributes

const EmbeddedVector< byte, kNoCodeAgeSequenceLengthyoung_sequence_
 

Detailed Description

Definition at line 152 of file codegen.h.

Constructor & Destructor Documentation

◆ CodeAgingHelper()

v8::internal::CodeAgingHelper::CodeAgingHelper ( )

Member Function Documentation

◆ CopyYoungSequenceTo()

void v8::internal::CodeAgingHelper::CopyYoungSequenceTo ( byte new_buffer) const
inline

Definition at line 162 of file codegen.h.

162  {
164  }
const EmbeddedVector< byte, kNoCodeAgeSequenceLength > young_sequence_
Definition: codegen.h:171
T * start() const
Definition: vector.h:47
int length() const
Definition: vector.h:41
void CopyBytes(uint8_t *target, uint8_t *source)

References v8::internal::CopyBytes(), v8::internal::Vector< T >::length(), v8::internal::Vector< T >::start(), and young_sequence_.

+ Here is the call graph for this function:

◆ IsYoung()

bool v8::internal::CodeAgingHelper::IsYoung ( byte candidate) const
inline

Definition at line 157 of file codegen.h.

157  {
158  return memcmp(candidate,
160  young_sequence_.length()) == 0;
161  }

References v8::internal::Vector< T >::length(), v8::internal::Vector< T >::start(), and young_sequence_.

+ Here is the call graph for this function:

◆ young_sequence_length()

uint32_t v8::internal::CodeAgingHelper::young_sequence_length ( ) const
inline

Definition at line 156 of file codegen.h.

156 { return young_sequence_.length(); }

References v8::internal::Vector< T >::length(), and young_sequence_.

+ Here is the call graph for this function:

Member Data Documentation

◆ young_sequence_

const EmbeddedVector<byte, kNoCodeAgeSequenceLength> v8::internal::CodeAgingHelper::young_sequence_
protected

Definition at line 171 of file codegen.h.

Referenced by CopyYoungSequenceTo(), IsYoung(), and young_sequence_length().


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