#include <top.h>
Public 型 | |
enum | AddressId |
Static Public メソッド | |
static Address | get_address_from_id (AddressId id) |
static Context * | context () |
static void | set_context (Context *context) |
static Context ** | context_address () |
static SaveContext * | save_context () |
static void | set_save_context (SaveContext *save) |
static Object * | pending_exception () |
static bool | external_caught_exception () |
static void | set_pending_exception (Object *exception) |
static void | clear_pending_exception () |
static Object ** | pending_exception_address () |
static bool | has_pending_exception () |
static v8::TryCatch * | try_catch_handler () |
static bool | optional_reschedule_exception (bool is_bottom_call) |
static bool * | external_caught_exception_address () |
static Object * | scheduled_exception () |
static bool | has_scheduled_exception () |
static void | clear_scheduled_exception () |
static void | setup_external_caught () |
static bool | is_out_of_memory () |
static Address | c_entry_fp (ThreadLocalTop *thread) |
static Address | handler (ThreadLocalTop *thread) |
static Address * | c_entry_fp_address () |
static Address * | handler_address () |
static void * | formal_count_address () |
static void | new_break (StackFrame::Id break_frame_id) |
static void | set_break (StackFrame::Id break_frame_id, int break_id) |
static bool | check_break (int break_id) |
static bool | is_break () |
static StackFrame::Id | break_frame_id () |
static int | break_id () |
static void | MarkCompactPrologue () |
static void | MarkCompactEpilogue () |
static void | MarkCompactPrologue (char *archived_thread_data) |
static void | MarkCompactEpilogue (char *archived_thread_data) |
static void | PrintCurrentStackTrace (FILE *out) |
static void | PrintStackTrace (FILE *out, char *thread_data) |
static void | PrintStack (StringStream *accumulator) |
static void | PrintStack () |
static Handle< String > | StackTrace () |
static bool | MayNamedAccess (JSObject *receiver, Object *key, v8::AccessType type) |
static bool | MayIndexedAccess (JSObject *receiver, uint32_t index, v8::AccessType type) |
static void | SetFailedAccessCheckCallback (v8::FailedAccessCheckCallback callback) |
static void | ReportFailedAccessCheck (JSObject *receiver, v8::AccessType type) |
static Failure * | Throw (Object *exception, MessageLocation *location=NULL) |
static Failure * | ReThrow (Object *exception, MessageLocation *location=NULL) |
static void | ScheduleThrow (Object *exception) |
static Object * | PromoteScheduledException () |
static void | DoThrow (Object *exception, MessageLocation *location, const char *message) |
static bool | ShouldReportException (bool *is_caught_externally) |
static void | ReportUncaughtException (Handle< Object > exception, MessageLocation *location, Handle< String > stack_trace) |
static void | ComputeLocation (MessageLocation *target) |
static void | TraceException (bool flag) |
static Failure * | StackOverflow () |
static void | Initialize () |
static void | TearDown () |
static void | Iterate (ObjectVisitor *v) |
static void | Iterate (ObjectVisitor *v, ThreadLocalTop *t) |
static char * | Iterate (ObjectVisitor *v, char *t) |
static Handle< GlobalObject > | global () |
static Object * | global_proxy () |
static Handle< Context > | global_context () |
static Handle< JSBuiltinsObject > | builtins () |
static Object * | LookupSpecialFunction (JSObject *receiver, JSObject *prototype, JSFunction *value) |
static void | RegisterTryCatchHandler (v8::TryCatch *that) |
static void | UnregisterTryCatchHandler (v8::TryCatch *that) |
static ThreadLocalTop * | GetCurrentThread () |
static int | ArchiveSpacePerThread () |
static char * | ArchiveThread (char *to) |
static char * | RestoreThread (char *from) |
Static Private メソッド | |
static void | InitializeThreadLocal () |
static void | PrintStackTrace (FILE *out, ThreadLocalTop *thread) |
static void | MarkCompactPrologue (ThreadLocalTop *archived_thread_data) |
static void | MarkCompactEpilogue (ThreadLocalTop *archived_thread_data) |
static void | FillCache () |
Static Private 変数 | |
static ThreadLocalTop | thread_local_ |
static Mutex * | break_access_ |
static StackFrame::Id | break_frame_id_ |
static int | break_count_ |
static int | break_id_ |
フレンド | |
class | SaveContext |
class | AssertNoContextChange |
class | ExecutionAccess |
static int v8::internal::Top::ArchiveSpacePerThread | ( | ) | [inline, static] |
char * v8::internal::Top::ArchiveThread | ( | char * | to | ) | [static] |
参照先 InitializeThreadLocal(), と thread_local_.
StackFrame::Id v8::internal::Top::break_frame_id | ( | ) | [static] |
参照先 break_frame_id_, と ExecutionAccess.
参照元 v8::internal::BASE_EMBEDDED< Allocator >::EnterDebugger(), v8::internal::Debug::FloodHandlerWithOneShot(), v8::internal::Debug::PrepareStep(), v8::internal::Runtime_CheckExecutionState(), v8::internal::Runtime_GetFrameCount(), と v8::internal::Runtime_GetFrameDetails().
int v8::internal::Top::break_id | ( | ) | [static] |
static Handle<JSBuiltinsObject> v8::internal::Top::builtins | ( | ) | [inline, static] |
参照先 thread_local_.
参照元 v8::CallV8HeapFunction(), v8::internal::Execution::CharAt(), v8::internal::Debug::CheckBreakPoint(), v8::internal::Execution::ConfigureInstance(), v8::internal::Builtins::GetCode(), v8::internal::MessageHandler::GetMessage(), v8::internal::Execution::GetStackTraceLine(), v8::internal::Execution::InstantiateFunction(), v8::internal::Execution::InstantiateObject(), v8::internal::Factory::NewError(), v8::internal::Debugger::OnAfterCompile(), と StackOverflow().
static Address v8::internal::Top::c_entry_fp | ( | ThreadLocalTop * | thread | ) | [inline, static] |
参照元 v8::internal::IC::IC(), と PrintStack().
static Address* v8::internal::Top::c_entry_fp_address | ( | ) | [inline, static] |
参照先 thread_local_.
bool v8::internal::Top::check_break | ( | int | break_id | ) | [static] |
参照先 break_id_, と ExecutionAccess.
static void v8::internal::Top::clear_pending_exception | ( | ) | [inline, static] |
static void v8::internal::Top::clear_scheduled_exception | ( | ) | [inline, static] |
参照先 thread_local_.
void v8::internal::Top::ComputeLocation | ( | MessageLocation * | target | ) | [static] |
static Context* v8::internal::Top::context | ( | ) | [inline, static] |
参照先 thread_local_.
参照元 v8::internal::JSObject::AddConstantFunctionProperty(), v8::internal::JSObject::AddFastProperty(), v8::internal::Heap::AllocateArgumentsObject(), v8::internal::Heap::AllocateFunctionPrototype(), v8::internal::BUILTIN(), v8::internal::ComputeReceiverForNonGlobal(), v8::internal::JSObject::ConvertDescriptorToFieldAndMapTransition(), v8::internal::DebugGetLoadedScripts(), v8::Context::Enter(), v8::internal::Accessors::FlattenNumber(), v8::internal::Builtins::GetCode(), global(), global_proxy(), v8::Context::InContext(), v8::internal::Invoke(), v8::internal::JSObject::IsSimpleEnum(), v8::internal::LoadContextSlotHelper(), v8::internal::CallIC::LoadFunction(), LookupSpecialFunction(), v8::internal::Debugger::MakeJSObject(), v8::internal::MayAccessPreCheck(), MayIndexedAccess(), MayNamedAccess(), v8::internal::Factory::NewFunction(), v8::internal::Debugger::OnDebugBreak(), v8::internal::JSObject::ReferencesObject(), ReportFailedAccessCheck(), v8::internal::Failure::RetryAfterGC(), v8::Script::Run(), v8::internal::Runtime_CompileScript(), v8::internal::Runtime_CompileString(), v8::internal::Runtime_DebugConstructedBy(), v8::internal::Runtime_DebugReferencedBy(), v8::internal::Runtime_DeclareGlobals(), v8::internal::Runtime_InitializeConstGlobal(), v8::internal::Runtime_InitializeVarGlobal(), v8::internal::Runtime_LookupContext(), v8::internal::Runtime_NewObject(), v8::internal::Runtime_PushContext(), v8::internal::Runtime_StoreContextSlot(), v8::internal::Runtime_StringAdd(), v8::internal::Runtime_StringBuilderConcat(), と v8::internal::Runtime_URIEscape().
static Context** v8::internal::Top::context_address | ( | ) | [inline, static] |
参照先 thread_local_.
void v8::internal::Top::DoThrow | ( | Object * | exception, | |
MessageLocation * | location, | |||
const char * | message | |||
) | [static] |
参照先 ASSERT, ComputeLocation(), has_pending_exception(), v8::internal::Handle< T >::is_null(), v8::internal::MessageHandler::MakeMessageObject(), v8::internal::NULL, v8::internal::Debugger::OnException(), v8::internal::Failure::OutOfMemoryException(), v8::internal::MessageHandler::ReportMessage(), set_pending_exception(), ShouldReportException(), StackTrace(), と thread_local_.
参照元 StackOverflow(), と Throw().
static bool v8::internal::Top::external_caught_exception | ( | ) | [inline, static] |
static bool* v8::internal::Top::external_caught_exception_address | ( | ) | [inline, static] |
参照先 thread_local_.
static void v8::internal::Top::FillCache | ( | ) | [static, private] |
static void* v8::internal::Top::formal_count_address | ( | ) | [inline, static] |
参照先 thread_local_.
Address v8::internal::Top::get_address_from_id | ( | Top::AddressId | id | ) | [static] |
static ThreadLocalTop* v8::internal::Top::GetCurrentThread | ( | ) | [inline, static] |
static Handle<GlobalObject> v8::internal::Top::global | ( | ) | [inline, static] |
参照先 global(), と thread_local_.
参照元 v8::Script::Compile(), v8::internal::Debug::CompileDebuggerScript(), v8::internal::EvalContext(), v8::Context::GetCurrent(), v8::internal::Execution::GetFunctionDelegate(), v8::internal::Execution::InstantiateFunction(), v8::internal::MessageHandler::MakeMessageObject(), と v8::internal::Runtime_DebugEvaluateGlobal().
static Object* v8::internal::Top::global_proxy | ( | ) | [inline, static] |
static Address v8::internal::Top::handler | ( | ThreadLocalTop * | thread | ) | [inline, static] |
static Address* v8::internal::Top::handler_address | ( | ) | [inline, static] |
参照先 thread_local_.
static bool v8::internal::Top::has_pending_exception | ( | ) | [inline, static] |
参照先 thread_local_.
参照元 v8::internal::BUILTIN(), v8::internal::Debug::CompileDebuggerScript(), v8::internal::Compiler::CompileLazy(), DoThrow(), v8::internal::Invoke(), is_out_of_memory(), v8::internal::CodeGenerator::MakeCode(), v8::internal::MakeFunction(), pending_exception(), v8::internal::Runtime_MaterializeRegExpLiteral(), v8::internal::Runtime_StoreContextSlot(), と v8::internal::Execution::TryCall().
static bool v8::internal::Top::has_scheduled_exception | ( | ) | [inline, static] |
void v8::internal::Top::Initialize | ( | ) | [static] |
参照先 break_access_, break_count_, break_frame_id_, break_id_, CHECK, v8::internal::OS::CreateMutex(), v8::internal::PreallocatedMemoryThread::data(), v8::internal::PreallocatedStorage::Init(), v8::internal::initialized, InitializeThreadLocal(), v8::internal::PreallocatedMemoryThread::length(), v8::internal::NULL, v8::internal::preallocated_message_space, と v8::internal::PreallocatedMemoryThread::StartThread().
void v8::internal::Top::InitializeThreadLocal | ( | ) | [static, private] |
bool v8::internal::Top::is_break | ( | ) | [static] |
bool v8::internal::Top::is_out_of_memory | ( | ) | [static] |
void v8::internal::Top::Iterate | ( | ObjectVisitor * | v, | |
ThreadLocalTop * | t | |||
) | [static] |
参照先 v8::internal::NULL.
void v8::internal::Top::Iterate | ( | ObjectVisitor * | v | ) | [static] |
参照先 thread_local_.
char * v8::internal::Top::Iterate | ( | ObjectVisitor * | v, | |
char * | t | |||
) | [static] |
Object * v8::internal::Top::LookupSpecialFunction | ( | JSObject * | receiver, | |
JSObject * | prototype, | |||
JSFunction * | value | |||
) | [static] |
void v8::internal::Top::MarkCompactEpilogue | ( | ) | [static] |
void v8::internal::Top::MarkCompactEpilogue | ( | ThreadLocalTop * | archived_thread_data | ) | [static, private] |
void v8::internal::Top::MarkCompactEpilogue | ( | char * | archived_thread_data | ) | [static] |
void v8::internal::Top::MarkCompactPrologue | ( | char * | archived_thread_data | ) | [static] |
void v8::internal::Top::MarkCompactPrologue | ( | ) | [static] |
void v8::internal::Top::MarkCompactPrologue | ( | ThreadLocalTop * | archived_thread_data | ) | [static, private] |
bool v8::internal::Top::MayIndexedAccess | ( | JSObject * | receiver, | |
uint32_t | index, | |||
v8::AccessType | type | |||
) | [static] |
参照先 ASSERT, v8::internal::AccessCheckInfo::cast(), v8::internal::FunctionTemplateInfo::cast(), v8::internal::JSFunction::cast(), context(), LOG, v8::internal::HeapObject::map(), v8::internal::MayAccessPreCheck(), v8::Utils::ToLocal(), と v8::internal::UNKNOWN.
参照元 v8::internal::JSObject::DeleteElement(), v8::internal::JSObject::GetElementWithReceiver(), v8::internal::JSObject::HasElementWithReceiver(), v8::internal::JSObject::HasLocalElement(), v8::internal::JSObject::HasRealElementProperty(), と v8::internal::JSObject::SetElement().
bool v8::internal::Top::MayNamedAccess | ( | JSObject * | receiver, | |
Object * | key, | |||
v8::AccessType | type | |||
) | [static] |
参照先 ASSERT, v8::internal::AccessCheckInfo::cast(), v8::internal::FunctionTemplateInfo::cast(), v8::internal::JSFunction::cast(), context(), LOG, v8::internal::HeapObject::map(), v8::internal::MayAccessPreCheck(), v8::Utils::ToLocal(), と v8::internal::UNKNOWN.
参照元 v8::internal::JSObject::DefineAccessor(), v8::internal::JSObject::DefineGetterSetter(), v8::internal::JSObject::DeleteProperty(), v8::internal::JSObject::GetPropertyAttribute(), v8::internal::JSObject::HasRealNamedCallbackProperty(), v8::internal::JSObject::HasRealNamedProperty(), v8::internal::JSObject::IgnoreAttributesAndSetLocalProperty(), v8::internal::JSObject::LookupAccessor(), と v8::internal::JSObject::SetProperty().
void v8::internal::Top::new_break | ( | StackFrame::Id | break_frame_id | ) | [static] |
bool v8::internal::Top::optional_reschedule_exception | ( | bool | is_bottom_call | ) | [static] |
static Object* v8::internal::Top::pending_exception | ( | ) | [inline, static] |
static Object** v8::internal::Top::pending_exception_address | ( | ) | [inline, static] |
void v8::internal::Top::PrintCurrentStackTrace | ( | FILE * | out | ) | [static] |
参照先 v8::internal::StackTraceFrameIterator::Advance(), v8::internal::JSFunction::cast(), v8::internal::JavaScriptFrame::FindCode(), v8::internal::Smi::FromInt(), v8::internal::JavaScriptFrame::function(), v8::internal::Execution::GetStackTraceLine(), v8::internal::JavaScriptFrame::receiver(), と v8::internal::Code::SourcePosition().
void v8::internal::Top::PrintStack | ( | StringStream * | accumulator | ) | [static] |
void v8::internal::Top::PrintStack | ( | ) | [static] |
参照先 v8::internal::NativeAllocationChecker::ALLOW, v8::internal::StringStream::ClearMentionedObjectCache(), v8::internal::NativeAllocationChecker::DISALLOW, v8::internal::incomplete_message, v8::internal::StringStream::Log(), v8::internal::NULL, v8::internal::StringStream::OutputToStdOut(), v8::internal::preallocated_message_space, v8::internal::OS::PrintError(), と v8::internal::stack_trace_nesting_level.
参照元 v8::internal::Runtime_Abort(), v8::internal::Runtime_DebugTrace(), StackTrace(), と V8_Fatal().
static void v8::internal::Top::PrintStackTrace | ( | FILE * | out, | |
char * | thread_data | |||
) | [static] |
static void v8::internal::Top::PrintStackTrace | ( | FILE * | out, | |
ThreadLocalTop * | thread | |||
) | [static, private] |
Object * v8::internal::Top::PromoteScheduledException | ( | ) | [static] |
void v8::internal::Top::RegisterTryCatchHandler | ( | v8::TryCatch * | that | ) | [static] |
void v8::internal::Top::ReportFailedAccessCheck | ( | JSObject * | receiver, | |
v8::AccessType | type | |||
) | [static] |
参照先 ASSERT, v8::internal::AccessCheckInfo::cast(), v8::internal::FunctionTemplateInfo::cast(), v8::internal::JSFunction::cast(), context(), v8::internal::HeapObject::map(), thread_local_, と v8::Utils::ToLocal().
参照元 v8::internal::JSObject::DefineAccessor(), v8::internal::JSObject::DefineGetterSetter(), v8::internal::JSObject::DeleteElement(), v8::internal::JSObject::DeleteProperty(), v8::internal::JSObject::GetElementWithReceiver(), v8::internal::JSObject::GetPropertyAttribute(), v8::internal::JSObject::GetPropertyWithFailedAccessCheck(), v8::internal::JSObject::HasElementWithReceiver(), v8::internal::JSObject::HasLocalElement(), v8::internal::JSObject::HasRealElementProperty(), v8::internal::JSObject::HasRealNamedCallbackProperty(), v8::internal::JSObject::HasRealNamedProperty(), v8::internal::JSObject::LookupAccessor(), v8::internal::JSObject::SetElement(), と v8::internal::JSObject::SetPropertyWithFailedAccessCheck().
void v8::internal::Top::ReportUncaughtException | ( | Handle< Object > | exception, | |
MessageLocation * | location, | |||
Handle< String > | stack_trace | |||
) | [static] |
char * v8::internal::Top::RestoreThread | ( | char * | from | ) | [static] |
参照先 thread_local_.
Failure * v8::internal::Top::ReThrow | ( | Object * | exception, | |
MessageLocation * | location = NULL | |||
) | [static] |
static SaveContext* v8::internal::Top::save_context | ( | ) | [inline, static] |
static Object* v8::internal::Top::scheduled_exception | ( | ) | [inline, static] |
参照先 ASSERT, has_scheduled_exception(), と thread_local_.
void v8::internal::Top::ScheduleThrow | ( | Object * | exception | ) | [static] |
void v8::internal::Top::set_break | ( | StackFrame::Id | break_frame_id, | |
int | break_id | |||
) | [static] |
static void v8::internal::Top::set_context | ( | Context * | context | ) | [inline, static] |
参照先 thread_local_.
参照元 v8::Context::Enter(), v8::internal::BASE_EMBEDDED< Allocator >::EnterDebugger(), v8::Context::Exit(), v8::internal::Debug::Load(), v8::internal::Runtime_DebugEvaluate(), v8::internal::Runtime_DebugEvaluateGlobal(), v8::internal::Runtime_NewContext(), v8::internal::Runtime_PushContext(), と v8::internal::BASE_EMBEDDED< Allocator >::~SaveContext().
static void v8::internal::Top::set_pending_exception | ( | Object * | exception | ) | [inline, static] |
static void v8::internal::Top::set_save_context | ( | SaveContext * | save | ) | [inline, static] |
void v8::internal::Top::SetFailedAccessCheckCallback | ( | v8::FailedAccessCheckCallback | callback | ) | [static] |
参照先 ASSERT, v8::internal::NULL, と thread_local_.
static void v8::internal::Top::setup_external_caught | ( | ) | [inline, static] |
bool v8::internal::Top::ShouldReportException | ( | bool * | is_caught_externally | ) | [static] |
参照先 GetCurrentThread(), handler(), v8::internal::NULL, と thread_local_.
参照元 DoThrow().
Failure * v8::internal::Top::StackOverflow | ( | ) | [static] |
参照先 builtins(), v8::internal::Copy(), DoThrow(), v8::Exception, v8::internal::GetProperty(), と v8::internal::NULL.
参照元 v8::internal::Compiler::CompileLazy(), v8::internal::MakeFunction(), v8::internal::Parser::ParseLazy(), v8::internal::Parser::ParseProgram(), v8::internal::Runtime_StackGuard(), と v8::internal::Runtime_StackOverflow().
参照先 v8::internal::OS::Abort(), v8::internal::StringStream::ClearMentionedObjectCache(), v8::internal::incomplete_message, v8::internal::NULL, v8::internal::StringStream::OutputToStdOut(), v8::internal::OS::PrintError(), PrintStack(), v8::internal::stack_trace_nesting_level, と v8::internal::StringStream::ToString().
参照元 DoThrow().
void v8::internal::Top::TearDown | ( | ) | [static] |
Failure * v8::internal::Top::Throw | ( | Object * | exception, | |
MessageLocation * | location = NULL | |||
) | [static] |
参照先 DoThrow(), v8::Exception, と v8::internal::NULL.
参照元 v8::internal::ArrayLengthRangeError(), v8::internal::Accessors::ArraySetLength(), v8::internal::BUILTIN(), v8::internal::Runtime::GetObjectProperty(), v8::internal::IllegalOperation(), v8::internal::RegExpImpl::JsreCompile(), v8::internal::RegExpImpl::JsreExecOnce(), v8::internal::LoadContextSlotHelper(), v8::internal::Accessors::ObjectSetPrototype(), v8::internal::IC::ReferenceError(), v8::internal::AstBuildingParser::ReportMessageAt(), v8::internal::Runtime_CheckExecutionState(), v8::internal::Runtime_NewObject(), v8::internal::Runtime_PrepareStep(), v8::internal::Runtime_PushContext(), v8::internal::Runtime_StringBuilderConcat(), v8::internal::Runtime_Throw(), v8::internal::Runtime_ThrowReferenceError(), ScheduleThrow(), v8::internal::Runtime::SetObjectProperty(), v8::internal::JSObject::SetPropertyWithCallback(), v8::internal::ThrowRedeclarationError(), と v8::internal::IC::TypeError().
static v8::TryCatch* v8::internal::Top::try_catch_handler | ( | ) | [inline, static] |
参照先 thread_local_.
void v8::internal::Top::UnregisterTryCatchHandler | ( | v8::TryCatch * | that | ) | [static] |
参照先 ASSERT, v8::TryCatch::next_, と thread_local_.
friend class ExecutionAccess [friend] |
Mutex * v8::internal::Top::break_access_ [static, private] |
参照元 Initialize().
int v8::internal::Top::break_count_ [static, private] |
参照元 Initialize(), と new_break().
StackFrame::Id v8::internal::Top::break_frame_id_ [static, private] |
参照元 break_frame_id(), Initialize(), new_break(), と set_break().
int v8::internal::Top::break_id_ [static, private] |
参照元 break_id(), check_break(), Initialize(), is_break(), new_break(), と set_break().
ThreadLocalTop v8::internal::Top::thread_local_ [static, private] |
参照元 ArchiveThread(), builtins(), c_entry_fp_address(), clear_pending_exception(), clear_scheduled_exception(), context(), context_address(), DoThrow(), external_caught_exception(), external_caught_exception_address(), formal_count_address(), GetCurrentThread(), global_context(), handler_address(), has_pending_exception(), has_scheduled_exception(), InitializeThreadLocal(), Iterate(), MarkCompactEpilogue(), MarkCompactPrologue(), optional_reschedule_exception(), pending_exception(), pending_exception_address(), RegisterTryCatchHandler(), ReportFailedAccessCheck(), RestoreThread(), save_context(), scheduled_exception(), ScheduleThrow(), set_context(), set_pending_exception(), set_save_context(), SetFailedAccessCheckCallback(), setup_external_caught(), ShouldReportException(), try_catch_handler(), と UnregisterTryCatchHandler().