v8
3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
|
#include <execution.h>
Static Public Member Functions | |
static Handle< Object > | Call (Handle< Object > callable, Handle< Object > receiver, int argc, Handle< Object > argv[], bool *pending_exception, bool convert_receiver=false) |
static Handle< Object > | New (Handle< JSFunction > func, int argc, Handle< Object > argv[], bool *pending_exception) |
static Handle< Object > | TryCall (Handle< JSFunction > func, Handle< Object > receiver, int argc, Handle< Object > argv[], bool *caught_exception) |
static Handle< Object > | ToBoolean (Handle< Object > obj) |
static Handle< Object > | ToNumber (Handle< Object > obj, bool *exc) |
static Handle< Object > | ToInteger (Handle< Object > obj, bool *exc) |
static Handle< Object > | ToInt32 (Handle< Object > obj, bool *exc) |
static Handle< Object > | ToUint32 (Handle< Object > obj, bool *exc) |
static Handle< Object > | ToString (Handle< Object > obj, bool *exc) |
static Handle< Object > | ToDetailString (Handle< Object > obj, bool *exc) |
static Handle< Object > | ToObject (Handle< Object > obj, bool *exc) |
static Handle< Object > | NewDate (double time, bool *exc) |
static Handle< JSRegExp > | NewJSRegExp (Handle< String > pattern, Handle< String > flags, bool *exc) |
static Handle< Object > | CharAt (Handle< String > str, uint32_t index) |
static Handle< Object > | GetFunctionFor () |
static Handle< JSFunction > | InstantiateFunction (Handle< FunctionTemplateInfo > data, bool *exc) |
static Handle< JSObject > | InstantiateObject (Handle< ObjectTemplateInfo > data, bool *exc) |
static void | ConfigureInstance (Handle< Object > instance, Handle< Object > data, bool *exc) |
static Handle< String > | GetStackTraceLine (Handle< Object > recv, Handle< JSFunction > fun, Handle< Object > pos, Handle< Object > is_global) |
static MUST_USE_RESULT MaybeObject * | HandleStackGuardInterrupt (Isolate *isolate) |
static Handle< Object > | GetFunctionDelegate (Handle< Object > object) |
static Handle< Object > | TryGetFunctionDelegate (Handle< Object > object, bool *has_pending_exception) |
static Handle< Object > | GetConstructorDelegate (Handle< Object > object) |
static Handle< Object > | TryGetConstructorDelegate (Handle< Object > object, bool *has_pending_exception) |
Definition at line 52 of file execution.h.
|
static |
Definition at line 144 of file execution.cc.
References Handle< T >::cast(), Execution::ToObject(), and Execution::TryGetFunctionDelegate().
Referenced by Function::Call(), Object::CallAsConstructor(), Object::CallAsFunction(), JSProxy::CallTrap(), Execution::ConfigureInstance(), v8::internal::GetKeysInFixedArrayFor(), JSProxy::GetPropertyAttributeWithHandler(), Object::GetPropertyWithDefinedGetter(), Execution::InstantiateFunction(), Execution::InstantiateObject(), Script::Run(), v8::internal::RUNTIME_FUNCTION(), JSProxy::SetPropertyViaPrototypesWithHandler(), JSReceiver::SetPropertyWithDefinedSetter(), TEST(), and TestSeeds().
Definition at line 666 of file execution.cc.
References ARRAY_SIZE, Isolate::factory(), v8::internal::GetProperty(), Isolate::js_builtins_object(), Factory::NewNumberFromInt(), and Execution::TryCall().
Definition at line 752 of file execution.cc.
References ARRAY_SIZE, Execution::Call(), and Isolate::js_builtins_object().
Referenced by Factory::ConfigureInstance().
Definition at line 281 of file execution.cc.
References ASSERT, HeapObject::cast(), JSFunctionProxy::cast(), Map::has_instance_call_handler(), and HeapObject::map().
Referenced by v8::internal::RUNTIME_FUNCTION().
Definition at line 223 of file execution.cc.
References ASSERT, HeapObject::cast(), JSFunctionProxy::cast(), Map::has_instance_call_handler(), and HeapObject::map().
Referenced by Object::IsCallable(), v8::internal::RUNTIME_FUNCTION(), and CallICBase::TryCallAsFunction().
|
static |
Definition at line 765 of file execution.cc.
References ARRAY_SIZE, Handle< T >::cast(), Isolate::factory(), Isolate::js_builtins_object(), and Execution::TryCall().
Referenced by Isolate::PrintCurrentStackTrace().
|
static |
Definition at line 891 of file execution.cc.
References Heap::CollectAllGarbage(), StackGuard::Continue(), Isolate::counters(), v8::internal::GC_REQUEST, Isolate::heap(), v8::internal::INTERRUPT, StackGuard::IsGCRequest(), StackGuard::IsInterrupted(), StackGuard::IsPreempted(), StackGuard::IsRuntimeProfilerTick(), StackGuard::IsTerminateExecution(), Heap::kNoGCFlags, RuntimeProfiler::OptimizeNow(), Isolate::runtime_profiler(), v8::internal::RUNTIME_PROFILER_TICK, StackGuard::ShouldPostponeInterrupts(), Isolate::stack_guard(), Isolate::StackOverflow(), v8::internal::TERMINATE, and Isolate::TerminateExecution().
Referenced by v8::internal::RUNTIME_FUNCTION().
|
static |
Definition at line 697 of file execution.cc.
References ARRAY_SIZE, Execution::Call(), Handle< T >::cast(), Smi::cast(), JSFunction::cast(), Isolate::global_context(), Isolate::js_builtins_object(), and Handle< T >::null().
Referenced by FunctionTemplate::GetFunction(), and Execution::InstantiateObject().
|
static |
Definition at line 719 of file execution.cc.
References ARRAY_SIZE, ASSERT, Execution::Call(), Handle< T >::cast(), JSObject::cast(), FunctionTemplateInfo::cast(), Execution::InstantiateFunction(), Isolate::js_builtins_object(), Execution::New(), Handle< T >::null(), and v8::internal::NULL.
Referenced by ObjectTemplate::NewInstance().
|
static |
Definition at line 177 of file execution.cc.
Referenced by Object::CallAsConstructor(), RegExpImpl::CreateRegExpLiteral(), Execution::InstantiateObject(), Function::NewInstance(), and v8::internal::RUNTIME_FUNCTION().
Definition at line 645 of file execution.cc.
References FACTORY, and RETURN_NATIVE_CALL.
Referenced by Date::New().
|
static |
Definition at line 654 of file execution.cc.
References Handle< T >::cast(), and RegExpImpl::CreateRegExpLiteral().
Referenced by RegExp::New().
Definition at line 593 of file execution.cc.
References Handle< T >::cast(), HEAP, and isnan().
Referenced by Value::BooleanValue(), and Value::ToBoolean().
Definition at line 619 of file execution.cc.
References RETURN_NATIVE_CALL.
Referenced by Value::ToDetailString().
Definition at line 640 of file execution.cc.
References RETURN_NATIVE_CALL.
Referenced by Value::Int32Value(), and Value::ToInt32().
Definition at line 630 of file execution.cc.
References RETURN_NATIVE_CALL.
Referenced by Value::IntegerValue(), and Value::ToInteger().
Definition at line 609 of file execution.cc.
References RETURN_NATIVE_CALL.
Referenced by Value::NumberValue(), JSObject::SetElement(), and Value::ToNumber().
Definition at line 624 of file execution.cc.
References RETURN_NATIVE_CALL.
Referenced by Execution::Call(), and Value::ToObject().
Definition at line 614 of file execution.cc.
References RETURN_NATIVE_CALL.
Referenced by Runtime::ForceDeleteObjectProperty(), Runtime::ForceSetObjectProperty(), Runtime::GetObjectProperty(), Object::GetPropertyAttributes(), v8::internal::RUNTIME_FUNCTION(), Runtime::SetObjectProperty(), Value::ToArrayIndex(), and Value::ToString().
Definition at line 635 of file execution.cc.
References RETURN_NATIVE_CALL.
Referenced by Value::ToUint32(), and Value::Uint32Value().
|
static |
Definition at line 186 of file execution.cc.
References ASSERT, TryCatch::Exception(), TryCatch::HasCaught(), Utils::OpenHandle(), TryCatch::SetCaptureMessage(), and TryCatch::SetVerbose().
Referenced by Isolate::CaptureCurrentStackTrace(), Execution::CharAt(), Date::DateTimeConfigurationChangeNotification(), MessageHandler::GetMessage(), Execution::GetStackTraceLine(), and Factory::NewError().
|
static |
Definition at line 307 of file execution.cc.
References ASSERT, HeapObject::cast(), JSFunctionProxy::cast(), Map::has_instance_call_handler(), and HeapObject::map().
Referenced by Object::CallAsConstructor(), and v8::internal::RUNTIME_FUNCTION().
|
static |
Definition at line 250 of file execution.cc.
References ASSERT, HeapObject::cast(), JSFunctionProxy::cast(), Map::has_instance_call_handler(), and HeapObject::map().
Referenced by Execution::Call(), Object::CallAsFunction(), and v8::internal::RUNTIME_FUNCTION().