![]() |
v8
3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
|
#include <objects.h>
Additional Inherited Members | |
![]() | |
enum | LocalElementType { UNDEFINED_ELEMENT, INTERCEPTED_ELEMENT, STRING_CHARACTER_ELEMENT, FAST_ELEMENT, DICTIONARY_ELEMENT } |
enum | SetFastElementsCapacitySmiMode { kAllowSmiElements, kForceSmiElements, kDontAllowSmiElements } |
![]() | |
enum | DeleteMode { NORMAL_DELETION, STRICT_DELETION, FORCE_DELETION } |
enum | StoreFromKeyed { MAY_BE_STORE_FROM_KEYED, CERTAINLY_NOT_STORE_FROM_KEYED } |
![]() | |
Smi * | GenerateIdentityHash () |
![]() | |
void | IteratePointers (ObjectVisitor *v, int start, int end) |
void | IteratePointer (ObjectVisitor *v, int offset) |
|
inlinestatic |
Referenced by Context::AddOptimizedFunction(), JSObject::AddProperty(), Heap::AllocateArgumentsObject(), Heap::AllocateFunction(), JSReceiver::class_name(), Context::closure(), Call::ComputeGlobalTarget(), Isolate::ComputeLocation(), CallICBase::ComputeMonomorphicStub(), JSReceiver::constructor_name(), Map::CopyDropDescriptors(), Date::DateTimeConfigurationChangeNotification(), BASE_EMBEDDED< Visitor >::GetConstantFunction(), DescriptorArray::GetConstantFunction(), BASE_EMBEDDED< Visitor >::GetConstantFunctionFromMap(), V8HeapExplorer::GetConstructorName(), OptimizedFrame::GetDeoptimizationData(), JavaScriptFrame::GetFunctions(), OptimizedFrame::GetFunctions(), JSObject::GetIndexedInterceptor(), v8::internal::GetKeysInFixedArrayFor(), MessageHandler::GetMessage(), JSObject::GetNamedInterceptor(), JavaScriptFrame::GetNumberOfIncomingArguments(), Context::global_context(), Execution::InstantiateFunction(), JSObject::IsDirty(), Object::IsInstanceOf(), JSObject::JSObjectShortPrint(), Isolate::MayIndexedAccess(), Isolate::MayNamedAccess(), Factory::NewError(), RuntimeProfiler::OptimizeNow(), JavaScriptFrame::Print(), ArgumentsAdaptorFrame::Print(), Isolate::PrintCurrentStackTrace(), StringStream::PrintFunction(), StringStream::PrintSecurityTokenIfChanged(), JavaScriptFrame::PrintTop(), JSObject::ReferencesObject(), Heap::ReinitializeJSReceiver(), Context::RemoveOptimizedFunction(), Isolate::ReportFailedAccessCheck(), Script::Run(), v8::internal::RUNTIME_FUNCTION(), JSFunction::set_initial_map_and_cache_transitions(), JSObject::SetPropertyForResult(), JavaScriptFrame::Summarize(), OptimizedFrame::Summarize(), TEST(), StringDictionary::TransformPropertiesToFastFor(), JavaScriptFrame::unchecked_code(), and Deoptimizer::VisitAllOptimizedFunctionsForContext().
|
inline |
Definition at line 4068 of file objects-inl.h.
References Code::cast().
Referenced by OptimizedFrame::GetDeoptimizationData(), JSFunction::MarkForLazyRecompilation(), and StringStream::PrintFunction().
|
static |
Definition at line 7465 of file objects.cc.
References ASSERT.
Referenced by v8::internal::RUNTIME_FUNCTION().
|
static |
Definition at line 7480 of file objects.cc.
Referenced by v8::internal::RUNTIME_FUNCTION().
|
inline |
Definition at line 4107 of file objects-inl.h.
References Context::cast(), and READ_FIELD.
Referenced by Heap::AllocateFunctionPrototype(), Context::global_context(), StringStream::PrintSecurityTokenIfChanged(), and JSFunction::RemovePrototype().
|
inline |
Definition at line 4234 of file objects-inl.h.
References ASSERT.
Referenced by v8::internal::RUNTIME_FUNCTION().
|
static |
Definition at line 7642 of file objects.cc.
References Context::cast(), FixedArray::get(), and JSFunction::kLiteralGlobalContextIndex.
Referenced by Runtime::CreateArrayLiteralBoilerplate(), and v8::internal::RUNTIME_FUNCTION().
|
inline |
Definition at line 4179 of file objects-inl.h.
Referenced by Heap::AllocateFunctionPrototype(), Heap::AllocateGlobalObject(), Heap::AllocateInitialMap(), Heap::AllocateJSObject(), Heap::ReinitializeJSGlobalProxy(), and JSFunction::SetInstancePrototype().
|
inline |
Definition at line 4184 of file objects-inl.h.
Referenced by Heap::AllocateInitialMap().
|
inline |
Definition at line 4189 of file objects-inl.h.
References Map::has_non_instance_prototype(), and HeapObject::map().
|
inline |
|
inline |
Definition at line 4194 of file objects-inl.h.
References ASSERT.
Referenced by Heap::AllocateInitialMap().
|
inline |
Definition at line 4217 of file objects-inl.h.
References Builtins::builtin(), Isolate::builtins(), and HeapObject::GetIsolate().
Referenced by JSFunction::MarkForLazyRecompilation(), and v8::internal::RUNTIME_FUNCTION().
|
inline |
Definition at line 4042 of file objects-inl.h.
Referenced by JSFunction::IsInlineable(), and v8::internal::RUNTIME_FUNCTION().
bool IsInlineable | ( | ) |
Definition at line 7489 of file objects.cc.
References Code::FUNCTION, JSFunction::IsBuiltin(), Code::kind(), Code::optimizable(), and Code::OPTIMIZED_FUNCTION.
|
inline |
Definition at line 4063 of file objects-inl.h.
References Builtins::builtin(), Isolate::builtins(), and HeapObject::GetIsolate().
|
inline |
Definition at line 4058 of file objects-inl.h.
References Code::FUNCTION.
|
inline |
Definition at line 4053 of file objects-inl.h.
References Code::OPTIMIZED_FUNCTION.
Referenced by JSFunction::MarkForLazyRecompilation().
void JSFunctionIterateBody | ( | int | object_size, |
ObjectVisitor * | v | ||
) |
Definition at line 7420 of file objects.cc.
References HeapObject::address(), HeapObject::IteratePointers(), JSFunction::kCodeEntryOffset, v8::internal::kPointerSize, and JSObject::kPropertiesOffset.
|
inline |
Definition at line 4222 of file objects-inl.h.
References ASSERT.
void MarkForLazyRecompilation | ( | ) |
Definition at line 7429 of file objects.cc.
References ASSERT, Builtins::builtin(), Isolate::builtins(), JSFunction::code(), HeapObject::GetIsolate(), JSFunction::is_compiled(), JSFunction::IsOptimized(), and JSFunction::ReplaceCode().
|
inline |
Definition at line 4047 of file objects-inl.h.
References SharedFunctionInfo::kDontAdaptArgumentsSentinel.
|
inline |
Definition at line 4250 of file objects-inl.h.
References ASSERT.
|
inline |
Definition at line 5950 of file objects.h.
Referenced by JavaScriptFrame::PrintTop().
void PrintName | ( | FILE * | out | ) |
Definition at line 7636 of file objects.cc.
References v8::internal::PrintF().
|
inline |
Definition at line 4203 of file objects-inl.h.
References ASSERT, and HeapObject::map().
Object * RemovePrototype | ( | ) |
Definition at line 7609 of file objects.cc.
References ASSERT, JSFunction::context(), HeapObject::GetHeap(), Context::global_context(), HeapObject::map(), and HeapObject::set_map().
|
inline |
Definition at line 4090 of file objects-inl.h.
References Code::kind(), and Code::OPTIMIZED_FUNCTION.
Referenced by JSFunction::MarkForLazyRecompilation(), and v8::internal::RUNTIME_FUNCTION().
|
inline |
Definition at line 4079 of file objects-inl.h.
References ASSERT, Code::entry(), HeapObject::GetHeap(), HEAP, Heap::incremental_marking(), HeapObject::RawField(), and WRITE_INTPTR_FIELD.
|
inline |
Definition at line 4123 of file objects-inl.h.
References ASSERT, HeapObject::GetHeap(), WRITE_BARRIER, and WRITE_FIELD.
Referenced by Heap::ReinitializeJSReceiver().
|
inline |
Definition at line 4240 of file objects-inl.h.
References ASSERT, HeapObject::GetHeap(), and HeapObject::map().
|
inline |
Definition at line 4138 of file objects-inl.h.
Referenced by Heap::AllocateJSObject().
|
inline |
Definition at line 4143 of file objects-inl.h.
References Heap::AllocateFixedArrayWithHoles(), Context::ARRAY_FUNCTION_INDEX, ASSERT, JSFunction::cast(), Map::CreateNextElementsTransition(), Map::elements_kind(), FixedArray::get(), v8::internal::GetFastElementsKindFromSequenceIndex(), HeapObject::GetHeap(), v8::internal::GetInitialFastElementsKind(), v8::internal::GetSequenceIndexFromFastElementsKind(), v8::internal::kElementsKindCount, v8::internal::kFastElementsKindCount, and FixedArray::set().
Referenced by JSFunction::SetInstancePrototype().
|
inline |
Definition at line 4228 of file objects-inl.h.
References ASSERT.
Definition at line 7630 of file objects.cc.
MaybeObject * SetInstancePrototype | ( | Object * | value | ) |
Definition at line 7542 of file objects.cc.
References ASSERT, JSObject::cast(), Map::CopyDropTransitions(), HeapObject::GetHeap(), JSFunction::has_initial_map(), JSFunction::initial_map(), DescriptorArray::MAY_BE_SHARED, JSObject::OptimizeAsPrototype(), and JSFunction::set_initial_map_and_cache_transitions().
Referenced by JSFunction::SetPrototype().
MaybeObject * SetPrototype | ( | Object * | value | ) |
Definition at line 7577 of file objects.cc.
References ASSERT, Isolate::context(), Map::CopyDropTransitions(), HeapObject::GetHeap(), Context::global_context(), Heap::isolate(), HeapObject::map(), DescriptorArray::MAY_BE_SHARED, HeapObject::set_map(), Map::set_non_instance_prototype(), JSFunction::SetInstancePrototype(), and JSFunction::should_have_prototype().
|
inline |
Definition at line 4212 of file objects-inl.h.
References Map::function_with_prototype(), and HeapObject::map().
Referenced by JSFunction::SetPrototype().
|
inline |
Definition at line 4073 of file objects-inl.h.
References FIELD_ADDR, and Code::GetObjectFromEntryAddress().
|
inline |
Definition at line 4112 of file objects-inl.h.
References READ_FIELD.
Referenced by StringStream::PrintSecurityTokenIfChanged().
|
inline |
Definition at line 4117 of file objects-inl.h.
References READ_FIELD.
|
static |
Definition at line 5999 of file objects.h.
Referenced by v8::internal::RUNTIME_FUNCTION().
|
static |
Definition at line 5997 of file objects.h.
Referenced by v8::internal::RUNTIME_FUNCTION().
|
static |
Definition at line 5998 of file objects.h.
Referenced by v8::internal::RUNTIME_FUNCTION().
|
static |
Definition at line 5981 of file objects.h.
Referenced by JSFunction::JSFunctionIterateBody(), MarkCompactCollector::MigrateObject(), and IncrementalMarking::Step().
|
static |
|
static |
Definition at line 5994 of file objects.h.
Referenced by JSFunction::GlobalContextFromLiterals(), Factory::NewFunctionFromSharedFunctionInfo(), and v8::internal::RUNTIME_FUNCTION().
|
static |
|
static |
Definition at line 5993 of file objects.h.
Referenced by Factory::NewSharedFunctionInfo().
|
static |
|
static |
Definition at line 5988 of file objects.h.
Referenced by IncrementalMarking::Step().
|
static |
|
static |
|
static |
Definition at line 5990 of file objects.h.
Referenced by Factory::BecomeJSFunction(), and JSObject::GetHeaderSize().