V8 Project
|
#include <smart-pointers.h>
Public Member Functions | |
SmartPointerBase () | |
SmartPointerBase (T *ptr) | |
SmartPointerBase (const SmartPointerBase< Deallocator, T > &rhs) | |
T * | operator-> () const |
T & | operator* () const |
T * | get () const |
T & | operator[] (size_t i) |
const T & | operator[] (size_t i) const |
T * | Detach () |
void | Reset (T *new_value) |
SmartPointerBase< Deallocator, T > & | operator= (const SmartPointerBase< Deallocator, T > &rhs) |
bool | is_empty () const |
Protected Member Functions | |
~SmartPointerBase () | |
Private Attributes | |
T * | p_ |
Definition at line 13 of file smart-pointers.h.
|
inline |
Definition at line 16 of file smart-pointers.h.
|
inlineexplicit |
Definition at line 19 of file smart-pointers.h.
|
inline |
Definition at line 23 of file smart-pointers.h.
References NULL, and v8::internal::SmartPointerBase< Deallocator, T >::p_.
|
inlineprotected |
Definition at line 82 of file smart-pointers.h.
References v8::internal::SmartPointerBase< Deallocator, T >::p_.
|
inline |
Definition at line 52 of file smart-pointers.h.
References NULL, v8::internal::SmartPointerBase< Deallocator, T >::p_, and T.
Referenced by v8::internal::StringsStorage::GetName(), and v8::internal::Compiler::GetOptimizedCode().
|
inline |
Definition at line 32 of file smart-pointers.h.
References v8::internal::SmartPointerBase< Deallocator, T >::p_.
Referenced by v8::internal::Logger::ApiIndexedPropertyAccess(), v8::internal::Logger::ApiNamedPropertyAccess(), v8::internal::Logger::ApiNamedSecurityCheck(), v8::internal::Logger::ApiObjectAccess(), v8::internal::Logger::CallbackEventInternal(), v8::internal::Logger::CodeCreateEvent(), v8::internal::MessageHandler::DefaultMessageReport(), v8::internal::Compiler::GetConcurrentlyOptimizedCode(), v8::internal::Compiler::GetOptimizedCode(), v8::internal::HOptimizedGraphBuilder::HandlePolymorphicCallNamed(), v8::internal::HeapObject::HeapObjectShortPrint(), v8::internal::Parser::ParseLazy(), v8::internal::Parser::ParseProgram(), v8::internal::JavaScriptFrame::PrintFunctionAndOffset(), v8::internal::RUNTIME_FUNCTION(), v8::internal::HOptimizedGraphBuilder::TraceInline(), and v8::internal::compiler::Pipeline::VerifyAndPrintGraph().
|
inline |
Definition at line 76 of file smart-pointers.h.
References NULL, and v8::internal::SmartPointerBase< Deallocator, T >::p_.
Referenced by v8::internal::SmartPointerBase< Deallocator, T >::operator=().
|
inline |
Definition at line 30 of file smart-pointers.h.
References v8::internal::SmartPointerBase< Deallocator, T >::p_.
|
inline |
Definition at line 28 of file smart-pointers.h.
References v8::internal::SmartPointerBase< Deallocator, T >::p_.
|
inline |
Definition at line 67 of file smart-pointers.h.
References DCHECK, v8::internal::SmartPointerBase< Deallocator, T >::is_empty(), NULL, v8::internal::SmartPointerBase< Deallocator, T >::p_, and T.
|
inline |
Definition at line 35 of file smart-pointers.h.
References v8::internal::SmartPointerBase< Deallocator, T >::p_.
|
inline |
Definition at line 40 of file smart-pointers.h.
References v8::internal::SmartPointerBase< Deallocator, T >::p_.
|
inline |
Definition at line 58 of file smart-pointers.h.
References DCHECK, NULL, and v8::internal::SmartPointerBase< Deallocator, T >::p_.
Referenced by v8::internal::CodeStubGraphBuilderBase::CodeStubGraphBuilderBase().
|
private |
Definition at line 85 of file smart-pointers.h.
Referenced by v8::internal::SmartPointerBase< Deallocator, T >::Detach(), v8::internal::SmartPointerBase< Deallocator, T >::get(), v8::internal::SmartPointerBase< Deallocator, T >::is_empty(), v8::internal::SmartPointerBase< Deallocator, T >::operator*(), v8::internal::SmartPointerBase< Deallocator, T >::operator->(), v8::internal::SmartPointerBase< Deallocator, T >::operator=(), v8::internal::SmartPointerBase< Deallocator, T >::operator[](), v8::internal::SmartPointerBase< Deallocator, T >::Reset(), v8::internal::SmartPointerBase< Deallocator, T >::SmartPointerBase(), and v8::internal::SmartPointerBase< Deallocator, T >::~SmartPointerBase().