v8
3.14.5(node0.10.28)
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 53 of file execution.h.
|
static |
Definition at line 150 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 691 of file execution.cc.
References ARRAY_SIZE, Isolate::factory(), v8::internal::GetProperty(), Isolate::js_builtins_object(), Factory::NewNumberFromInt(), and Execution::TryCall().
Definition at line 777 of file execution.cc.
References ARRAY_SIZE, Execution::Call(), and Isolate::js_builtins_object().
Referenced by Factory::ConfigureInstance().
Definition at line 287 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 229 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 790 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 921 of file execution.cc.
References ASSERT, v8::internal::CODE_READY, Heap::CollectAllGarbage(), StackGuard::Continue(), Isolate::counters(), v8::internal::GC_REQUEST, Isolate::heap(), OptimizingCompilerThread::InstallOptimizedFunctions(), v8::internal::INTERRUPT, StackGuard::IsCodeReadyEvent(), StackGuard::IsGCRequest(), StackGuard::IsInterrupted(), StackGuard::IsPreempted(), StackGuard::IsRuntimeProfilerTick(), StackGuard::IsTerminateExecution(), Heap::kNoGCFlags, RuntimeProfiler::OptimizeNow(), Isolate::optimizing_compiler_thread(), v8::internal::PrintF(), 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 722 of file execution.cc.
References ARRAY_SIZE, Execution::Call(), Handle< T >::cast(), Smi::cast(), JSFunction::cast(), Isolate::js_builtins_object(), Isolate::native_context(), and Handle< T >::null().
Referenced by FunctionTemplate::GetFunction(), and Execution::InstantiateObject().
|
static |
Definition at line 744 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 183 of file execution.cc.
Referenced by Object::CallAsConstructor(), RegExpImpl::CreateRegExpLiteral(), Execution::InstantiateObject(), Function::NewInstance(), and v8::internal::RUNTIME_FUNCTION().
Definition at line 670 of file execution.cc.
References FACTORY, and RETURN_NATIVE_CALL.
Referenced by Date::New().
|
static |
Definition at line 679 of file execution.cc.
References Handle< T >::cast(), and RegExpImpl::CreateRegExpLiteral().
Referenced by RegExp::New().
Definition at line 618 of file execution.cc.
References Handle< T >::cast(), HEAP, and isnan().
Referenced by Value::BooleanValue(), and Value::ToBoolean().
Definition at line 644 of file execution.cc.
References RETURN_NATIVE_CALL.
Referenced by Value::ToDetailString().
Definition at line 665 of file execution.cc.
References RETURN_NATIVE_CALL.
Referenced by Value::Int32Value(), and Value::ToInt32().
Definition at line 655 of file execution.cc.
References RETURN_NATIVE_CALL.
Referenced by Value::IntegerValue(), and Value::ToInteger().
Definition at line 634 of file execution.cc.
References RETURN_NATIVE_CALL.
Referenced by Value::NumberValue(), JSObject::SetElement(), and Value::ToNumber().
Definition at line 649 of file execution.cc.
References RETURN_NATIVE_CALL.
Referenced by Execution::Call(), and Value::ToObject().
Definition at line 639 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 660 of file execution.cc.
References RETURN_NATIVE_CALL.
Referenced by Value::ToUint32(), and Value::Uint32Value().
|
static |
Definition at line 192 of file execution.cc.
References ASSERT, TryCatch::Exception(), TryCatch::HasCaught(), TryCatch::SetCaptureMessage(), and TryCatch::SetVerbose().
Referenced by Isolate::CaptureCurrentStackTrace(), Execution::CharAt(), Date::DateTimeConfigurationChangeNotification(), MessageHandler::GetMessage(), Execution::GetStackTraceLine(), and Factory::NewError().
|
static |
Definition at line 313 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 256 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().