Searched defs:isolate (Results 1 - 25 of 140) sorted by relevance

123456

/external/v8/src/
H A Disolate-inl.h31 #include "isolate.h"
39 SaveContext::SaveContext(Isolate* isolate) : prev_(isolate->save_context()) { argument
40 if (isolate->context() != NULL) {
41 context_ = Handle<Context>(isolate->context());
43 dummy_ = Handle<Context>(isolate->context());
46 isolate->set_save_context(this);
48 c_entry_fp_ = isolate->c_entry_fp(isolate->thread_local_top());
H A Dcompilation-cache.h41 CompilationSubCache(Isolate* isolate, int generations) argument
42 : isolate_(isolate),
82 Isolate* isolate() { return isolate_; }
96 CompilationCacheScript(Isolate* isolate, int generations);
139 CompilationCacheEval(Isolate* isolate, int generations)
140 : CompilationSubCache(isolate, generations) { }
173 CompilationCacheRegExp(Isolate* isolate, int generations)
174 : CompilationSubCache(isolate, generations) { }
263 explicit CompilationCache(Isolate* isolate);
273 Isolate* isolate() { retur
[all...]
H A Dfactory.h410 &isolate()->heap()->roots_[Heap::k##camel_name##RootIndex])); \
418 &isolate()->heap()->roots_[Heap::k##name##RootIndex])); \
424 return Handle<String>(&isolate()->heap()->hidden_symbol_);
487 Isolate* isolate() { return reinterpret_cast<Isolate*>(this); } function in class:v8::internal::Factory
H A Dfunc-name-inferrer.cc37 FuncNameInferrer::FuncNameInferrer(Isolate* isolate) argument
38 : isolate_(isolate),
50 isolate()->runtime_state(), name->Get(0))) {
57 if (IsOpen() && !isolate()->heap()->prototype_symbol()->Equals(*name)) {
64 if (IsOpen() && !isolate()->heap()->result_symbol()->Equals(*name)) {
71 return MakeNameFromStackHelper(0, isolate()->factory()->empty_string());
85 Factory* factory = isolate()->factory();
H A Dvm-state-inl.h61 VMState::VMState(Isolate* isolate, StateTag tag) argument
62 : isolate_(isolate), previous_tag_(isolate->current_vm_state()) {
64 LOG(isolate, UncheckedStringEvent("Entering", StateToString(tag)));
65 LOG(isolate, UncheckedStringEvent("From", StateToString(previous_tag_)));
85 ExternalCallbackScope::ExternalCallbackScope(Isolate* isolate, Address callback) argument
86 : isolate_(isolate), previous_callback_(isolate->external_callback()) {
H A Dregexp-stack.cc34 RegExpStackScope::RegExpStackScope(Isolate* isolate) argument
35 : regexp_stack_(isolate->regexp_stack()) {
H A Darguments.h90 inline CustomArguments(Isolate* isolate, argument
93 JSObject* holder) : Relocatable(isolate) {
99 inline explicit CustomArguments(Isolate* isolate) : Relocatable(isolate) { argument
115 Type Name(Arguments args, Isolate* isolate)
119 Type Name(Arguments args, Isolate* isolate)
122 #define RUNTIME_ARGUMENTS(isolate, args) args, isolate
H A Ddebug-agent.h65 Isolate* isolate() { return isolate_; } function in class:v8::internal::DebuggerAgent
H A Dframes.h60 explicit InnerPointerToCodeCache(Isolate* isolate) : isolate_(isolate) { argument
231 static inline Code* GetContainingCode(Isolate* isolate, Address pc);
236 static Code* GetSafepointData(Isolate* isolate,
260 Isolate* isolate() const { return isolate_; }
274 static Type ComputeType(Isolate* isolate, State* state);
653 // and uses current isolate.
656 // An iterator that iterates over the isolate's current thread's stack,
657 explicit StackFrameIterator(Isolate* isolate);
660 StackFrameIterator(Isolate* isolate, ThreadLocalTo
[all...]
H A Dfunc-name-inferrer.h48 explicit FuncNameInferrer(Isolate* isolate);
105 Isolate* isolate() { return isolate_; } function in class:v8::internal::FuncNameInferrer
H A Dhandles-inl.h35 #include "isolate.h"
56 Handle<T>::Handle(T* obj, Isolate* isolate) { argument
58 location_ = HandleScope::CreateHandle(obj, isolate);
71 Isolate* isolate = Isolate::Current(); local
73 isolate->handle_scope_data();
74 isolate_ = isolate;
81 HandleScope::HandleScope(Isolate* isolate) { argument
82 ASSERT(isolate == Isolate::Current());
84 isolate->handle_scope_data();
85 isolate_ = isolate;
132 CreateHandle(T* value, Isolate* isolate) argument
[all...]
H A Dhandles.h48 INLINE(Handle(T* obj, Isolate* isolate));
113 explicit inline HandleScope(Isolate* isolate);
122 static inline T** CreateHandle(T* value, Isolate* isolate);
125 static void DeleteExtensions(Isolate* isolate);
138 Isolate* isolate() { return isolate_; } function in class:v8::internal::HandleScope
H A Druntime-profiler.h44 explicit RuntimeProfiler(Isolate* isolate);
78 static inline void IsolateEnteredJS(Isolate* isolate);
79 static inline void IsolateExitedJS(Isolate* isolate);
84 // The profiler thread can query whether some isolate is currently
109 static void HandleWakeUp(Isolate* isolate);
167 void RuntimeProfiler::IsolateEnteredJS(Isolate* isolate) { argument
173 HandleWakeUp(isolate);
179 void RuntimeProfiler::IsolateExitedJS(Isolate* isolate) { argument
H A Dzone-inl.h34 #include "isolate.h"
126 ZoneScope::ZoneScope(Isolate* isolate, ZoneScopeMode mode) argument
127 : isolate_(isolate), mode_(mode) {
H A Dcodegen.cc99 Isolate* isolate = info->isolate(); local
105 isolate->factory()->NewCode(desc, flags, masm->CodeObject());
108 isolate->counters()->total_compiled_code_size()->Increment(
155 Isolate* isolate = Isolate::Current(); local
156 if (!isolate->logger()->is_logging() && !CpuProfiler::is_profiling(isolate)) {
H A Dcontexts.cc92 Isolate* isolate = GetIsolate(); local
93 Handle<Context> context(this, isolate);
117 Handle<JSObject> object(JSObject::cast(context->extension()), isolate);
143 context->closure()->shared()->scope_info(), isolate);
146 ScopeInfo::cast(context->extension()), isolate);
232 context = Handle<Context>(context->previous(), isolate);
317 Isolate* isolate = Isolate::Current(); local
318 return isolate->heap()->gc_state() != Heap::NOT_IN_GC ||
319 isolate->bootstrapper()->IsActive() ||
H A Dglobal-handles.h231 Isolate* isolate() { return isolate_; } function in class:v8::internal::GlobalHandles
239 explicit GlobalHandles(Isolate* isolate);
H A Dheap-profiler.cc55 Isolate* isolate = Isolate::Current(); local
56 if (isolate->heap_profiler() == NULL) {
57 isolate->set_heap_profiler(new HeapProfiler());
63 Isolate* isolate = Isolate::Current(); local
64 delete isolate->heap_profiler();
65 isolate->set_heap_profiler(NULL);
H A Dlog-utils.cc51 Isolate* isolate = Isolate::Current(); local
52 if (isolate->IsDefaultIsolate()) return;
53 stream->Add("isolate-%p-", isolate);
H A Dmessages.cc103 void MessageHandler::ReportMessage(Isolate* isolate, argument
109 Isolate::ExceptionScope exception_scope(isolate);
110 isolate->clear_pending_exception();
111 isolate->set_external_caught_exception(false);
119 if (isolate->has_scheduled_exception()) {
120 isolate->clear_scheduled_exception();
136 if (isolate->has_scheduled_exception()) {
137 isolate->clear_scheduled_exception();
H A Dv8threads.h75 // Defined in isolate.h.
82 virtual void VisitThread(Isolate* isolate, ThreadLocalTop* top) = 0;
156 ContextSwitcher(Isolate* isolate, int every_n_ms);
158 Isolate* isolate() const { return isolate_; } function in class:v8::internal::ContextSwitcher
/external/v8/src/ia32/
H A Dsimulator-ia32.h59 static inline uintptr_t JsLimitFromCLimit(Isolate* isolate, argument
61 USE(isolate);
H A Ddebug-ia32.cc52 Isolate* isolate = Isolate::Current(); local
53 rinfo()->PatchCodeWithCall(isolate->debug()->debug_break_return()->entry(),
82 Isolate* isolate = Isolate::Current(); local
84 isolate->debug()->debug_break_slot()->entry(),
132 __ mov(ebx, Immediate(ExternalReference::debug_break(masm->isolate())));
167 ExternalReference(Debug_Address::AfterBreakTarget(), masm->isolate());
306 masm->isolate());
/external/v8/src/x64/
H A Dsimulator-x64.h58 static inline uintptr_t JsLimitFromCLimit(Isolate* isolate, argument
/external/v8/test/cctest/
H A Dtest-spaces.cc104 // Temporarily sets a given allocator in an isolate.
107 TestMemoryAllocatorScope(Isolate* isolate, MemoryAllocator* allocator) argument
108 : isolate_(isolate),
109 old_allocator_(isolate->memory_allocator_) {
110 isolate->memory_allocator_ = allocator;
129 Isolate* isolate = Isolate::Current(); local
130 isolate->InitializeLoggingAndCounters();
131 Heap* heap = isolate->heap();
132 CHECK(isolate->heap()->ConfigureHeapDefault());
134 MemoryAllocator* memory_allocator = new MemoryAllocator(isolate);
179 Isolate* isolate = Isolate::Current(); local
209 Isolate* isolate = Isolate::Current(); local
[all...]

Completed in 486 milliseconds

123456