V8 Project
v8::internal::AllocationUtils Class Reference

#include <macro-assembler.h>

+ Collaboration diagram for v8::internal::AllocationUtils:

Static Public Member Functions

static ExternalReference GetAllocationTopReference (Isolate *isolate, AllocationFlags flags)
 
static ExternalReference GetAllocationLimitReference (Isolate *isolate, AllocationFlags flags)
 

Detailed Description

Definition at line 175 of file macro-assembler.h.

Member Function Documentation

◆ GetAllocationLimitReference()

static ExternalReference v8::internal::AllocationUtils::GetAllocationLimitReference ( Isolate isolate,
AllocationFlags  flags 
)
inlinestatic

Definition at line 189 of file macro-assembler.h.

190  {
191  if ((flags & PRETENURE_OLD_POINTER_SPACE) != 0) {
192  return ExternalReference::old_pointer_space_allocation_limit_address(
193  isolate);
194  } else if ((flags & PRETENURE_OLD_DATA_SPACE) != 0) {
195  return ExternalReference::old_data_space_allocation_limit_address(
196  isolate);
197  }
198  return ExternalReference::new_space_allocation_limit_address(isolate);
199  }
@ PRETENURE_OLD_POINTER_SPACE
@ PRETENURE_OLD_DATA_SPACE

References v8::internal::anonymous_namespace{flags.cc}::flags, PRETENURE_OLD_DATA_SPACE, and PRETENURE_OLD_POINTER_SPACE.

◆ GetAllocationTopReference()

static ExternalReference v8::internal::AllocationUtils::GetAllocationTopReference ( Isolate isolate,
AllocationFlags  flags 
)
inlinestatic

Definition at line 177 of file macro-assembler.h.

178  {
179  if ((flags & PRETENURE_OLD_POINTER_SPACE) != 0) {
180  return ExternalReference::old_pointer_space_allocation_top_address(
181  isolate);
182  } else if ((flags & PRETENURE_OLD_DATA_SPACE) != 0) {
183  return ExternalReference::old_data_space_allocation_top_address(isolate);
184  }
185  return ExternalReference::new_space_allocation_top_address(isolate);
186  }

References v8::internal::anonymous_namespace{flags.cc}::flags, PRETENURE_OLD_DATA_SPACE, and PRETENURE_OLD_POINTER_SPACE.


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