V8 Project
|
#include <runtime.h>
Classes | |
struct | Function |
Public Types | |
enum | FunctionId { RUNTIME_FUNCTION_LIST , kFirstInlineFunction = kInlineIsSmi } |
enum | IntrinsicType { RUNTIME , INLINE , INLINE_OPTIMIZED } |
enum | TypedArrayId { ARRAY_ID_UINT8 = 1 , ARRAY_ID_INT8 = 2 , ARRAY_ID_UINT16 = 3 , ARRAY_ID_INT16 = 4 , ARRAY_ID_UINT32 = 5 , ARRAY_ID_INT32 = 6 , ARRAY_ID_FLOAT32 = 7 , ARRAY_ID_FLOAT64 = 8 , ARRAY_ID_UINT8_CLAMPED = 9 , ARRAY_ID_FIRST = ARRAY_ID_UINT8 , ARRAY_ID_LAST = ARRAY_ID_UINT8_CLAMPED } |
Static Public Attributes | |
static const int | kNotFound = -1 |
|
static |
Definition at line 186 of file runtime-typedarray.cc.
References ARRAY_ID_CASE, TYPED_ARRAYS, and UNREACHABLE.
Referenced by v8::internal::RUNTIME_FUNCTION().
|
static |
Definition at line 248 of file runtime.cc.
References ASSIGN_RETURN_ON_EXCEPTION, v8::internal::Handle< T >::cast(), v8::internal::Isolate::context(), v8::internal::CreateLiteralBoilerplate(), DCHECK, v8::internal::Isolate::factory(), v8::internal::Smi::FromInt(), v8::internal::Isolate::heap(), v8::internal::Heap::InNewSpace(), v8::internal::IsFastDoubleElementsKind(), v8::internal::IsFastElementsKind(), v8::internal::IsFastSmiOrObjectElementsKind(), literals(), map, v8::internal::Context::native_context(), v8::internal::JSFunction::NativeContextFromLiterals(), v8::internal::NOT_TENURED, v8::internal::TENURED, and v8::internal::JSObject::ValidateElements().
Referenced by v8::internal::CreateLiteralBoilerplate(), and v8::internal::GetLiteralAllocationSite().
|
static |
Definition at line 2277 of file runtime.cc.
References ASSIGN_RETURN_ON_EXCEPTION, v8::internal::Handle< T >::cast(), v8::internal::DEFINE_PROPERTY, v8::internal::String::Flatten(), name, v8::internal::JSObject::SetElement(), v8::internal::JSObject::SetOwnPropertyIgnoreAttributes(), and v8::internal::SLOPPY.
Referenced by v8::internal::ScopeInfo::CopyContextLocalsToScopeObject(), v8::Object::ForceSet(), v8::internal::MaterializeArgumentsObject(), v8::internal::MaterializeCatchScope(), v8::internal::MaterializeClosure(), v8::internal::RUNTIME_FUNCTION(), and v8::internal::SetClosureVariableValue().
|
static |
Definition at line 2328 of file runtime.cc.
References ASSIGN_RETURN_ON_EXCEPTION, v8::internal::Handle< T >::cast(), v8::internal::JSReceiver::DeleteElement(), v8::internal::JSReceiver::DeleteProperty(), v8::internal::Isolate::factory(), v8::internal::String::Flatten(), mode(), and name.
Referenced by v8::Object::Delete(), and v8::Object::ForceDelete().
|
static |
Definition at line 15 of file runtime-typedarray.cc.
References v8::internal::V8::ArrayBufferAllocator(), CHECK, DCHECK, v8::ArrayBuffer::Allocator::Free(), v8::internal::JSArrayBuffer::is_external(), NULL, v8::internal::NumberToSize(), and v8::internal::JSArrayBuffer::should_be_freed().
Referenced by v8::internal::Heap::TearDownArrayBuffers(), and v8::internal::WeakListVisitor< JSArrayBuffer >::VisitPhantomObject().
|
static |
Definition at line 9302 of file runtime.cc.
References arraysize, v8::internal::kIntrinsicFunctions, and NULL.
Referenced by v8::internal::compiler::StaticParameterTraits< ExternalReference >::PrintTo().
|
static |
Definition at line 9312 of file runtime.cc.
References v8::internal::kIntrinsicFunctions.
Referenced by v8::internal::CodeStubGraphBuilder< KeyedLoadGenericStub >::BuildCodeStub(), v8::internal::LCodeGen::CallRuntime(), v8::internal::MacroAssembler::CallRuntime(), v8::internal::MacroAssembler::CallRuntimeSaveDoubles(), v8::internal::compiler::LinkageHelper< LinkageTraits >::GetRuntimeCallDescriptor(), v8::internal::compiler::ChangeLoweringTest::IsAllocateHeapNumber(), v8::internal::Parser::ParseEagerFunctionBody(), v8::internal::Parser::ParseVariableDeclarations(), v8::internal::compiler::StaticParameterTraits< Runtime::FunctionId >::PrintTo(), v8::internal::compiler::JSGenericLowering::ReplaceWithRuntimeCall(), and v8::internal::compiler::JSOperatorBuilder::Runtime().
|
static |
Definition at line 9290 of file runtime.cc.
References v8::internal::kIntrinsicFunctions, kNotFound, name, and NULL.
Referenced by v8::internal::Parser::ParseV8Intrinsic().
|
static |
Definition at line 1850 of file runtime.cc.
References v8::internal::Handle< T >::cast(), v8::internal::GetCharAt(), v8::internal::PrototypeIterator::GetCurrent(), and v8::internal::Object::GetElement().
Referenced by GetObjectProperty(), v8::internal::GetOwnProperty(), v8::internal::LoadIC::Load(), and v8::internal::RUNTIME_FUNCTION().
|
static |
Definition at line 1912 of file runtime.cc.
References ASSIGN_RETURN_ON_EXCEPTION, GetElementOrCharAt(), v8::internal::Object::GetProperty(), v8::internal::HandleVector(), name, THROW_NEW_ERROR, and v8::internal::ToName().
Referenced by v8::Object::Get(), v8::internal::KeyedLoadIC::Load(), and v8::internal::RUNTIME_FUNCTION().
|
static |
Definition at line 1891 of file runtime.cc.
References ASSIGN_RETURN_ON_EXCEPTION, v8::internal::Isolate::factory(), v8::internal::JSReceiver::HasElement(), v8::internal::JSReceiver::HasProperty(), v8::maybe(), name, and v8::internal::ToName().
Referenced by v8::Object::Has().
|
static |
Definition at line 9273 of file runtime.cc.
References v8::internal::Dictionary< NameDictionary, NameDictionaryShape, Handle< Name > >::Add(), CHECK, DCHECK, v8::internal::Isolate::factory(), v8::internal::Smi::FromInt(), v8::internal::kIntrinsicFunctions, name, v8::internal::Runtime::Function::name, NONE, v8::internal::Representation::None(), v8::internal::NORMAL, and NULL.
Referenced by v8::internal::Heap::CreateInitialObjects().
|
static |
Definition at line 86 of file runtime-typedarray.cc.
References v8::internal::handle(), and UNREACHABLE.
Referenced by v8::ArrayBuffer::Neuter(), and v8::internal::RUNTIME_FUNCTION().
|
static |
Definition at line 2181 of file runtime.cc.
References ASSIGN_RETURN_ON_EXCEPTION, v8::internal::Handle< T >::cast(), v8::internal::String::Flatten(), v8::internal::HandleVector(), v8::internal::MaybeHandle< T >::is_null(), name, NONE, v8::internal::SET_PROPERTY, v8::internal::JSObject::SetElement(), v8::internal::Object::SetProperty(), THROW_NEW_ERROR, v8::internal::ToNumber(), and v8::internal::JSObject::ValidateElements().
Referenced by v8::internal::MaterializeLocalContext(), v8::internal::MaterializeStackLocalsWithFrameInspector(), v8::internal::RUNTIME_FUNCTION(), v8::Object::Set(), v8::internal::SetLocalVariableValue(), and v8::internal::KeyedStoreIC::Store().
|
static |
Definition at line 35 of file runtime-typedarray.cc.
References v8::internal::Heap::array_buffers_list(), CHECK, DCHECK, v8::internal::Isolate::factory(), v8::internal::Smi::FromInt(), v8::internal::Isolate::heap(), v8::ArrayBuffer::kInternalFieldCount, and v8::internal::Heap::set_array_buffers_list().
Referenced by v8::ArrayBuffer::New(), and SetupArrayBufferAllocatingData().
|
static |
Definition at line 59 of file runtime-typedarray.cc.
References v8::ArrayBuffer::Allocator::Allocate(), v8::ArrayBuffer::Allocator::AllocateUninitialized(), v8::internal::V8::ArrayBufferAllocator(), CHECK, NULL, and SetupArrayBuffer().
Referenced by v8::internal::JSTypedArray::MaterializeArrayBuffer(), v8::ArrayBuffer::New(), and v8::internal::RUNTIME_FUNCTION().
|
static |
Definition at line 1094 of file runtime-regexp.cc.
References DCHECK, v8::internal::String::Flatten(), v8::internal::String::FlatContent::IsOneByte(), v8::internal::SearchString(), v8::internal::String::FlatContent::ToOneByteVector(), and v8::internal::String::FlatContent::ToUC16Vector().
Referenced by v8::internal::RUNTIME_FUNCTION(), and v8::internal::StringReplaceOneCharWithString().
|
static |
Definition at line 807 of file runtime.h.
Referenced by FunctionForName().