v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
builtins-array-gen.cc File Reference
Include dependency graph for builtins-array-gen.cc:

Go to the source code of this file.

Classes

class  v8::internal::ArrayPopulatorAssembler
 
class  v8::internal::ArrayIncludesIndexofAssembler
 
class  v8::internal::SlowBoilerplateCloneAssembler
 

Namespaces

namespace  v8
 
namespace  v8::internal
 

Macros

#define V8_CODEGEN_CODE_STUB_ASSEMBLER_MACROS_DEFINED   1
 
#define CSA_CHECK(csa, x)
 
#define CSA_HOLE_SECURITY_CHECK(csa, x)
 
#define CSA_DCHECK(csa, ...)
 
#define CSA_DCHECK_JS_ARGC_EQ(csa, expected)
 
#define BIND(label)
 
#define TYPED_VARIABLE_DEF(type, name, ...)
 
#define TYPED_VARIABLE_CONSTRUCTOR(name, ...)
 
#define TVARIABLE(...)
 
#define TVARIABLE_CONSTRUCTOR(...)
 
#define CSA_SLOW_DCHECK(csa, ...)
 
#define CSA_SBXCHECK(csa, ...)
 
#define ELEMENTS_KIND(Type, type, TYPE, ctype)
 
#define GENERATE_ARRAY_CTOR(name, kind_camel, kind_caps, mode_camel, mode_caps)
 

Functions

 v8::internal::TF_BUILTIN (ArrayPrototypePop, CodeStubAssembler)
 
 v8::internal::TF_BUILTIN (ArrayPrototypePush, CodeStubAssembler)
 
 v8::internal::TF_BUILTIN (ExtractFastJSArray, ArrayBuiltinsAssembler)
 
 v8::internal::TF_BUILTIN (CloneFastJSArray, ArrayBuiltinsAssembler)
 
 v8::internal::TF_BUILTIN (CloneFastJSArrayFillingHoles, ArrayBuiltinsAssembler)
 
 v8::internal::TF_BUILTIN (TypedArrayPrototypeMap, ArrayBuiltinsAssembler)
 
 v8::internal::TF_BUILTIN (ArrayIncludes, ArrayIncludesIndexofAssembler)
 
 v8::internal::TF_BUILTIN (ArrayIncludesSmi, ArrayIncludesIndexofAssembler)
 
 v8::internal::TF_BUILTIN (ArrayIncludesSmiOrObject, ArrayIncludesIndexofAssembler)
 
 v8::internal::TF_BUILTIN (ArrayIncludesPackedDoubles, ArrayIncludesIndexofAssembler)
 
 v8::internal::TF_BUILTIN (ArrayIncludesHoleyDoubles, ArrayIncludesIndexofAssembler)
 
 v8::internal::TF_BUILTIN (ArrayIndexOf, ArrayIncludesIndexofAssembler)
 
 v8::internal::TF_BUILTIN (ArrayIndexOfSmi, ArrayIncludesIndexofAssembler)
 
 v8::internal::TF_BUILTIN (ArrayIndexOfSmiOrObject, ArrayIncludesIndexofAssembler)
 
 v8::internal::TF_BUILTIN (ArrayIndexOfPackedDoubles, ArrayIncludesIndexofAssembler)
 
 v8::internal::TF_BUILTIN (ArrayIndexOfHoleyDoubles, ArrayIncludesIndexofAssembler)
 
 v8::internal::TF_BUILTIN (ArrayPrototypeValues, CodeStubAssembler)
 
 v8::internal::TF_BUILTIN (ArrayPrototypeEntries, CodeStubAssembler)
 
 v8::internal::TF_BUILTIN (ArrayPrototypeKeys, CodeStubAssembler)
 
 v8::internal::TF_BUILTIN (ArrayIteratorPrototypeNext, CodeStubAssembler)
 
 v8::internal::TF_BUILTIN (ArrayConstructor, ArrayBuiltinsAssembler)
 
 v8::internal::TF_BUILTIN (ArrayConstructorImpl, ArrayBuiltinsAssembler)
 
 v8::internal::TF_BUILTIN (ArrayNArgumentsConstructor, ArrayBuiltinsAssembler)
 
 v8::internal::GENERATE_ARRAY_CTOR (NoArgument, PackedSmi, PACKED_SMI_ELEMENTS, DontOverride, DONT_OVERRIDE) GENERATE_ARRAY_CTOR(NoArgument
 
DONT_OVERRIDE v8::internal::GENERATE_ARRAY_CTOR (NoArgument, PackedSmi, PACKED_SMI_ELEMENTS, DisableAllocationSites, DISABLE_ALLOCATION_SITES) GENERATE_ARRAY_CTOR(NoArgument
 
DONT_OVERRIDE DISABLE_ALLOCATION_SITES v8::internal::GENERATE_ARRAY_CTOR (NoArgument, Packed, PACKED_ELEMENTS, DisableAllocationSites, DISABLE_ALLOCATION_SITES) GENERATE_ARRAY_CTOR(NoArgument
 
DONT_OVERRIDE DISABLE_ALLOCATION_SITES DISABLE_ALLOCATION_SITES v8::internal::GENERATE_ARRAY_CTOR (NoArgument, PackedDouble, PACKED_DOUBLE_ELEMENTS, DisableAllocationSites, DISABLE_ALLOCATION_SITES) GENERATE_ARRAY_CTOR(NoArgument
 
DONT_OVERRIDE DISABLE_ALLOCATION_SITES DISABLE_ALLOCATION_SITES DISABLE_ALLOCATION_SITES v8::internal::GENERATE_ARRAY_CTOR (SingleArgument, PackedSmi, PACKED_SMI_ELEMENTS, DontOverride, DONT_OVERRIDE) GENERATE_ARRAY_CTOR(SingleArgument
 
DONT_OVERRIDE DISABLE_ALLOCATION_SITES DISABLE_ALLOCATION_SITES DISABLE_ALLOCATION_SITES DONT_OVERRIDE v8::internal::GENERATE_ARRAY_CTOR (SingleArgument, PackedSmi, PACKED_SMI_ELEMENTS, DisableAllocationSites, DISABLE_ALLOCATION_SITES) GENERATE_ARRAY_CTOR(SingleArgument
 
DONT_OVERRIDE DISABLE_ALLOCATION_SITES DISABLE_ALLOCATION_SITES DISABLE_ALLOCATION_SITES DONT_OVERRIDE DISABLE_ALLOCATION_SITES v8::internal::GENERATE_ARRAY_CTOR (SingleArgument, Packed, PACKED_ELEMENTS, DisableAllocationSites, DISABLE_ALLOCATION_SITES) GENERATE_ARRAY_CTOR(SingleArgument
 
DONT_OVERRIDE DISABLE_ALLOCATION_SITES DISABLE_ALLOCATION_SITES DISABLE_ALLOCATION_SITES DONT_OVERRIDE DISABLE_ALLOCATION_SITES DISABLE_ALLOCATION_SITES v8::internal::GENERATE_ARRAY_CTOR (SingleArgument, PackedDouble, PACKED_DOUBLE_ELEMENTS, DisableAllocationSites, DISABLE_ALLOCATION_SITES) GENERATE_ARRAY_CTOR(SingleArgument
 
 v8::internal::TF_BUILTIN (CreateArrayFromSlowBoilerplate, SlowBoilerplateCloneAssembler)
 
 v8::internal::TF_BUILTIN (CreateObjectFromSlowBoilerplate, SlowBoilerplateCloneAssembler)
 
 v8::internal::TF_BUILTIN (CreateArrayFromSlowBoilerplateHelper, SlowBoilerplateCloneAssembler)
 
 v8::internal::TF_BUILTIN (CreateObjectFromSlowBoilerplateHelper, SlowBoilerplateCloneAssembler)
 

Variables

 v8::internal::HoleySmi
 
 v8::internal::HOLEY_SMI_ELEMENTS
 
 v8::internal::DontOverride
 
DONT_OVERRIDE v8::internal::DisableAllocationSites
 
DONT_OVERRIDE DISABLE_ALLOCATION_SITES v8::internal::Holey
 
DONT_OVERRIDE DISABLE_ALLOCATION_SITES v8::internal::HOLEY_ELEMENTS
 
DONT_OVERRIDE DISABLE_ALLOCATION_SITES DISABLE_ALLOCATION_SITES v8::internal::HoleyDouble
 
DONT_OVERRIDE DISABLE_ALLOCATION_SITES DISABLE_ALLOCATION_SITES v8::internal::HOLEY_DOUBLE_ELEMENTS
 

Macro Definition Documentation

◆ BIND

#define BIND ( label)
Value:
Bind(label)
Label label

◆ CSA_CHECK

#define CSA_CHECK ( csa,
x )
Value:
(csa)->FastCheck(x)
CodeStubAssembler & csa
int x

◆ CSA_DCHECK

#define CSA_DCHECK ( csa,
... )
Value:
((void)0)

◆ CSA_DCHECK_JS_ARGC_EQ

#define CSA_DCHECK_JS_ARGC_EQ ( csa,
expected )
Value:
((void)0)

◆ CSA_HOLE_SECURITY_CHECK

#define CSA_HOLE_SECURITY_CHECK ( csa,
x )
Value:
(csa)->Check([&]() -> TNode<BoolT> { return x; }, #x, __FILE__, __LINE__)

◆ CSA_SBXCHECK

#define CSA_SBXCHECK ( csa,
... )
Value:
CSA_DCHECK(csa, __VA_ARGS__)
#define CSA_DCHECK(csa,...)

◆ CSA_SLOW_DCHECK

#define CSA_SLOW_DCHECK ( csa,
... )
Value:
((void)0)

◆ ELEMENTS_KIND

#define ELEMENTS_KIND ( Type,
type,
TYPE,
ctype )
Value:
TYPE##_ELEMENTS,

◆ GENERATE_ARRAY_CTOR

#define GENERATE_ARRAY_CTOR ( name,
kind_camel,
kind_caps,
mode_camel,
mode_caps )
Value:
TF_BUILTIN(Array##name##Constructor_##kind_camel##_##mode_camel, \
ArrayBuiltinsAssembler) { \
GenerateArray##name##Constructor(kind_caps, mode_caps); \
}
#define TF_BUILTIN(Name, AssemblerBase)
#define _

Definition at line 1900 of file builtins-array-gen.cc.

◆ TVARIABLE

#define TVARIABLE ( ...)
Value:
EXPAND(TYPED_VARIABLE_DEF(__VA_ARGS__, this))
#define TYPED_VARIABLE_DEF(type, name,...)
#define EXPAND(X)
Definition macros.h:16

◆ TVARIABLE_CONSTRUCTOR

#define TVARIABLE_CONSTRUCTOR ( ...)
Value:
EXPAND(TYPED_VARIABLE_CONSTRUCTOR(__VA_ARGS__, this))
#define TYPED_VARIABLE_CONSTRUCTOR(name,...)

◆ TYPED_VARIABLE_CONSTRUCTOR

#define TYPED_VARIABLE_CONSTRUCTOR ( name,
... )
Value:
name(__VA_ARGS__)
const char * name
Definition builtins.cc:39

◆ TYPED_VARIABLE_DEF

#define TYPED_VARIABLE_DEF ( type,
name,
... )
Value:
TVariable<UNPAREN(type)> name(__VA_ARGS__)
#define UNPAREN(X)
Definition macros.h:53

◆ V8_CODEGEN_CODE_STUB_ASSEMBLER_MACROS_DEFINED

#define V8_CODEGEN_CODE_STUB_ASSEMBLER_MACROS_DEFINED   1