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

Go to the source code of this file.

Namespaces

namespace  v8
 
namespace  v8::internal
 
namespace  v8::internal::compiler
 

Macros

#define GET_CACHED_FIELD(ptr, expr)
 
#define DEFINE_GETTER(name, Type, expr)
 
#define DO_CACHED_FIELD(name, ...)
 

Functions

 v8::internal::compiler::DEFINE_GETTER (AllocateInYoungGenerationStubConstant, Code, HeapConstantNoHole(BUILTIN_CODE(isolate(), AllocateInYoungGeneration))) DEFINE_GETTER(AllocateInOldGenerationStubConstant
 
 v8::internal::compiler::HeapConstantNoHole (BUILTIN_CODE(isolate(), AllocateInOldGeneration))) DEFINE_GETTER(ArrayConstructorStubConstant
 
 v8::internal::compiler::HeapConstantNoHole (BUILTIN_CODE(isolate(), ArrayConstructorImpl))) DEFINE_GETTER(BigIntMapConstant
 
 v8::internal::compiler::HeapConstantNoHole (factory() ->bigint_map())) DEFINE_GETTER(BooleanMapConstant
 
 v8::internal::compiler::HeapConstantNoHole (factory() ->boolean_map())) DEFINE_GETTER(ToNumberBuiltinConstant
 
 v8::internal::compiler::HeapConstantNoHole (BUILTIN_CODE(isolate(), ToNumber))) DEFINE_GETTER(PlainPrimitiveToNumberBuiltinConstant
 
 v8::internal::compiler::HeapConstantNoHole (BUILTIN_CODE(isolate(), PlainPrimitiveToNumber))) DEFINE_GETTER(EmptyFixedArrayConstant
 
 v8::internal::compiler::HeapConstantNoHole (factory() ->empty_fixed_array())) DEFINE_GETTER(EmptyStringConstant
 
 v8::internal::compiler::HeapConstantNoHole (factory() ->empty_string())) DEFINE_GETTER(FixedArrayMapConstant
 
 v8::internal::compiler::HeapConstantNoHole (factory() ->fixed_array_map())) DEFINE_GETTER(PropertyArrayMapConstant
 
 v8::internal::compiler::HeapConstantNoHole (factory() ->property_array_map())) DEFINE_GETTER(FixedDoubleArrayMapConstant
 
 v8::internal::compiler::HeapConstantNoHole (factory() ->fixed_double_array_map())) DEFINE_GETTER(WeakFixedArrayMapConstant
 
 v8::internal::compiler::HeapConstantNoHole (factory() ->weak_fixed_array_map())) DEFINE_GETTER(HeapNumberMapConstant
 
 v8::internal::compiler::HeapConstantNoHole (factory() ->heap_number_map())) DEFINE_GETTER(UndefinedConstant
 
 v8::internal::compiler::HeapConstantNoHole (factory() ->undefined_value())) DEFINE_GETTER(TheHoleConstant
 
 v8::internal::compiler::HeapConstantHole (factory() ->the_hole_value())) DEFINE_GETTER(PropertyCellHoleConstant
 
 v8::internal::compiler::HeapConstantHole (factory() ->property_cell_hole_value())) DEFINE_GETTER(HashTableHoleConstant
 
 v8::internal::compiler::HeapConstantHole (factory() ->hash_table_hole_value())) DEFINE_GETTER(PromiseHoleConstant
 
 v8::internal::compiler::HeapConstantHole (factory() ->promise_hole_value())) DEFINE_GETTER(UninitializedConstant
 
 v8::internal::compiler::HeapConstantHole (factory() ->uninitialized_value())) DEFINE_GETTER(OptimizedOutConstant
 
 v8::internal::compiler::HeapConstantHole (factory() ->optimized_out())) DEFINE_GETTER(StaleRegisterConstant
 
 v8::internal::compiler::HeapConstantHole (factory() ->stale_register())) DEFINE_GETTER(TrueConstant
 
 v8::internal::compiler::HeapConstantNoHole (factory() ->true_value())) DEFINE_GETTER(FalseConstant
 
 v8::internal::compiler::HeapConstantNoHole (factory() ->false_value())) DEFINE_GETTER(NullConstant
 
 v8::internal::compiler::HeapConstantNoHole (factory() ->null_value())) DEFINE_GETTER(NaNConstant
 
 v8::internal::compiler::NumberConstant (std::numeric_limits< double >::quiet_NaN())) DEFINE_GETTER(EmptyStateValues
 

Variables

 v8::internal::compiler::Code
 
 v8::internal::compiler::Map
 
 v8::internal::compiler::FixedArray
 
 v8::internal::compiler::String
 
 v8::internal::compiler::Undefined
 
 v8::internal::compiler::Hole
 
 v8::internal::compiler::True
 
 v8::internal::compiler::False
 
 v8::internal::compiler::Null
 
 v8::internal::compiler::Number
 
 v8::internal::compiler::UntaggedT
 

Macro Definition Documentation

◆ DEFINE_GETTER

#define DEFINE_GETTER ( name,
Type,
expr )
Value:
TNode<Type> JSGraph::name() { \
return TNode<Type>::UncheckedCast(GET_CACHED_FIELD(&name##_, expr)); \
}
#define _
#define GET_CACHED_FIELD(ptr, expr)
Definition js-graph.cc:16

Definition at line 18 of file js-graph.cc.

◆ DO_CACHED_FIELD

#define DO_CACHED_FIELD ( name,
... )
Value:
if (name##_) nodes->push_back(name##_);

◆ GET_CACHED_FIELD

#define GET_CACHED_FIELD ( ptr,
expr )
Value:
(*(ptr)) ? *(ptr) : (*(ptr) = (expr))

Definition at line 16 of file js-graph.cc.