V8 Project
v8::internal::Handle< T > Class Template Reference

#include <handles.h>

+ Inheritance diagram for v8::internal::Handle< T >:
+ Collaboration diagram for v8::internal::Handle< T >:

Public Member Functions

 INLINE (explicit Handle(T **location))
 
 INLINE (explicit Handle(T *obj))
 
 INLINE (Handle(T *obj, Isolate *isolate))
 
 INLINE (Handle())
 
template<class S >
 Handle (Handle< S > handle)
 
 INLINE (T *operator->() const)
 
 INLINE (bool is_identical_to(const Handle< T > other) const)
 
 INLINE (T *operator*() const)
 
 INLINE (T **location() const)
 
bool is_null () const
 
Handle< TEscapeFrom (v8::EscapableHandleScope *scope)
 
template<typename T >
 Handle (T *obj)
 
template<typename T >
 Handle (T *obj, Isolate *isolate)
 

Static Public Member Functions

template<class S >
static Handle< Tcast (Handle< S > that)
 
static Handle< Tnull ()
 

Private Attributes

T ** location_
 

Friends

template<class S >
class Handle
 

Detailed Description

template<typename T>
class v8::internal::Handle< T >

Definition at line 83 of file handles.h.

Constructor & Destructor Documentation

◆ Handle() [1/3]

template<typename T >
template<class S >
v8::internal::Handle< T >::Handle ( Handle< S handle)
inline

Definition at line 95 of file handles.h.

95  {
96 #ifdef DEBUG
97  T* a = NULL;
98  S* b = NULL;
99  a = b; // Fake assignment to enforce type checks.
100  USE(a);
101 #endif
102  location_ = reinterpret_cast<T**>(handle.location_);
103  }
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
void USE(T)
Definition: macros.h:322
Handle< T > handle(T *t, Isolate *isolate)
Definition: handles.h:146
#define T(name, string, precedence)
Definition: token.cc:25

References v8::internal::handle(), v8::internal::Handle< T >::location_, NULL, v8::internal::S, T, and USE().

+ Here is the call graph for this function:

◆ Handle() [2/3]

template<typename T >
template<typename T >
v8::internal::Handle< T >::Handle ( T obj)

Definition at line 18 of file handles-inl.h.

18  {
19  location_ = HandleScope::CreateHandle(obj->GetIsolate(), obj);
20 }
static T ** CreateHandle(Isolate *isolate, T *value)
Definition: handles-inl.h:138

References v8::internal::HandleScope::CreateHandle().

+ Here is the call graph for this function:

◆ Handle() [3/3]

template<typename T >
template<typename T >
v8::internal::Handle< T >::Handle ( T obj,
Isolate isolate 
)

Definition at line 24 of file handles-inl.h.

24  {
25  location_ = HandleScope::CreateHandle(isolate, obj);
26 }

References v8::internal::HandleScope::CreateHandle().

+ Here is the call graph for this function:

Member Function Documentation

◆ cast()

template<typename T >
template<class S >
static Handle<T> v8::internal::Handle< T >::cast ( Handle< S that)
inlinestatic

Definition at line 116 of file handles.h.

116  {
117  T::cast(*reinterpret_cast<T**>(that.location_));
118  return Handle<T>(reinterpret_cast<T**>(that.location_));
119  }

References v8::internal::Handle< T >::location_, and T.

Referenced by v8::internal::ScriptCache::Add(), v8::internal::SharedFunctionInfo::AddToOptimizedCodeMap(), v8::internal::OrderedHashTable< Derived, Iterator, entrysize >::Allocate(), v8::internal::ModuleInfo::Allocate(), v8::internal::DescriptorArray::Allocate(), v8::internal::TransitionArray::Allocate(), v8::internal::TransitionArray::AllocateSimple(), v8::internal::ArrayConstructInitializeElements(), v8::internal::ArrayConstructorCommon(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::AsPropertyName(), v8::internal::RegExpCompiler::Assemble(), v8::internal::TypeFeedbackOracle::BinaryType(), v8::UnboundScript::BindToCurrentContext(), v8::internal::HOptimizedGraphBuilder::BuildEmitFixedArray(), v8::internal::HOptimizedGraphBuilder::BuildEmitInObjectProperties(), v8::internal::HOptimizedGraphBuilder::BuildEmitObjectHeader(), v8::internal::HOptimizedGraphBuilder::BuildStore(), v8::internal::BUILTIN(), v8::Object::CallAsConstructor(), v8::Object::CallAsFunction(), v8::internal::CallJsBuiltin(), v8::CallV8HeapFunction(), v8::internal::HeapTypeConfig::cast(), v8::internal::CheckActivation(), v8::internal::Debug::CheckBreakPoint(), v8::CheckConstructor(), v8::internal::TypeFeedbackOracle::CollectReceiverTypes(), v8::internal::TypeFeedbackOracle::CompareType(), v8::internal::LoadIC::CompileHandler(), v8::internal::StoreIC::CompileHandler(), v8::internal::NamedLoadHandlerCompiler::CompileLoadInterceptor(), v8::internal::NamedStoreHandlerCompiler::CompileStoreTransition(), v8::internal::IC::ComputeHandler(), v8::internal::PropertyICCompiler::ComputeKeyedLoadMonomorphic(), v8::internal::PropertyICCompiler::ComputeKeyedLoadPolymorphic(), v8::internal::PropertyICCompiler::ComputeKeyedStoreMonomorphic(), v8::internal::PropertyICCompiler::ComputeKeyedStorePolymorphic(), v8::internal::NamedLoadHandlerCompiler::ComputeLoadNonexistent(), v8::internal::TypeFeedbackVector::Copy(), v8::internal::CopyFastElementsToDictionary(), v8::internal::TypeFeedbackOracle::CountType(), v8::internal::Runtime::CreateArrayLiteralBoilerplate(), v8::CreateEnvironment(), v8::internal::CreateObjectLiteralBoilerplate(), v8::Date::DateTimeConfigurationChangeNotification(), v8::internal::DebugEvaluate(), v8::internal::DebugInfoListNode::DebugInfoListNode(), v8::internal::MessageHandler::DefaultMessageReport(), v8::internal::Runtime::DefineObjectProperty(), v8::internal::FastElementsAccessor< FastElementsAccessorSubclass, KindTraits >::DeleteCommon(), v8::internal::DictionaryElementsAccessor::DeleteCommon(), v8::internal::JSObject::DeleteElement(), v8::internal::Runtime::DeleteObjectProperty(), v8::internal::Isolate::DoThrow(), v8::Isolate::EnqueueMicrotask(), v8::internal::JSObject::EnsureCanContainElements(), v8::internal::EnsureJSArrayWithWritableFastElements(), v8::internal::ExternalArrayIntSetter(), v8::internal::LiveEdit::FindActiveGenerators(), v8::internal::String::Flatten(), v8::internal::Accessors::FlattenNumber(), v8::Private::ForApi(), v8::internal::DependentCode::ForObject(), v8::internal::HeapTypeConfig::from_class(), v8::internal::HeapTypeConfig::from_struct(), v8::FunctionTemplateNew(), v8::internal::LiveEdit::GatherCompileInfo(), v8::internal::NamedLoadHandlerCompiler::GenerateLoadPostInterceptor(), v8::internal::MaterializedObjectStore::Get(), v8::internal::SloppyArgumentsElementsAccessor::GetAccessorPairImpl(), v8::internal::DictionaryElementsAccessor::GetAccessorPairImpl(), v8::internal::ElementsAccessorBase< ElementsAccessorSubclass, ElementsTraitsParam >::GetAttributesImpl(), v8::internal::DictionaryElementsAccessor::GetAttributesImpl(), v8::internal::SloppyArgumentsElementsAccessor::GetAttributesImpl(), v8::internal::JSTypedArray::GetBuffer(), v8::internal::compiler::JSCallReduction::GetBuiltinFunctionId(), v8::internal::TypeFeedbackOracle::GetCallAllocationSite(), v8::internal::TypeFeedbackOracle::GetCallNewAllocationSite(), v8::internal::TypeFeedbackOracle::GetCallNewTarget(), v8::internal::TypeFeedbackOracle::GetCallTarget(), v8::internal::SloppyArgumentsElementsAccessor::GetCapacityImpl(), v8::Function::GetDisplayName(), v8::internal::Runtime::GetElementOrCharAt(), v8::internal::JSObject::GetElementWithCallback(), v8::internal::Object::GetElementWithReceiver(), v8::Message::GetEndColumn(), v8::Message::GetEndPosition(), v8::internal::anonymous_namespace{i18n.cc}::GetEternal(), v8::String::GetExternalOneByteStringResource(), v8::internal::FunctionInfoWrapper::GetFeedbackVector(), v8::StackTrace::GetFrame(), v8::internal::FunctionInfoWrapper::GetFunctionCode(), v8::internal::BASE_EMBEDDED< Visitor >::GetHolder(), v8::UnboundScript::GetId(), v8::internal::SloppyArgumentsElementsAccessor::GetImpl(), v8::internal::DictionaryElementsAccessor::GetImpl(), v8::internal::SharedInfoWrapper::GetInfo(), v8::internal::TypeFeedbackOracle::GetInfo(), v8::internal::DictionaryElementsAccessor::GetKeyForIndexImpl(), v8::internal::JSReceiver::GetKeys(), v8::UnboundScript::GetLineNumber(), v8::internal::GetLiteralAllocationSite(), v8::internal::MessageHandler::GetMessage(), v8::Debug::GetMirror(), v8::internal::Script::GetNameOrSourceURL(), v8::internal::GetOldValue(), v8::internal::Object::GetOrCreateHash(), v8::internal::JSObject::GetOrCreateHiddenPropertiesHashtable(), v8::internal::JSObject::GetOrCreateIdentityHash(), v8::internal::GetOrCreateIdentityHashHelper(), v8::internal::GetOwnProperty(), v8::Object::GetPropertyAttributes(), v8::internal::Object::GetPropertyWithAccessor(), v8::internal::JSObject::GetPropertyWithInterceptor(), v8::UnboundScript::GetScriptName(), v8::Message::GetScriptOrigin(), v8::internal::JSArrayBasedStruct< S >::GetSmiValueField(), v8::UnboundScript::GetSourceMappingURL(), v8::UnboundScript::GetSourceURL(), v8::Message::GetStackTrace(), v8::Message::GetStartPosition(), v8::internal::TypeFeedbackOracle::GetStoreMode(), v8::internal::Isolate::GetSymbolRegistry(), v8::internal::CallIC::HandleMiss(), v8::internal::HOptimizedGraphBuilder::HandlePolymorphicCallNamed(), v8::internal::Debug::HandleStepIn(), v8::internal::ScriptCache::HandleWeakScript(), v8::internal::compiler::JSCallReduction::HasBuiltinFunctionId(), v8::internal::JSReceiver::HasElement(), v8::internal::FastElementsAccessor< FastElementsAccessorSubclass, KindTraits >::HasElementImpl(), v8::internal::SloppyArgumentsElementsAccessor::HasElementImpl(), v8::internal::DictionaryElementsAccessor::HasElementImpl(), v8::internal::JSReceiver::HasOwnElement(), v8::internal::JSReceiver::HasOwnProperty(), v8::internal::JSReceiver::HasProperty(), v8::internal::DependentCode::Insert(), v8::internal::InstantiateAccessorComponent(), v8::internal::PrototypeIterator::IsAtEnd(), v8::internal::IsFastLiteral(), v8::Value::IsGeneratorFunction(), v8::internal::SharedInfoWrapper::IsInstance(), v8::Value::IsPromise(), v8::Message::IsSharedCrossOrigin(), v8::internal::BASE_EMBEDDED< Visitor >::JsonParser(), v8::internal::Debug::Load(), v8::internal::KeyedLoadIC::Load(), v8::internal::TypeFeedbackOracle::LoadIsUninitialized(), v8::internal::LoadLookupSlotHelper(), v8::internal::HOptimizedGraphBuilder::PropertyAccessInfo::LoadResult(), v8::internal::CompilationCacheEval::Lookup(), v8::internal::CompilationCacheScript::Lookup(), v8::internal::CompilationCacheRegExp::Lookup(), v8::internal::StringTable::LookupKey(), v8::internal::MessageHandler::MakeMessageObject(), v8::internal::MatchLiteralCompareTypeof(), v8::internal::MaterializeArgumentsObject(), v8::internal::Deoptimizer::MaterializeNextHeapObject(), v8::internal::MigrateDeprecated(), v8::internal::JSObject::MigrateFastToSlow(), v8::TypeSwitch::New(), v8::ObjectTemplate::New(), v8::internal::NormalizedMapCache::New(), v8::Signature::New(), v8::internal::HashTable< Derived, Shape, Key >::New(), v8::internal::DeoptimizationInputData::New(), v8::internal::DeoptimizationOutputData::New(), v8::internal::PropertyHandlerCompiler::NonexistentFrontendHeader(), v8::internal::Map::Normalize(), v8::internal::JSObject::NormalizeElements(), v8::internal::Debug::NotifyMessageHandler(), v8::internal::NumberCacheHash(), v8::Object::ObjectProtoToString(), v8::internal::CallIC::PatchMegamorphic(), v8::internal::Debug::PromiseHasRejectHandler(), v8::internal::Isolate::PushPromise(), v8::Script::Run(), v8::internal::Isolate::RunMicrotasks(), v8::internal::RUNTIME_FUNCTION(), v8::internal::Runtime_NewObjectHelper(), v8::internal::CodeSerializer::Serialize(), v8::internal::ArrayConcatVisitor::set_storage(), v8::ObjectTemplate::SetAccessCheckCallbacks(), v8::internal::DebugInfo::SetBreakPoint(), v8::ObjectTemplate::SetCallAsFunctionHandler(), v8::FunctionTemplate::SetCallHandler(), v8::internal::Object::SetDataProperty(), v8::internal::JSObject::SetDictionaryElement(), v8::internal::JSObject::SetElementWithCallback(), v8::internal::JSObject::SetElementWithCallbackSetterInPrototypes(), v8::internal::JSObject::SetElementWithoutInterceptor(), v8::internal::JSObject::SetFastDoubleElement(), v8::internal::JSObject::SetFastDoubleElementsCapacityAndLength(), v8::internal::JSObject::SetFastElement(), v8::internal::JSObject::SetFastElementsCapacityAndLength(), v8::ObjectTemplate::SetIndexedPropertyHandler(), v8::internal::JSFunction::SetInitialMap(), v8::internal::ElementsAccessorBase< ElementsAccessorSubclass, ElementsTraitsParam >::SetLengthImpl(), v8::internal::FastElementsAccessor< FastElementsAccessorSubclass, KindTraits >::SetLengthWithoutNormalize(), v8::internal::DictionaryElementsAccessor::SetLengthWithoutNormalize(), v8::ObjectTemplate::SetNamedPropertyHandler(), v8::internal::Runtime::SetObjectProperty(), v8::internal::SetPropertyOnInstanceIfInherited(), v8::internal::JSObject::SetPropertyWithInterceptor(), v8::internal::JSObject::SetPrototype(), v8::internal::ExternalFloat32Array::SetValue(), v8::internal::ExternalUint32Array::SetValue(), v8::internal::ExternalUint8ClampedArray::SetValue(), v8::internal::FixedTypedArray< Traits >::SetValue(), v8::internal::Isolate::StackOverflow(), v8::internal::StoreIC::Store(), v8::internal::KeyedStoreIC::Store(), v8::internal::TypeFeedbackOracle::StoreIsKeyedPolymorphic(), v8::internal::TypeFeedbackOracle::StoreIsUninitialized(), v8::internal::StringReplaceGlobalAtomRegExpWithString(), v8::internal::StringReplaceGlobalRegExpWithEmptyString(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::StringValue(), v8::SymbolFor(), v8::internal::compiler::TEST_F(), v8::Value::ToArrayIndex(), v8::internal::TypeFeedbackOracle::ToBooleanTypes(), v8::internal::ToName(), v8::internal::Object::ToObject(), v8::internal::Object::ToSmi(), v8::internal::ReplacementStringBuilder::ToString(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::transition_map(), v8::internal::TransitionElements(), v8::internal::JSObject::TransitionElementsKind(), v8::internal::Map::TransitionToAccessorProperty(), v8::internal::TranslatePosition(), v8::internal::HOptimizedGraphBuilder::TryCallApply(), v8::internal::TryConvertKey(), v8::internal::IC::TryRemoveInvalidPrototypeDependentStub(), v8::internal::AllocationTracker::UnresolvedLocation::UnresolvedLocation(), v8::internal::FastElementsAccessor< FastElementsAccessorSubclass, KindTraits >::ValidateContents(), v8::internal::ElementsAccessorBase< ElementsAccessorSubclass, ElementsTraitsParam >::ValidateImpl(), v8::Date::ValueOf(), v8::NumberObject::ValueOf(), v8::BooleanObject::ValueOf(), v8::StringObject::ValueOf(), v8::SymbolObject::ValueOf(), v8::String::VerifyExternalStringResource(), v8::String::VerifyExternalStringResourceBase(), and v8::internal::WrapInJSValue().

◆ EscapeFrom()

template<class T >
v8::internal::Handle< T > v8::internal::Handle< T >::EscapeFrom ( v8::EscapableHandleScope scope)
inline

Definition at line 298 of file api.h.

299  {
301  if (!is_null()) {
302  handle = *this;
303  }
304  return Utils::OpenHandle(*scope->Escape(Utils::ToLocal(handle)), true);
305 }
Local< T > Escape(Local< T > value)
Pushes the value into the previous scope and returns a handle to it.
Definition: v8.h:865
static Local< Context > ToLocal(v8::internal::Handle< v8::internal::Context > obj)
static v8::internal::Handle< To > OpenHandle(v8::Local< From > handle)
Definition: api.h:288
bool is_null() const
Definition: handles.h:124

References v8::EscapableHandleScope::Escape(), v8::internal::handle(), v8::Utils::OpenHandle(), and v8::Utils::ToLocal().

+ Here is the call graph for this function:

◆ INLINE() [1/8]

template<typename T >
v8::internal::Handle< T >::INLINE ( bool is_identical_to(const Handle< T > other) const  )

◆ INLINE() [2/8]

template<typename T >
v8::internal::Handle< T >::INLINE ( explicit   HandleT **location)
inline

Definition at line 85 of file handles.h.

85 { location_ = location; }

References v8::internal::Handle< T >::location_.

◆ INLINE() [3/8]

template<typename T >
v8::internal::Handle< T >::INLINE ( explicit   HandleT *obj)

◆ INLINE() [4/8]

template<typename T >
v8::internal::Handle< T >::INLINE ( Handle< T >()  )
inline

Definition at line 91 of file handles.h.

91 : location_(NULL) { }

◆ INLINE() [5/8]

template<typename T >
v8::internal::Handle< T >::INLINE ( Handle< T >(T *obj, Isolate *isolate)  )

◆ INLINE() [6/8]

template<typename T >
v8::internal::Handle< T >::INLINE ( T **location() const  )

◆ INLINE() [7/8]

template<typename T >
v8::internal::Handle< T >::INLINE ( T *operator*() const  )

◆ INLINE() [8/8]

template<typename T >
v8::internal::Handle< T >::INLINE ( T *operator->() const  )
inline

Definition at line 105 of file handles.h.

105 { return operator*(); }

◆ is_null()

template<typename T >
bool v8::internal::Handle< T >::is_null ( ) const
inline

Definition at line 124 of file handles.h.

124 { return location_ == NULL; }

References v8::internal::Handle< T >::location_, and NULL.

Referenced by v8::internal::BASE_EMBEDDED< Visitor >::Add(), v8::internal::HOptimizedGraphBuilder::AddCheckPrototypeMaps(), v8::internal::AddOneReceiverMapIfMissing(), v8::internal::ArrayConstructorCommon(), v8::internal::HOptimizedGraphBuilder::BuildBinaryOperation(), v8::internal::HGraphBuilder::BuildCheckPrototypeMaps(), v8::internal::HOptimizedGraphBuilder::BuildInlinedCallArray(), v8::internal::JSProxy::CallTrap(), v8::internal::Isolate::CaptureSimpleStackTrace(), v8::Object::Clone(), v8::Array::CloneElementAt(), v8::ScriptCompiler::Compile(), v8::internal::Debug::CompileDebuggerScript(), v8::internal::PropertyICCompiler::CompileKeyedStorePolymorphic(), v8::internal::Compiler::CompileScript(), v8::internal::NamedStoreHandlerCompiler::CompileStoreTransition(), v8::internal::CompileToplevel(), v8::ScriptCompiler::CompileUnbound(), v8::internal::PropertyICCompiler::ComputeCompareNil(), v8::internal::IC::ComputeHandler(), v8::internal::NamedLoadHandlerCompiler::ComputeLoadNonexistent(), v8::internal::PropertyICCompiler::ComputeMonomorphic(), v8::internal::ContainsMap(), v8::Utils::Convert(), v8::internal::DeclaredAccessorDescriptor::Create(), v8::CreateEnvironment(), v8::internal::Isolate::DoThrow(), v8::internal::AllocationSiteCreationContext::EnterNewScope(), v8::Value::Equals(), v8::internal::AllocationSiteCreationContext::ExitScope(), v8::HeapProfiler::FindObjectById(), v8::internal::Debug::FindSharedFunctionInfoInScript(), v8::internal::Map::FindTransitionedMap(), v8::internal::Debug::FloodBoundFunctionWithOneShot(), v8::internal::JSObject::Freeze(), v8::internal::LiveEdit::GatherCompileInfo(), v8::internal::OptimizedCompileJob::GenerateCode(), v8::internal::compiler::Pipeline::GenerateCodeForMachineGraph(), v8::Isolate::GetCallingContext(), v8::internal::GetDebugEventContext(), v8::Isolate::GetEnteredContext(), v8::internal::GetEnumPropertyKeys(), v8::internal::Compiler::GetFunctionFromEval(), v8::internal::Object::GetProperty(), v8::internal::HOptimizedGraphBuilder::HandlePolymorphicElementAccess(), v8::internal::Debug::HandleStepIn(), v8::internal::HValue::HasMonomorphicJSObjectType(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HInvokeFunction(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HStringAdd(), v8::internal::BASE_EMBEDDED< Visitor >::INLINE(), v8::internal::OptimizingCompilerThread::InstallOptimizedFunctions(), v8::internal::AstValue::Internalize(), v8::internal::HOptimizedGraphBuilder::IsCallArrayInlineable(), v8::internal::Debug::Load(), v8::internal::KeyedLoadIC::Load(), v8::internal::LoadLookupSlotHelper(), v8::internal::MessageHandler::MakeMessageObject(), v8::Context::New(), v8::ObjectSetAccessor(), v8::internal::Debug::OnThrow(), v8::internal::Debug::PrepareStep(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::PrintDataTo(), v8::internal::ResolveBuiltinIdHolder(), v8::Script::Run(), v8::internal::RUNTIME_FUNCTION(), v8::internal::Runtime_GetScriptFromScriptName(), v8::internal::Runtime_NewObjectHelper(), v8::Value::SameValue(), v8::internal::CompilationInfo::SaveHandle(), v8::internal::Scope::Scope(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::set_inferred_name(), v8::Object::SetAccessorProperty(), v8::internal::Scope::SetDefaults(), v8::internal::JSObject::SetElementWithoutInterceptor(), v8::Context::SetEmbedderData(), v8::internal::Debug::SetEventListener(), v8::internal::ElementsAccessorBase< ElementsAccessorSubclass, ElementsTraitsParam >::SetLengthImpl(), v8::Context::SlowGetAlignedPointerFromEmbedderData(), v8::Context::SlowGetEmbedderData(), v8::internal::KeyedStoreIC::Store(), v8::Value::StrictEquals(), v8::TemplateSetAccessor(), v8::internal::BinaryOpIC::Transition(), v8::internal::Map::TransitionToPrototype(), v8::internal::HOptimizedGraphBuilder::TryHandleArrayCall(), v8::internal::HOptimizedGraphBuilder::TryInlineBuiltinMethodCall(), and v8::internal::LoadIC::UpdateCaches().

+ Here is the caller graph for this function:

◆ null()

template<typename T >
static Handle<T> v8::internal::Handle< T >::null ( )
inlinestatic

Definition at line 123 of file handles.h.

123 { return Handle<T>(); }

Referenced by v8::internal::TypeFeedbackOracle::BinaryType(), v8::internal::Compiler::BuildFunctionInfo(), v8::internal::LChunk::Codegen(), v8::internal::TypeFeedbackOracle::CompareType(), v8::ScriptCompiler::Compile(), v8::internal::IC::CompileHandler(), v8::internal::CompileToplevel(), v8::internal::ScopeIterator::CurrentScopeInfo(), v8::internal::DebugBreakForIC(), v8::internal::Map::ExpectedTransitionKey(), v8::internal::PropertyHandlerCompiler::Find(), v8::internal::PropertyICCompiler::Find(), v8::internal::Map::FindTransitionedMap(), v8::internal::Map::FindTransitionToField(), v8::internal::compiler::Pipeline::GenerateCode(), v8::internal::MaterializedObjectStore::Get(), v8::internal::TypeFeedbackOracle::GetCallAllocationSite(), v8::internal::Isolate::GetCallingNativeContext(), v8::internal::TypeFeedbackOracle::GetCallNewAllocationSite(), v8::internal::Compiler::GetConcurrentlyOptimizedCode(), v8::internal::GetLiteralAllocationSite(), v8::internal::AllocationTracker::UnresolvedLocation::HandleWeakScript(), v8::internal::MaybeHandle< T >::INLINE(), v8::internal::HandleScopeImplementer::LastEnteredContext(), v8::internal::Context::Lookup(), v8::internal::CompilationCacheScript::Lookup(), v8::internal::MaybeNull(), v8::internal::IC::megamorphic_stub(), v8::internal::BASE_EMBEDDED< Visitor >::ReportUnexpectedCharacter(), and v8::internal::RUNTIME_FUNCTION().

+ Here is the caller graph for this function:

Friends And Related Function Documentation

◆ Handle

template<typename T >
template<class S >
friend class Handle
friend

Definition at line 140 of file handles.h.

Member Data Documentation

◆ location_


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