Context 132 include/v8-debug.h virtual Handle<Context> GetEventContext() const = 0; Context 169 include/v8-debug.h virtual Handle<Context> GetEventContext() const = 0; Context 390 include/v8-debug.h static Local<Context> GetDebugContext(); Context 83 include/v8.h class Context; Context 1647 include/v8.h V8EXPORT Local<Context> CreationContext(); Context 2316 include/v8.h friend class Context; Context 3385 include/v8.h friend class Context; Context 3519 include/v8.h class V8EXPORT Context { Context 3575 include/v8.h static Persistent<Context> New( Context 3581 include/v8.h static Local<Context> GetEntered(); Context 3584 include/v8.h static Local<Context> GetCurrent(); Context 3591 include/v8.h static Local<Context> GetCalling(); Context 3660 include/v8.h explicit inline Scope(Handle<Context> context) : context_(context) { Context 3665 include/v8.h Handle<Context> context_; Context 4052 include/v8.h static inline bool CanCastToHeapObject(Context* o) { return true; } Context 112 samples/lineprocessor.cc v8::Persistent<v8::Context> debug_message_context; Context 126 samples/lineprocessor.cc v8::Context::Scope scope(debug_message_context); Context 210 samples/lineprocessor.cc v8::Handle<v8::Context> context = v8::Context::New(NULL, global); Context 212 samples/lineprocessor.cc v8::Context::Scope context_scope(context); Context 215 samples/lineprocessor.cc debug_message_context = v8::Persistent<v8::Context>::New(context); Context 255 samples/lineprocessor.cc bool res = RunCppCycle(script, v8::Context::GetCurrent(), Context 273 samples/lineprocessor.cc v8::Context::GetCurrent()->Global()->Get(fun_name); Context 301 samples/lineprocessor.cc result = process_fun->Call(v8::Context::GetCurrent()->Global(), Context 125 samples/process.cc Persistent<Context> context_; Context 162 samples/process.cc context_ = Context::New(NULL, global); Context 166 samples/process.cc Context::Scope context_scope(context_); Context 249 samples/process.cc Context::Scope context_scope(context_); Context 48 samples/shell.cc v8::Persistent<v8::Context> CreateShellContext(); Context 73 samples/shell.cc v8::Persistent<v8::Context> context = CreateShellContext(); Context 97 samples/shell.cc v8::Persistent<v8::Context> CreateShellContext() { Context 111 samples/shell.cc return v8::Context::New(NULL, global); Context 255 samples/shell.cc v8::Context::Scope context_scope(context); Context 814 src/accessors.cc Context* context = Context::cast(instance->context()); Context 835 src/accessors.cc Context* context = Context::cast(instance->context()); Context 732 src/api.cc void Context::Enter() { Context 733 src/api.cc i::Handle<i::Context> env = Utils::OpenHandle(this); Context 745 src/api.cc void Context::Exit() { Context 759 src/api.cc i::Context* last_context = Context 766 src/api.cc void Context::SetData(v8::Handle<String> data) { Context 767 src/api.cc i::Handle<i::Context> env = Utils::OpenHandle(this); Context 778 src/api.cc v8::Local<v8::Value> Context::GetData() { Context 779 src/api.cc i::Handle<i::Context> env = Utils::OpenHandle(this); Context 3262 src/api.cc static i::Context* GetCreationContext(i::JSObject* object) { Context 3277 src/api.cc Local<v8::Context> v8::Object::CreationContext() { Context 3280 src/api.cc "v8::Object::CreationContext()", return Local<v8::Context>()); Context 3283 src/api.cc i::Context* context = GetCreationContext(*self); Context 3284 src/api.cc return Utils::ToLocal(i::Handle<i::Context>(context)); Context 4325 src/api.cc Persistent<Context> v8::Context::New( Context 4333 src/api.cc ON_BAILOUT(isolate, "v8::Context::New()", return Persistent<Context>()); Context 4336 src/api.cc i::Handle<i::Context> env; Context 4393 src/api.cc return Persistent<Context>(); Context 4395 src/api.cc return Persistent<Context>(Utils::ToLocal(env)); Context 4399 src/api.cc void v8::Context::SetSecurityToken(Handle<Value> token) { Context 4405 src/api.cc i::Handle<i::Context> env = Utils::OpenHandle(this); Context 4411 src/api.cc void v8::Context::UseDefaultSecurityToken() { Context 4418 src/api.cc i::Handle<i::Context> env = Utils::OpenHandle(this); Context 4423 src/api.cc Handle<Value> v8::Context::GetSecurityToken() { Context 4428 src/api.cc i::Handle<i::Context> env = Utils::OpenHandle(this); Context 4435 src/api.cc bool Context::HasOutOfMemoryException() { Context 4436 src/api.cc i::Handle<i::Context> env = Utils::OpenHandle(this); Context 4441 src/api.cc bool Context::InContext() { Context 4446 src/api.cc v8::Local<v8::Context> Context::GetEntered() { Context 4449 src/api.cc return Local<Context>(); Context 4453 src/api.cc if (last.is_null()) return Local<Context>(); Context 4454 src/api.cc i::Handle<i::Context> context = i::Handle<i::Context>::cast(last); Context 4459 src/api.cc v8::Local<v8::Context> Context::GetCurrent() { Context 4462 src/api.cc return Local<Context>(); Context 4465 src/api.cc if (current.is_null()) return Local<Context>(); Context 4466 src/api.cc i::Handle<i::Context> context = i::Handle<i::Context>::cast(current); Context 4471 src/api.cc v8::Local<v8::Context> Context::GetCalling() { Context 4474 src/api.cc return Local<Context>(); Context 4478 src/api.cc if (calling.is_null()) return Local<Context>(); Context 4479 src/api.cc i::Handle<i::Context> context = i::Handle<i::Context>::cast(calling); Context 4484 src/api.cc v8::Local<v8::Object> Context::Global() { Context 4489 src/api.cc i::Handle<i::Context> context = Context 4490 src/api.cc i::Handle<i::Context>::cast(i::Handle<i::Object>(ctx)); Context 4496 src/api.cc void Context::DetachGlobal() { Context 4501 src/api.cc i::Handle<i::Context> context = Context 4502 src/api.cc i::Handle<i::Context>::cast(i::Handle<i::Object>(ctx)); Context 4507 src/api.cc void Context::ReattachGlobal(Handle<Object> global_object) { Context 4512 src/api.cc i::Handle<i::Context> context = Context 4513 src/api.cc i::Handle<i::Context>::cast(i::Handle<i::Object>(ctx)); Context 4520 src/api.cc void Context::AllowCodeGenerationFromStrings(bool allow) { Context 4527 src/api.cc i::Handle<i::Context> context = Context 4528 src/api.cc i::Handle<i::Context>::cast(i::Handle<i::Object>(ctx)); Context 4534 src/api.cc bool Context::IsCodeGenerationFromStringsAllowed() { Context 4542 src/api.cc i::Handle<i::Context> context = Context 4543 src/api.cc i::Handle<i::Context>::cast(i::Handle<i::Object>(ctx)); Context 5803 src/api.cc Local<Context> Debug::GetDebugContext() { Context 169 src/api.h static inline Local<Context> ToLocal( Context 170 src/api.h v8::internal::Handle<v8::internal::Context> obj); Context 234 src/api.h static inline v8::internal::Handle<v8::internal::Context> Context 235 src/api.h OpenHandle(const v8::Context* context); Context 272 src/api.h MAKE_TO_LOCAL(ToLocal, Context, Context) Context 318 src/api.h MAKE_OPEN_HANDLE(Context, Context) Context 471 src/api.h inline void SaveContext(Context* context); Context 472 src/api.h inline Context* RestoreContext(); Context 513 src/api.h List<Context*> saved_contexts_; Context 535 src/api.h void HandleScopeImplementer::SaveContext(Context* context) { Context 540 src/api.h Context* HandleScopeImplementer::RestoreContext() { Context 80 src/arm/builtins-arm.cc __ ldr(result, MemOperand(cp, Context::SlotOffset(Context::GLOBAL_INDEX))); Context 86 src/arm/builtins-arm.cc Context::SlotOffset( Context 87 src/arm/builtins-arm.cc Context::INTERNAL_ARRAY_FUNCTION_INDEX))); Context 95 src/arm/builtins-arm.cc __ ldr(result, MemOperand(cp, Context::SlotOffset(Context::GLOBAL_INDEX))); Context 101 src/arm/builtins-arm.cc Context::SlotOffset(Context::ARRAY_FUNCTION_INDEX))); Context 584 src/arm/builtins-arm.cc __ LoadGlobalFunction(Context::STRING_FUNCTION_INDEX, r2); Context 1369 src/arm/builtins-arm.cc Context::kHeaderSize + Context::GLOBAL_INDEX * kPointerSize; Context 1564 src/arm/builtins-arm.cc Context::kHeaderSize + Context::GLOBAL_INDEX * kPointerSize; Context 106 src/arm/code-stubs-arm.cc ? Context::FUNCTION_MAP_INDEX Context 107 src/arm/code-stubs-arm.cc : Context::STRICT_MODE_FUNCTION_MAP_INDEX; Context 111 src/arm/code-stubs-arm.cc __ ldr(r2, MemOperand(cp, Context::SlotOffset(Context::GLOBAL_INDEX))); Context 113 src/arm/code-stubs-arm.cc __ ldr(r5, MemOperand(r2, Context::SlotOffset(map_index))); Context 194 src/arm/code-stubs-arm.cc __ ldr(r4, ContextOperand(r2, Context::OPTIMIZED_FUNCTIONS_LIST)); Context 199 src/arm/code-stubs-arm.cc __ str(r0, ContextOperand(r2, Context::OPTIMIZED_FUNCTIONS_LIST)); Context 205 src/arm/code-stubs-arm.cc Context::SlotOffset(Context::OPTIMIZED_FUNCTIONS_LIST), Context 225 src/arm/code-stubs-arm.cc int length = slots_ + Context::MIN_CONTEXT_SLOTS; Context 245 src/arm/code-stubs-arm.cc __ ldr(r2, MemOperand(cp, Context::SlotOffset(Context::GLOBAL_INDEX))); Context 247 src/arm/code-stubs-arm.cc __ str(r3, MemOperand(r0, Context::SlotOffset(Context::CLOSURE_INDEX))); Context 248 src/arm/code-stubs-arm.cc __ str(cp, MemOperand(r0, Context::SlotOffset(Context::PREVIOUS_INDEX))); Context 249 src/arm/code-stubs-arm.cc __ str(r1, MemOperand(r0, Context::SlotOffset(Context::EXTENSION_INDEX))); Context 250 src/arm/code-stubs-arm.cc __ str(r2, MemOperand(r0, Context::SlotOffset(Context::GLOBAL_INDEX))); Context 254 src/arm/code-stubs-arm.cc for (int i = Context::MIN_CONTEXT_SLOTS; i < length; i++) { Context 255 src/arm/code-stubs-arm.cc __ str(r1, MemOperand(r0, Context::SlotOffset(i))); Context 277 src/arm/code-stubs-arm.cc int length = slots_ + Context::MIN_CONTEXT_SLOTS; Context 306 src/arm/code-stubs-arm.cc __ ldr(r3, ContextOperand(r3, Context::CLOSURE_INDEX)); Context 310 src/arm/code-stubs-arm.cc __ ldr(r2, ContextOperand(cp, Context::GLOBAL_INDEX)); Context 311 src/arm/code-stubs-arm.cc __ str(r3, ContextOperand(r0, Context::CLOSURE_INDEX)); Context 312 src/arm/code-stubs-arm.cc __ str(cp, ContextOperand(r0, Context::PREVIOUS_INDEX)); Context 313 src/arm/code-stubs-arm.cc __ str(r1, ContextOperand(r0, Context::EXTENSION_INDEX)); Context 314 src/arm/code-stubs-arm.cc __ str(r2, ContextOperand(r0, Context::GLOBAL_INDEX)); Context 319 src/arm/code-stubs-arm.cc __ str(r1, ContextOperand(r0, i + Context::MIN_CONTEXT_SLOTS)); Context 4470 src/arm/code-stubs-arm.cc Context::SlotOffset(Context::ARGUMENTS_BOILERPLATE_INDEX); Context 4472 src/arm/code-stubs-arm.cc Context::SlotOffset(Context::ALIASED_ARGUMENTS_BOILERPLATE_INDEX); Context 4474 src/arm/code-stubs-arm.cc __ ldr(r4, MemOperand(r8, Context::SlotOffset(Context::GLOBAL_INDEX))); Context 4541 src/arm/code-stubs-arm.cc __ add(r9, r9, Operand(Smi::FromInt(Context::MIN_CONTEXT_SLOTS))); Context 4649 src/arm/code-stubs-arm.cc __ ldr(r4, MemOperand(cp, Context::SlotOffset(Context::GLOBAL_INDEX))); Context 4651 src/arm/code-stubs-arm.cc __ ldr(r4, MemOperand(r4, Context::SlotOffset( Context 4652 src/arm/code-stubs-arm.cc Context::STRICT_MODE_ARGUMENTS_BOILERPLATE_INDEX))); Context 5165 src/arm/code-stubs-arm.cc __ ldr(r2, ContextOperand(cp, Context::GLOBAL_INDEX)); Context 5170 src/arm/code-stubs-arm.cc __ ldr(r2, ContextOperand(r2, Context::REGEXP_RESULT_MAP_INDEX)); Context 5274 src/arm/code-stubs-arm.cc __ ldr(r3, MemOperand(cp, Context::SlotOffset(Context::GLOBAL_INDEX))); Context 106 src/arm/deoptimizer-arm.cc Context* context = function->context()->global_context(); Context 107 src/arm/deoptimizer-arm.cc Object* element = context->get(Context::OPTIMIZED_FUNCTIONS_LIST); Context 185 src/arm/full-codegen-arm.cc int heap_slots = info->scope()->num_heap_slots() - Context::MIN_CONTEXT_SLOTS; Context 896 src/arm/full-codegen-arm.cc int offset = Context::SlotOffset(variable->index()); Context 1301 src/arm/full-codegen-arm.cc __ ldr(temp, ContextOperand(current, Context::EXTENSION_INDEX)); Context 1306 src/arm/full-codegen-arm.cc __ ldr(next, ContextOperand(current, Context::PREVIOUS_INDEX)); Context 1328 src/arm/full-codegen-arm.cc __ ldr(temp, ContextOperand(next, Context::EXTENSION_INDEX)); Context 1332 src/arm/full-codegen-arm.cc __ ldr(next, ContextOperand(next, Context::PREVIOUS_INDEX)); Context 1358 src/arm/full-codegen-arm.cc __ ldr(temp, ContextOperand(context, Context::EXTENSION_INDEX)); Context 1362 src/arm/full-codegen-arm.cc __ ldr(next, ContextOperand(context, Context::PREVIOUS_INDEX)); Context 1368 src/arm/full-codegen-arm.cc __ ldr(temp, ContextOperand(context, Context::EXTENSION_INDEX)); Context 2143 src/arm/full-codegen-arm.cc int offset = Context::SlotOffset(var->index()); Context 2164 src/arm/full-codegen-arm.cc int offset = Context::SlotOffset(var->index()); Context 2779 src/arm/full-codegen-arm.cc __ ldr(r3, ContextOperand(cp, Context::GLOBAL_INDEX)); Context 2781 src/arm/full-codegen-arm.cc __ ldr(r3, ContextOperand(r3, Context::STRING_FUNCTION_PROTOTYPE_MAP_INDEX)); Context 3059 src/arm/full-codegen-arm.cc __ ldr(r0, ContextOperand(context_register(), Context::GLOBAL_INDEX)); Context 3080 src/arm/full-codegen-arm.cc __ ldr(r1, ContextOperand(context_register(), Context::GLOBAL_INDEX)); Context 3491 src/arm/full-codegen-arm.cc __ ldr(cache, ContextOperand(cp, Context::GLOBAL_INDEX)); Context 3493 src/arm/full-codegen-arm.cc __ ldr(cache, ContextOperand(cache, Context::JSFUNCTION_RESULT_CACHES_INDEX)); Context 4478 src/arm/full-codegen-arm.cc __ ldr(ip, ContextOperand(cp, Context::CLOSURE_INDEX)); Context 415 src/arm/ic-arm.cc masm, Context::NUMBER_FUNCTION_INDEX, r1); Context 423 src/arm/ic-arm.cc masm, Context::STRING_FUNCTION_INDEX, r1); Context 436 src/arm/ic-arm.cc masm, Context::BOOLEAN_FUNCTION_INDEX, r1); Context 811 src/arm/ic-arm.cc __ add(scratch3, scratch3, Operand(Context::kHeaderSize - kHeapObjectTag)); Context 90 src/arm/lithium-arm.h V(Context) \ Context 1416 src/arm/lithium-arm.h DECLARE_CONCRETE_INSTRUCTION(Context, "context") Context 178 src/arm/lithium-codegen-arm.cc int heap_slots = scope()->num_heap_slots() - Context::MIN_CONTEXT_SLOTS; Context 3113 src/arm/lithium-codegen-arm.cc MemOperand(context, Context::SlotOffset(Context::PREVIOUS_INDEX))); Context 3129 src/arm/lithium-codegen-arm.cc __ ldr(result, ContextOperand(cp, Context::GLOBAL_INDEX)); Context 3493 src/arm/lithium-codegen-arm.cc FixedArray::kHeaderSize + Context::RANDOM_SEED_INDEX * kPointerSize; Context 1342 src/arm/macro-assembler-arm.cc int offset = Context::kHeaderSize + Context::GLOBAL_INDEX * kPointerSize; Context 1389 src/arm/macro-assembler-arm.cc int token_offset = Context::kHeaderSize + Context 1390 src/arm/macro-assembler-arm.cc Context::SECURITY_TOKEN_INDEX * kPointerSize; Context 2706 src/arm/macro-assembler-arm.cc ldr(target, MemOperand(cp, Context::SlotOffset(Context::GLOBAL_INDEX))); Context 2852 src/arm/macro-assembler-arm.cc ldr(dst, MemOperand(cp, Context::SlotOffset(Context::PREVIOUS_INDEX))); Context 2854 src/arm/macro-assembler-arm.cc ldr(dst, MemOperand(dst, Context::SlotOffset(Context::PREVIOUS_INDEX))); Context 2872 src/arm/macro-assembler-arm.cc ldr(scratch, MemOperand(cp, Context::SlotOffset(Context::GLOBAL_INDEX))); Context 2878 src/arm/macro-assembler-arm.cc Context::SlotOffset(Context::JS_ARRAY_MAPS_INDEX))); Context 2919 src/arm/macro-assembler-arm.cc ldr(function, MemOperand(cp, Context::SlotOffset(Context::GLOBAL_INDEX))); Context 2924 src/arm/macro-assembler-arm.cc ldr(function, MemOperand(function, Context::SlotOffset(index))); Context 1376 src/arm/macro-assembler-arm.h return MemOperand(context, Context::SlotOffset(index)); Context 1381 src/arm/macro-assembler-arm.h return ContextOperand(cp, Context::GLOBAL_INDEX); Context 286 src/arm/stub-cache-arm.cc __ ldr(prototype, MemOperand(cp, Context::SlotOffset(Context::GLOBAL_INDEX))); Context 291 src/arm/stub-cache-arm.cc __ ldr(prototype, MemOperand(prototype, Context::SlotOffset(index))); Context 307 src/arm/stub-cache-arm.cc __ ldr(prototype, MemOperand(cp, Context::SlotOffset(Context::GLOBAL_INDEX))); Context 1874 src/arm/stub-cache-arm.cc Context::STRING_FUNCTION_INDEX, Context 1954 src/arm/stub-cache-arm.cc Context::STRING_FUNCTION_INDEX, Context 2430 src/arm/stub-cache-arm.cc masm(), Context::STRING_FUNCTION_INDEX, r0, &miss); Context 2451 src/arm/stub-cache-arm.cc masm(), Context::NUMBER_FUNCTION_INDEX, r0, &miss); Context 2475 src/arm/stub-cache-arm.cc masm(), Context::BOOLEAN_FUNCTION_INDEX, r0, &miss); Context 148 src/bootstrapper.cc Handle<Context> result() { return result_; } Context 157 src/bootstrapper.cc Handle<Context> global_context_; Context 165 src/bootstrapper.cc Handle<Context> global_context() { return global_context_; } Context 277 src/bootstrapper.cc Handle<Context> result_; Context 298 src/bootstrapper.cc Handle<Context> Bootstrapper::CreateEnvironment( Context 304 src/bootstrapper.cc Handle<Context> env; Context 312 src/bootstrapper.cc return Handle<Context>(); Context 663 src/bootstrapper.cc ASSERT(context->get(Context::NEXT_CONTEXT_LINK)->IsUndefined()); Context 667 src/bootstrapper.cc current = Context::cast(current)->get(Context::NEXT_CONTEXT_LINK)) { Context 672 src/bootstrapper.cc context->set(Context::NEXT_CONTEXT_LINK, heap->global_contexts_list()); Context 682 src/bootstrapper.cc global_context_ = Handle<Context>::cast(isolate()->global_handles()->Create( Context 1310 src/bootstrapper.cc Handle<Context>(isolate->context()), Context 1353 src/bootstrapper.cc Handle<Context> context = Context 1354 src/bootstrapper.cc Handle<Context>(use_runtime_context Context 1355 src/bootstrapper.cc ? Handle<Context>(top_context->runtime_context()) Context 1458 src/bootstrapper.cc Handle<Context> context = Context 1459 src/bootstrapper.cc factory()->NewFunctionContext(Context::MIN_CONTEXT_SLOTS, bridge); Context 2062 src/bootstrapper.cc Handle<Context>(isolate->context()), Context 2274 src/bootstrapper.cc result_ = Handle<Context>::null(); Context 2289 src/bootstrapper.cc Handle<Context> new_context = Snapshot::NewContextFromSnapshot(); Context 2292 src/bootstrapper.cc Handle<Context>::cast(isolate->global_handles()->Create(*new_context)); Context 97 src/bootstrapper.h Handle<Context> CreateEnvironment( Context 104 src/bootstrapper.h void DetachGlobal(Handle<Context> env); Context 107 src/bootstrapper.h void ReattachGlobal(Handle<Context> env, Handle<Object> global_object); Context 129 src/bootstrapper.h bool InstallExtensions(Handle<Context> global_context, Context 202 src/builtins.cc Context* global_context = isolate->context()->global_context(); Context 464 src/builtins.cc Context* global_context = heap->isolate()->context()->global_context(); Context 946 src/builtins.cc Context* global_context = isolate->context()->global_context(); Context 143 src/compilation-cache.h Handle<Context> context, Context 148 src/compilation-cache.h Handle<Context> context, Context 155 src/compilation-cache.h Handle<Context> context, Context 162 src/compilation-cache.h Handle<Context> context, Context 213 src/compilation-cache.h Handle<Context> context, Context 231 src/compilation-cache.h Handle<Context> context, Context 313 src/compiler.cc Handle<Context> global_context( Context 678 src/compiler.cc Handle<Context> global_context(function->context()->global_context()); Context 727 src/compiler.cc Handle<Context> global_context(function->context()->global_context()); Context 75 src/compiler.h Handle<Context> calling_context() const { return calling_context_; } Context 123 src/compiler.h void SetCallingContext(Handle<Context> context) { Context 259 src/compiler.h Handle<Context> calling_context_; Context 426 src/compiler.h Handle<Context> context, Context 37 src/contexts.cc Context* Context::declaration_context() { Context 38 src/contexts.cc Context* current = this; Context 47 src/contexts.cc JSBuiltinsObject* Context::builtins() { Context 58 src/contexts.cc Context* Context::global_context() { Context 69 src/contexts.cc Context* current = this; Context 72 src/contexts.cc current = Context::cast(closure->context()); Context 78 src/contexts.cc JSObject* Context::global_proxy() { Context 82 src/contexts.cc void Context::set_global_proxy(JSObject* object) { Context 87 src/contexts.cc Handle<Object> Context::Lookup(Handle<String> name, Context 93 src/contexts.cc Handle<Context> context(this, isolate); Context 221 src/contexts.cc *index = Context::THROWN_OBJECT_INDEX; Context 232 src/contexts.cc context = Handle<Context>(context->previous(), isolate); Context 243 src/contexts.cc void Context::AddOptimizedFunction(JSFunction* function) { Context 264 src/contexts.cc context = Context::cast(context)->get(Context::NEXT_CONTEXT_LINK); Context 273 src/contexts.cc void Context::RemoveOptimizedFunction(JSFunction* function) { Context 297 src/contexts.cc Object* Context::OptimizedFunctionsListHead() { Context 303 src/contexts.cc void Context::ClearOptimizedFunctions() { Context 309 src/contexts.cc bool Context::IsBootstrappingOrValidParentContext( Context 315 src/contexts.cc Context* context = Context::cast(object); Context 321 src/contexts.cc bool Context::IsBootstrappingOrGlobalObject(Object* object) { Context 146 src/contexts.h V(RUNTIME_CONTEXT_INDEX, Context, runtime_context) \ Context 206 src/contexts.h class Context: public FixedArray { Context 209 src/contexts.h static Context* cast(Object* context) { Context 211 src/contexts.h return reinterpret_cast<Context*>(context); Context 306 src/contexts.h Context* previous() { Context 309 src/contexts.h return reinterpret_cast<Context*>(result); Context 311 src/contexts.h void set_previous(Context* context) { set(PREVIOUS_INDEX, context); } Context 322 src/contexts.h Context* declaration_context(); Context 339 src/contexts.h Context* global_context(); Context 434 src/contexts.h static bool IsBootstrappingOrValidParentContext(Object* object, Context* kid); Context 115 src/d8.cc Persistent<Context> Shell::utility_context_; Context 119 src/d8.cc Persistent<Context> Shell::evaluation_context_; Context 493 src/d8.cc Handle<Object> global = Context::GetCurrent()->Global(); Context 855 src/d8.cc bool enter_context = !Context::InContext(); Context 901 src/d8.cc Context::Scope context_scope(utility_context_); Context 913 src/d8.cc Context::Scope context_scope(utility_context_); Context 924 src/d8.cc Context::Scope context_scope(utility_context_); Context 935 src/d8.cc v8::Context::Scope scope(Shell::evaluation_context_); Context 1048 src/d8.cc Context::Scope utility_scope(utility_context_); Context 1226 src/d8.cc utility_context_ = Context::New(NULL, global_template); Context 1239 src/d8.cc Persistent<Context> Shell::CreateEvaluationContext() { Context 1246 src/d8.cc Persistent<Context> context = Context::New(NULL, global_template); Context 1248 src/d8.cc Context::Scope scope(context); Context 1436 src/d8.cc Context::Scope context_scope(evaluation_context_); Context 1486 src/d8.cc Persistent<Context> thread_context = Shell::CreateEvaluationContext(); Context 1487 src/d8.cc Context::Scope context_scope(thread_context); Context 1586 src/d8.cc Persistent<Context> context = Shell::CreateEvaluationContext(); Context 1588 src/d8.cc Context::Scope cscope(context); Context 1775 src/d8.cc Persistent<Context> context = CreateEvaluationContext(); Context 1788 src/d8.cc Context::Scope cscope(context); Context 274 src/d8.h static Persistent<Context> CreateEvaluationContext(); Context 371 src/d8.h static Persistent<Context> evaluation_context_; Context 373 src/d8.h static Persistent<Context> utility_context_; Context 95 src/debug.cc static v8::Handle<v8::Context> GetDebugEventContext(Isolate* isolate) { Context 96 src/debug.cc Handle<Context> context = isolate->debug()->debugger_entry()->GetContext(); Context 99 src/debug.cc if (context.is_null()) return v8::Local<v8::Context>(); Context 100 src/debug.cc Handle<Context> global_context(context->global_context()); Context 765 src/debug.cc Handle<Context> context = isolate->global_context(); Context 816 src/debug.cc Handle<Context> context = Context 878 src/debug.cc debug_context_ = Handle<Context>(); Context 2835 src/debug.cc Handle<Context> Debugger::GetDebugContext() { Context 3452 src/debug.cc v8::Handle<v8::Context> MessageImpl::GetEventContext() const { Context 3454 src/debug.cc v8::Handle<v8::Context> context = GetDebugEventContext(isolate); Context 3493 src/debug.cc v8::Handle<v8::Context> EventDetailsImpl::GetEventContext() const { Context 284 src/debug.h inline Handle<Context> debug_context() { return debug_context_; } Context 529 src/debug.h Handle<Context> debug_context_; Context 645 src/debug.h virtual v8::Handle<v8::Context> GetEventContext() const; Context 678 src/debug.h virtual v8::Handle<v8::Context> GetEventContext() const; Context 839 src/debug.h Handle<Context> GetDebugContext(); Context 945 src/debug.h inline Handle<Context> GetContext() { return save_.context(); } Context 323 src/deoptimizer.cc Object* global = Context::cast(context)->get(Context::GLOBAL_INDEX); Context 328 src/deoptimizer.cc context = Context::cast(context)->get(Context::NEXT_CONTEXT_LINK); Context 66 src/deoptimizer.h virtual void EnterContext(Context* context) = 0; Context 72 src/deoptimizer.h virtual void LeaveContext(Context* context) = 0; Context 161 src/deoptimizer.h Context* context, OptimizedFunctionVisitor* visitor); Context 1463 src/elements.cc Context* context = Context::cast(parameter_map->get(0)); Context 1477 src/elements.cc Context* context = Context::cast(parameter_map->get(0)); Context 288 src/factory.cc Handle<Context> Factory::NewGlobalContext() { Context 292 src/factory.cc Context); Context 296 src/factory.cc Handle<Context> Factory::NewModuleContext(Handle<ScopeInfo> scope_info) { Context 300 src/factory.cc Context); Context 304 src/factory.cc Handle<Context> Factory::NewFunctionContext(int length, Context 309 src/factory.cc Context); Context 313 src/factory.cc Handle<Context> Factory::NewCatchContext(Handle<JSFunction> function, Context 323 src/factory.cc Context); Context 327 src/factory.cc Handle<Context> Factory::NewWithContext(Handle<JSFunction> function, Context 333 src/factory.cc Context); Context 337 src/factory.cc Handle<Context> Factory::NewBlockContext(Handle<JSFunction> function, Context 345 src/factory.cc Context); Context 163 src/factory.h Handle<Context> NewGlobalContext(); Context 166 src/factory.h Handle<Context> NewModuleContext(Handle<ScopeInfo> scope_info); Context 169 src/factory.h Handle<Context> NewFunctionContext(int length, Handle<JSFunction> function); Context 172 src/factory.h Handle<Context> NewCatchContext(Handle<JSFunction> function, Context 173 src/factory.h Handle<Context> previous, Context 178 src/factory.h Handle<Context> NewWithContext(Handle<JSFunction> function, Context 179 src/factory.h Handle<Context> previous, Context 183 src/factory.h Handle<Context> NewBlockContext(Handle<JSFunction> function, Context 184 src/factory.h Handle<Context> previous, Context 268 src/factory.h Handle<JSModule> NewJSModule(Handle<Context> context, Context 318 src/factory.h Handle<Context> context, Context 334 src/factory.h Handle<Context> global_context); Context 468 src/factory.h Handle<Map> ObjectLiteralMapFromCache(Handle<Context> context, Context 513 src/factory.h Handle<MapCache> AddToMapCache(Handle<Context> context, Context 1145 src/frames.cc Context* context = NULL; Context 1147 src/frames.cc context = Context::cast(this->context()); Context 1160 src/frames.cc accumulator->Add("%o", context->get(Context::MIN_CONTEXT_SLOTS + i)); Context 614 src/full-codegen.cc LoadContextField(context_register(), Context::PREVIOUS_INDEX); Context 904 src/full-codegen.cc scope_info->ContextLength() - Context::MIN_CONTEXT_SLOTS; Context 931 src/full-codegen.cc LoadContextField(context_register(), Context::PREVIOUS_INDEX); Context 997 src/full-codegen.cc LoadContextField(context_register(), Context::PREVIOUS_INDEX); Context 1025 src/full-codegen.cc LoadContextField(context_register(), Context::PREVIOUS_INDEX); Context 1069 src/full-codegen.cc LoadContextField(context_register(), Context::PREVIOUS_INDEX); Context 1223 src/full-codegen.cc LoadContextField(context_register(), Context::PREVIOUS_INDEX); Context 1118 src/gdb-jit.cc int internal_slots = Context::MIN_CONTEXT_SLOTS; Context 1147 src/gdb-jit.cc ASSERT(Context::MIN_CONTEXT_SLOTS == 4); Context 1148 src/gdb-jit.cc ASSERT(Context::CLOSURE_INDEX == 0); Context 1149 src/gdb-jit.cc ASSERT(Context::PREVIOUS_INDEX == 1); Context 1150 src/gdb-jit.cc ASSERT(Context::EXTENSION_INDEX == 2); Context 1151 src/gdb-jit.cc ASSERT(Context::GLOBAL_INDEX == 3); Context 1315 src/gdb-jit.cc int internal_slots = Context::MIN_CONTEXT_SLOTS; Context 744 src/heap.cc Context::cast(context)->get(Context::JSFUNCTION_RESULT_CACHES_INDEX); Context 754 src/heap.cc context = Context::cast(context)->get(Context::NEXT_CONTEXT_LINK); Context 771 src/heap.cc Context::cast(context)->get(Context::NORMALIZED_MAP_CACHE_INDEX); Context 775 src/heap.cc context = Context::cast(context)->get(Context::NEXT_CONTEXT_LINK); Context 1438 src/heap.cc Context* tail = NULL; Context 1451 src/heap.cc Context* candidate_context = reinterpret_cast<Context*>(candidate); Context 1461 src/heap.cc Context::NEXT_CONTEXT_LINK, Context 1468 src/heap.cc tail, FixedArray::SizeFor(Context::NEXT_CONTEXT_LINK)); Context 1474 src/heap.cc candidate_context = reinterpret_cast<Context*>(retain); Context 1483 src/heap.cc candidate_context->get(Context::OPTIMIZED_FUNCTIONS_LIST), Context 1487 src/heap.cc Context::OPTIMIZED_FUNCTIONS_LIST, Context 1493 src/heap.cc tail, FixedArray::SizeFor(Context::OPTIMIZED_FUNCTIONS_LIST)); Context 1500 src/heap.cc candidate = candidate_context->get(Context::NEXT_CONTEXT_LINK); Context 1506 src/heap.cc Context::NEXT_CONTEXT_LINK, Context 4597 src/heap.cc Context* global_context = isolate()->context()->global_context(); Context 4886 src/heap.cc AllocateFixedArray(Context::GLOBAL_CONTEXT_SLOTS); Context 4889 src/heap.cc Context* context = reinterpret_cast<Context*>(result); Context 4904 src/heap.cc Context* context = reinterpret_cast<Context*>(result); Context 4913 src/heap.cc ASSERT(length >= Context::MIN_CONTEXT_SLOTS); Context 4918 src/heap.cc Context* context = reinterpret_cast<Context*>(result); Context 4932 src/heap.cc STATIC_ASSERT(Context::MIN_CONTEXT_SLOTS == Context::THROWN_OBJECT_INDEX); Context 4935 src/heap.cc AllocateFixedArray(Context::MIN_CONTEXT_SLOTS + 1); Context 4938 src/heap.cc Context* context = reinterpret_cast<Context*>(result); Context 4944 src/heap.cc context->set(Context::THROWN_OBJECT_INDEX, thrown_object); Context 4953 src/heap.cc { MaybeObject* maybe_result = AllocateFixedArray(Context::MIN_CONTEXT_SLOTS); Context 4956 src/heap.cc Context* context = reinterpret_cast<Context*>(result); Context 4974 src/heap.cc Context* context = reinterpret_cast<Context*>(result); Context 6713 src/heap.cc Context::kHeaderSize); Context 6715 src/heap.cc Context::kHeaderSize + Context::FIRST_WEAK_SLOT * kPointerSize); Context 533 src/heap.h MUST_USE_RESULT MaybeObject* AllocateJSModule(Context* context, Context 836 src/heap.h Context* previous, Context 841 src/heap.h Context* previous, Context 846 src/heap.h Context* previous, Context 100 src/hydrogen-instructions.h V(Context) \ Context 1504 src/hydrogen-instructions.h DECLARE_CONCRETE_INSTRUCTION(Context) Context 6704 src/hydrogen.cc Handle<Context>(target->context()->global_context()), Context 6727 src/hydrogen.cc new(zone()) HConstant(Handle<Context>(target->context()), Context 618 src/hydrogen.h AstContext(HGraphBuilder* owner, Expression::Context kind); Context 633 src/hydrogen.h Expression::Context kind_; Context 644 src/ia32/builtins-ia32.cc Context::kHeaderSize + Context::GLOBAL_INDEX * kPointerSize; Context 822 src/ia32/builtins-ia32.cc Context::kHeaderSize + Context::GLOBAL_INDEX * kPointerSize; Context 1323 src/ia32/builtins-ia32.cc __ LoadGlobalFunction(Context::INTERNAL_ARRAY_FUNCTION_INDEX, edi); Context 1357 src/ia32/builtins-ia32.cc __ LoadGlobalFunction(Context::ARRAY_FUNCTION_INDEX, edi); Context 1427 src/ia32/builtins-ia32.cc __ LoadGlobalFunction(Context::STRING_FUNCTION_INDEX, ecx); Context 80 src/ia32/code-stubs-ia32.cc ? Context::FUNCTION_MAP_INDEX Context 81 src/ia32/code-stubs-ia32.cc : Context::STRICT_MODE_FUNCTION_MAP_INDEX; Context 85 src/ia32/code-stubs-ia32.cc __ mov(ecx, Operand(esi, Context::SlotOffset(Context::GLOBAL_INDEX))); Context 87 src/ia32/code-stubs-ia32.cc __ mov(ebx, Operand(ecx, Context::SlotOffset(map_index))); Context 160 src/ia32/code-stubs-ia32.cc __ mov(edx, ContextOperand(ecx, Context::OPTIMIZED_FUNCTIONS_LIST)); Context 165 src/ia32/code-stubs-ia32.cc __ mov(ContextOperand(ecx, Context::OPTIMIZED_FUNCTIONS_LIST), eax); Context 171 src/ia32/code-stubs-ia32.cc Context::SlotOffset(Context::OPTIMIZED_FUNCTIONS_LIST), Context 199 src/ia32/code-stubs-ia32.cc int length = slots_ + Context::MIN_CONTEXT_SLOTS; Context 210 src/ia32/code-stubs-ia32.cc __ mov(FieldOperand(eax, Context::kLengthOffset), Context 215 src/ia32/code-stubs-ia32.cc __ mov(Operand(eax, Context::SlotOffset(Context::CLOSURE_INDEX)), ecx); Context 216 src/ia32/code-stubs-ia32.cc __ mov(Operand(eax, Context::SlotOffset(Context::PREVIOUS_INDEX)), esi); Context 217 src/ia32/code-stubs-ia32.cc __ mov(Operand(eax, Context::SlotOffset(Context::EXTENSION_INDEX)), ebx); Context 220 src/ia32/code-stubs-ia32.cc __ mov(ebx, Operand(esi, Context::SlotOffset(Context::GLOBAL_INDEX))); Context 221 src/ia32/code-stubs-ia32.cc __ mov(Operand(eax, Context::SlotOffset(Context::GLOBAL_INDEX)), ebx); Context 225 src/ia32/code-stubs-ia32.cc for (int i = Context::MIN_CONTEXT_SLOTS; i < length; i++) { Context 226 src/ia32/code-stubs-ia32.cc __ mov(Operand(eax, Context::SlotOffset(i)), ebx); Context 247 src/ia32/code-stubs-ia32.cc int length = slots_ + Context::MIN_CONTEXT_SLOTS; Context 261 src/ia32/code-stubs-ia32.cc __ mov(FieldOperand(eax, Context::kLengthOffset), Context 277 src/ia32/code-stubs-ia32.cc __ mov(ecx, ContextOperand(ecx, Context::CLOSURE_INDEX)); Context 281 src/ia32/code-stubs-ia32.cc __ mov(ContextOperand(eax, Context::CLOSURE_INDEX), ecx); Context 282 src/ia32/code-stubs-ia32.cc __ mov(ContextOperand(eax, Context::PREVIOUS_INDEX), esi); Context 283 src/ia32/code-stubs-ia32.cc __ mov(ContextOperand(eax, Context::EXTENSION_INDEX), ebx); Context 286 src/ia32/code-stubs-ia32.cc __ mov(ebx, ContextOperand(esi, Context::GLOBAL_INDEX)); Context 287 src/ia32/code-stubs-ia32.cc __ mov(ContextOperand(eax, Context::GLOBAL_INDEX), ebx); Context 291 src/ia32/code-stubs-ia32.cc __ mov(ContextOperand(eax, Context::MIN_CONTEXT_SLOTS), Context 296 src/ia32/code-stubs-ia32.cc __ mov(ContextOperand(eax, i + Context::MIN_CONTEXT_SLOTS), ebx); Context 3439 src/ia32/code-stubs-ia32.cc __ mov(edi, Operand(esi, Context::SlotOffset(Context::GLOBAL_INDEX))); Context 3445 src/ia32/code-stubs-ia32.cc Context::SlotOffset(Context::ARGUMENTS_BOILERPLATE_INDEX))); Context 3450 src/ia32/code-stubs-ia32.cc Context::SlotOffset(Context::ALIASED_ARGUMENTS_BOILERPLATE_INDEX))); Context 3519 src/ia32/code-stubs-ia32.cc __ mov(ebx, Immediate(Smi::FromInt(Context::MIN_CONTEXT_SLOTS))); Context 3631 src/ia32/code-stubs-ia32.cc __ mov(edi, Operand(esi, Context::SlotOffset(Context::GLOBAL_INDEX))); Context 3634 src/ia32/code-stubs-ia32.cc Context::SlotOffset(Context::STRICT_MODE_ARGUMENTS_BOILERPLATE_INDEX); Context 4145 src/ia32/code-stubs-ia32.cc __ mov(edx, ContextOperand(esi, Context::GLOBAL_INDEX)); Context 4152 src/ia32/code-stubs-ia32.cc __ mov(edx, ContextOperand(edx, Context::REGEXP_RESULT_MAP_INDEX)); Context 203 src/ia32/deoptimizer-ia32.cc Context* context = function->context()->global_context(); Context 204 src/ia32/deoptimizer-ia32.cc Object* element = context->get(Context::OPTIMIZED_FUNCTIONS_LIST); Context 179 src/ia32/full-codegen-ia32.cc int heap_slots = info->scope()->num_heap_slots() - Context::MIN_CONTEXT_SLOTS; Context 205 src/ia32/full-codegen-ia32.cc int context_offset = Context::SlotOffset(var->index()); Context 730 src/ia32/full-codegen-ia32.cc int offset = Context::SlotOffset(var->index()); Context 865 src/ia32/full-codegen-ia32.cc Context::SlotOffset(variable->index()), Context 1248 src/ia32/full-codegen-ia32.cc __ cmp(ContextOperand(context, Context::EXTENSION_INDEX), Context 1253 src/ia32/full-codegen-ia32.cc __ mov(temp, ContextOperand(context, Context::PREVIOUS_INDEX)); Context 1277 src/ia32/full-codegen-ia32.cc __ cmp(ContextOperand(temp, Context::EXTENSION_INDEX), Immediate(0)); Context 1280 src/ia32/full-codegen-ia32.cc __ mov(temp, ContextOperand(temp, Context::PREVIOUS_INDEX)); Context 1307 src/ia32/full-codegen-ia32.cc __ cmp(ContextOperand(context, Context::EXTENSION_INDEX), Context 1311 src/ia32/full-codegen-ia32.cc __ mov(temp, ContextOperand(context, Context::PREVIOUS_INDEX)); Context 1317 src/ia32/full-codegen-ia32.cc __ cmp(ContextOperand(context, Context::EXTENSION_INDEX), Immediate(0)); Context 2088 src/ia32/full-codegen-ia32.cc int offset = Context::SlotOffset(var->index()); Context 2108 src/ia32/full-codegen-ia32.cc int offset = Context::SlotOffset(var->index()); Context 2706 src/ia32/full-codegen-ia32.cc __ mov(edx, Operand(esi, Context::SlotOffset(Context::GLOBAL_INDEX))); Context 2711 src/ia32/full-codegen-ia32.cc Context::STRING_FUNCTION_PROTOTYPE_MAP_INDEX)); Context 2983 src/ia32/full-codegen-ia32.cc __ mov(eax, ContextOperand(context_register(), Context::GLOBAL_INDEX)); Context 3427 src/ia32/full-codegen-ia32.cc __ mov(cache, ContextOperand(esi, Context::GLOBAL_INDEX)); Context 3430 src/ia32/full-codegen-ia32.cc __ mov(cache, ContextOperand(cache, Context::JSFUNCTION_RESULT_CACHES_INDEX)); Context 4457 src/ia32/full-codegen-ia32.cc __ push(ContextOperand(esi, Context::CLOSURE_INDEX)); Context 418 src/ia32/ic-ia32.cc Context::kHeaderSize); Context 962 src/ia32/ic-ia32.cc masm, Context::NUMBER_FUNCTION_INDEX, edx); Context 970 src/ia32/ic-ia32.cc masm, Context::STRING_FUNCTION_INDEX, edx); Context 981 src/ia32/ic-ia32.cc masm, Context::BOOLEAN_FUNCTION_INDEX, edx); Context 243 src/ia32/lithium-codegen-ia32.cc int heap_slots = scope()->num_heap_slots() - Context::MIN_CONTEXT_SLOTS; Context 269 src/ia32/lithium-codegen-ia32.cc int context_offset = Context::SlotOffset(var->index()); Context 561 src/ia32/lithium-codegen-ia32.cc __ LoadHeapObject(esi, Handle<Context>::cast(constant->handle())); Context 2383 src/ia32/lithium-codegen-ia32.cc int offset = Context::SlotOffset(instr->slot_index()); Context 2882 src/ia32/lithium-codegen-ia32.cc __ mov(receiver, ContextOperand(receiver, Context::GLOBAL_INDEX)); Context 2958 src/ia32/lithium-codegen-ia32.cc Operand(context, Context::SlotOffset(Context::PREVIOUS_INDEX))); Context 2974 src/ia32/lithium-codegen-ia32.cc __ mov(result, Operand(context, Context::SlotOffset(Context::GLOBAL_INDEX))); Context 3353 src/ia32/lithium-codegen-ia32.cc FixedArray::kHeaderSize + Context::RANDOM_SEED_INDEX * kPointerSize; Context 84 src/ia32/lithium-ia32.h V(Context) \ Context 1441 src/ia32/lithium-ia32.h DECLARE_CONCRETE_INSTRUCTION(Context, "context") Context 986 src/ia32/macro-assembler-ia32.cc int offset = Context::kHeaderSize + Context::GLOBAL_INDEX * kPointerSize; Context 1027 src/ia32/macro-assembler-ia32.cc int token_offset = Context::kHeaderSize + Context 1028 src/ia32/macro-assembler-ia32.cc Context::SECURITY_TOKEN_INDEX * kPointerSize; Context 2172 src/ia32/macro-assembler-ia32.cc mov(target, Operand(esi, Context::SlotOffset(Context::GLOBAL_INDEX))); Context 2191 src/ia32/macro-assembler-ia32.cc mov(dst, Operand(esi, Context::SlotOffset(Context::PREVIOUS_INDEX))); Context 2193 src/ia32/macro-assembler-ia32.cc mov(dst, Operand(dst, Context::SlotOffset(Context::PREVIOUS_INDEX))); Context 2221 src/ia32/macro-assembler-ia32.cc mov(scratch, Operand(esi, Context::SlotOffset(Context::GLOBAL_INDEX))); Context 2226 src/ia32/macro-assembler-ia32.cc Context::SlotOffset(Context::JS_ARRAY_MAPS_INDEX))); Context 2267 src/ia32/macro-assembler-ia32.cc mov(function, Operand(esi, Context::SlotOffset(Context::GLOBAL_INDEX))); Context 2271 src/ia32/macro-assembler-ia32.cc mov(function, Operand(function, Context::SlotOffset(index))); Context 959 src/ia32/macro-assembler-ia32.h return Operand(context, Context::SlotOffset(index)); Context 964 src/ia32/macro-assembler-ia32.h return ContextOperand(esi, Context::GLOBAL_INDEX); Context 279 src/ia32/stub-cache-ia32.cc __ cmp(Operand(esi, Context::SlotOffset(Context::GLOBAL_INDEX)), Context 1762 src/ia32/stub-cache-ia32.cc Context::STRING_FUNCTION_INDEX, Context 1845 src/ia32/stub-cache-ia32.cc Context::STRING_FUNCTION_INDEX, Context 2322 src/ia32/stub-cache-ia32.cc masm(), Context::STRING_FUNCTION_INDEX, eax, &miss); Context 2343 src/ia32/stub-cache-ia32.cc masm(), Context::NUMBER_FUNCTION_INDEX, eax, &miss); Context 2365 src/ia32/stub-cache-ia32.cc masm(), Context::BOOLEAN_FUNCTION_INDEX, eax, &miss); Context 629 src/incremental-marking.cc ctx, Context::MarkCompactBodyDescriptor::kStartOffset), Context 631 src/incremental-marking.cc ctx, Context::MarkCompactBodyDescriptor::kEndOffset)); Context 634 src/incremental-marking.cc for (int idx = Context::FIRST_WEAK_SLOT; Context 635 src/incremental-marking.cc idx < Context::GLOBAL_CONTEXT_SLOTS; Context 666 src/incremental-marking.cc VisitGlobalContext(Context::cast(obj), &marking_visitor); Context 712 src/incremental-marking.cc Context::cast(context)->get(Context::NORMALIZED_MAP_CACHE_INDEX)); Context 720 src/incremental-marking.cc context = Context::cast(context)->get(Context::NEXT_CONTEXT_LINK); Context 837 src/incremental-marking.cc Context* ctx = Context::cast(obj); Context 262 src/incremental-marking.h void VisitGlobalContext(Context* ctx, ObjectVisitor* v); Context 41 src/isolate-inl.h context_ = Handle<Context>(isolate->context()); Context 43 src/isolate-inl.h dummy_ = Handle<Context>(isolate->context()); Context 789 src/isolate.cc Context* global_context = isolate->context()->global()->global_context(); Context 792 src/isolate.cc if (Context::cast(receiver_context)->security_token() == Context 1318 src/isolate.cc Handle<Context> Isolate::global_context() { Context 1320 src/isolate.cc return Handle<Context>(global->global_context()); Context 1324 src/isolate.cc Handle<Context> Isolate::GetCallingGlobalContext() { Context 1330 src/isolate.cc Context* context = Context::cast(frame->context()); Context 1339 src/isolate.cc if (it.done()) return Handle<Context>::null(); Context 1341 src/isolate.cc Context* context = Context::cast(frame->context()); Context 1342 src/isolate.cc return Handle<Context>(context->global_context()); Context 140 src/isolate.h C(Context, context) \ Context 237 src/isolate.h Context* context_; Context 519 src/isolate.h Context* context() { return thread_local_top_.context_; } Context 520 src/isolate.h void set_context(Context* context) { Context 524 src/isolate.h Context** context_address() { return &thread_local_top_.context_; } Context 767 src/isolate.h Handle<Context> global_context(); Context 771 src/isolate.h Handle<Context> GetCallingGlobalContext(); Context 1315 src/isolate.h Handle<Context> context() { return context_; } Context 1324 src/isolate.h Handle<Context> context_; Context 1326 src/isolate.h Handle<Context> dummy_; Context 1347 src/isolate.h Handle<Context> context_; Context 1424 src/isolate.h inline bool Context::has_out_of_memory() { Context 1430 src/isolate.h inline void Context::mark_out_of_memory() { Context 111 src/liveobjectlist.cc v(Context, "meta: Context") \ Context 1243 src/mark-compact.cc !Context::cast(ctx)->global()->IsJSBuiltinsObject(); Context 1375 src/mark-compact.cc Context::MarkCompactBodyDescriptor, Context 1379 src/mark-compact.cc for (int idx = Context::FIRST_WEAK_SLOT; Context 1380 src/mark-compact.cc idx < Context::GLOBAL_CONTEXT_SLOTS; Context 2474 src/mark-compact.cc Context* context = reinterpret_cast<Context*>(raw_context); Context 2477 src/mark-compact.cc HeapObject::cast(context->get(Context::MAP_CACHE_INDEX)); Context 2504 src/mark-compact.cc context->set(Context::MAP_CACHE_INDEX, heap()->undefined_value()); Context 2516 src/mark-compact.cc raw_context = context->get(Context::NEXT_CONTEXT_LINK); Context 365 src/mips/assembler-mips.h INLINE(explicit Operand(Context** cpp)); Context 84 src/mips/builtins-mips.cc __ lw(result, MemOperand(cp, Context::SlotOffset(Context::GLOBAL_INDEX))); Context 90 src/mips/builtins-mips.cc Context::SlotOffset( Context 91 src/mips/builtins-mips.cc Context::INTERNAL_ARRAY_FUNCTION_INDEX))); Context 99 src/mips/builtins-mips.cc __ lw(result, MemOperand(cp, Context::SlotOffset(Context::GLOBAL_INDEX))); Context 105 src/mips/builtins-mips.cc Context::SlotOffset(Context::ARRAY_FUNCTION_INDEX))); Context 600 src/mips/builtins-mips.cc __ LoadGlobalFunction(Context::STRING_FUNCTION_INDEX, a2); Context 1396 src/mips/builtins-mips.cc Context::kHeaderSize + Context::GLOBAL_INDEX * kPointerSize; Context 1589 src/mips/builtins-mips.cc Context::kHeaderSize + Context::GLOBAL_INDEX * kPointerSize; Context 108 src/mips/code-stubs-mips.cc ? Context::FUNCTION_MAP_INDEX Context 109 src/mips/code-stubs-mips.cc : Context::STRICT_MODE_FUNCTION_MAP_INDEX; Context 113 src/mips/code-stubs-mips.cc __ lw(a2, MemOperand(cp, Context::SlotOffset(Context::GLOBAL_INDEX))); Context 115 src/mips/code-stubs-mips.cc __ lw(t1, MemOperand(a2, Context::SlotOffset(map_index))); Context 196 src/mips/code-stubs-mips.cc __ lw(t0, ContextOperand(a2, Context::OPTIMIZED_FUNCTIONS_LIST)); Context 201 src/mips/code-stubs-mips.cc __ sw(v0, ContextOperand(a2, Context::OPTIMIZED_FUNCTIONS_LIST)); Context 207 src/mips/code-stubs-mips.cc Context::SlotOffset(Context::OPTIMIZED_FUNCTIONS_LIST), Context 227 src/mips/code-stubs-mips.cc int length = slots_ + Context::MIN_CONTEXT_SLOTS; Context 247 src/mips/code-stubs-mips.cc __ lw(a2, MemOperand(cp, Context::SlotOffset(Context::GLOBAL_INDEX))); Context 249 src/mips/code-stubs-mips.cc __ sw(a3, MemOperand(v0, Context::SlotOffset(Context::CLOSURE_INDEX))); Context 250 src/mips/code-stubs-mips.cc __ sw(cp, MemOperand(v0, Context::SlotOffset(Context::PREVIOUS_INDEX))); Context 251 src/mips/code-stubs-mips.cc __ sw(a1, MemOperand(v0, Context::SlotOffset(Context::EXTENSION_INDEX))); Context 252 src/mips/code-stubs-mips.cc __ sw(a2, MemOperand(v0, Context::SlotOffset(Context::GLOBAL_INDEX))); Context 256 src/mips/code-stubs-mips.cc for (int i = Context::MIN_CONTEXT_SLOTS; i < length; i++) { Context 257 src/mips/code-stubs-mips.cc __ sw(a1, MemOperand(v0, Context::SlotOffset(i))); Context 278 src/mips/code-stubs-mips.cc int length = slots_ + Context::MIN_CONTEXT_SLOTS; Context 306 src/mips/code-stubs-mips.cc __ lw(a3, ContextOperand(a3, Context::CLOSURE_INDEX)); Context 310 src/mips/code-stubs-mips.cc __ lw(a2, ContextOperand(cp, Context::GLOBAL_INDEX)); Context 311 src/mips/code-stubs-mips.cc __ sw(a3, ContextOperand(v0, Context::CLOSURE_INDEX)); Context 312 src/mips/code-stubs-mips.cc __ sw(cp, ContextOperand(v0, Context::PREVIOUS_INDEX)); Context 313 src/mips/code-stubs-mips.cc __ sw(a1, ContextOperand(v0, Context::EXTENSION_INDEX)); Context 314 src/mips/code-stubs-mips.cc __ sw(a2, ContextOperand(v0, Context::GLOBAL_INDEX)); Context 319 src/mips/code-stubs-mips.cc __ sw(a1, ContextOperand(v0, i + Context::MIN_CONTEXT_SLOTS)); Context 4651 src/mips/code-stubs-mips.cc Context::SlotOffset(Context::ARGUMENTS_BOILERPLATE_INDEX); Context 4653 src/mips/code-stubs-mips.cc Context::SlotOffset(Context::ALIASED_ARGUMENTS_BOILERPLATE_INDEX); Context 4655 src/mips/code-stubs-mips.cc __ lw(t0, MemOperand(cp, Context::SlotOffset(Context::GLOBAL_INDEX))); Context 4731 src/mips/code-stubs-mips.cc __ Addu(t5, t5, Operand(Smi::FromInt(Context::MIN_CONTEXT_SLOTS))); Context 4845 src/mips/code-stubs-mips.cc __ lw(t0, MemOperand(cp, Context::SlotOffset(Context::GLOBAL_INDEX))); Context 4847 src/mips/code-stubs-mips.cc __ lw(t0, MemOperand(t0, Context::SlotOffset( Context 4848 src/mips/code-stubs-mips.cc Context::STRICT_MODE_ARGUMENTS_BOILERPLATE_INDEX))); Context 5379 src/mips/code-stubs-mips.cc __ lw(a2, ContextOperand(cp, Context::GLOBAL_INDEX)); Context 5384 src/mips/code-stubs-mips.cc __ lw(a2, ContextOperand(a2, Context::REGEXP_RESULT_MAP_INDEX)); Context 5491 src/mips/code-stubs-mips.cc __ lw(a3, MemOperand(cp, Context::SlotOffset(Context::GLOBAL_INDEX))); Context 105 src/mips/deoptimizer-mips.cc Context* context = function->context()->global_context(); Context 106 src/mips/deoptimizer-mips.cc Object* element = context->get(Context::OPTIMIZED_FUNCTIONS_LIST); Context 191 src/mips/full-codegen-mips.cc int heap_slots = info->scope()->num_heap_slots() - Context::MIN_CONTEXT_SLOTS; Context 903 src/mips/full-codegen-mips.cc int offset = Context::SlotOffset(variable->index()); Context 1307 src/mips/full-codegen-mips.cc __ lw(temp, ContextOperand(current, Context::EXTENSION_INDEX)); Context 1311 src/mips/full-codegen-mips.cc __ lw(next, ContextOperand(current, Context::PREVIOUS_INDEX)); Context 1332 src/mips/full-codegen-mips.cc __ lw(temp, ContextOperand(next, Context::EXTENSION_INDEX)); Context 1335 src/mips/full-codegen-mips.cc __ lw(next, ContextOperand(next, Context::PREVIOUS_INDEX)); Context 1361 src/mips/full-codegen-mips.cc __ lw(temp, ContextOperand(context, Context::EXTENSION_INDEX)); Context 1364 src/mips/full-codegen-mips.cc __ lw(next, ContextOperand(context, Context::PREVIOUS_INDEX)); Context 1370 src/mips/full-codegen-mips.cc __ lw(temp, ContextOperand(context, Context::EXTENSION_INDEX)); Context 2158 src/mips/full-codegen-mips.cc int offset = Context::SlotOffset(var->index()); Context 2179 src/mips/full-codegen-mips.cc int offset = Context::SlotOffset(var->index()); Context 2798 src/mips/full-codegen-mips.cc __ lw(a3, ContextOperand(cp, Context::GLOBAL_INDEX)); Context 2800 src/mips/full-codegen-mips.cc __ lw(a3, ContextOperand(a3, Context::STRING_FUNCTION_PROTOTYPE_MAP_INDEX)); Context 3079 src/mips/full-codegen-mips.cc __ lw(a0, ContextOperand(cp, Context::GLOBAL_INDEX)); Context 3097 src/mips/full-codegen-mips.cc __ lw(a1, ContextOperand(cp, Context::GLOBAL_INDEX)); Context 3524 src/mips/full-codegen-mips.cc __ lw(cache, ContextOperand(cp, Context::GLOBAL_INDEX)); Context 3528 src/mips/full-codegen-mips.cc cache, Context::JSFUNCTION_RESULT_CACHES_INDEX)); Context 4512 src/mips/full-codegen-mips.cc __ lw(at, ContextOperand(cp, Context::CLOSURE_INDEX)); Context 417 src/mips/ic-mips.cc masm, Context::NUMBER_FUNCTION_INDEX, a1); Context 424 src/mips/ic-mips.cc masm, Context::STRING_FUNCTION_INDEX, a1); Context 435 src/mips/ic-mips.cc masm, Context::BOOLEAN_FUNCTION_INDEX, a1); Context 805 src/mips/ic-mips.cc __ Addu(scratch3, scratch3, Operand(Context::kHeaderSize - kHeapObjectTag)); Context 174 src/mips/lithium-codegen-mips.cc int heap_slots = scope()->num_heap_slots() - Context::MIN_CONTEXT_SLOTS; Context 2868 src/mips/lithium-codegen-mips.cc MemOperand(context, Context::SlotOffset(Context::PREVIOUS_INDEX))); Context 2883 src/mips/lithium-codegen-mips.cc __ lw(result, ContextOperand(cp, Context::GLOBAL_INDEX)); Context 3261 src/mips/lithium-codegen-mips.cc FixedArray::kHeaderSize + Context::RANDOM_SEED_INDEX * kPointerSize; Context 90 src/mips/lithium-mips.h V(Context) \ Context 1382 src/mips/lithium-mips.h DECLARE_CONCRETE_INSTRUCTION(Context, "context") Context 365 src/mips/macro-assembler-mips.cc int offset = Context::kHeaderSize + Context::GLOBAL_INDEX * kPointerSize; Context 407 src/mips/macro-assembler-mips.cc int token_offset = Context::kHeaderSize + Context 408 src/mips/macro-assembler-mips.cc Context::SECURITY_TOKEN_INDEX * kPointerSize; Context 4284 src/mips/macro-assembler-mips.cc lw(target, MemOperand(cp, Context::SlotOffset(Context::GLOBAL_INDEX))); Context 4433 src/mips/macro-assembler-mips.cc lw(dst, MemOperand(cp, Context::SlotOffset(Context::PREVIOUS_INDEX))); Context 4435 src/mips/macro-assembler-mips.cc lw(dst, MemOperand(dst, Context::SlotOffset(Context::PREVIOUS_INDEX))); Context 4453 src/mips/macro-assembler-mips.cc lw(scratch, MemOperand(cp, Context::SlotOffset(Context::GLOBAL_INDEX))); Context 4459 src/mips/macro-assembler-mips.cc Context::SlotOffset(Context::JS_ARRAY_MAPS_INDEX))); Context 4499 src/mips/macro-assembler-mips.cc lw(function, MemOperand(cp, Context::SlotOffset(Context::GLOBAL_INDEX))); Context 4504 src/mips/macro-assembler-mips.cc lw(function, MemOperand(function, Context::SlotOffset(index))); Context 106 src/mips/macro-assembler-mips.h return MemOperand(context, Context::SlotOffset(index)); Context 111 src/mips/macro-assembler-mips.h return ContextOperand(cp, Context::GLOBAL_INDEX); Context 273 src/mips/stub-cache-mips.cc __ lw(prototype, MemOperand(cp, Context::SlotOffset(Context::GLOBAL_INDEX))); Context 278 src/mips/stub-cache-mips.cc __ lw(prototype, MemOperand(prototype, Context::SlotOffset(index))); Context 294 src/mips/stub-cache-mips.cc __ lw(prototype, MemOperand(cp, Context::SlotOffset(Context::GLOBAL_INDEX))); Context 1881 src/mips/stub-cache-mips.cc Context::STRING_FUNCTION_INDEX, Context 1961 src/mips/stub-cache-mips.cc Context::STRING_FUNCTION_INDEX, Context 2430 src/mips/stub-cache-mips.cc masm(), Context::STRING_FUNCTION_INDEX, a0, &miss); Context 2451 src/mips/stub-cache-mips.cc masm(), Context::NUMBER_FUNCTION_INDEX, a0, &miss); Context 2473 src/mips/stub-cache-mips.cc masm(), Context::BOOLEAN_FUNCTION_INDEX, a0, &miss); Context 308 src/mksnapshot.cc Persistent<Context> context = v8::Context::New(); Context 1342 src/objects-inl.h Context* global_context = isolate->context()->global_context(); Context 3693 src/objects-inl.h ACCESSORS(GlobalObject, global_context, Context, kGlobalContextOffset) Context 4244 src/objects-inl.h Context* JSFunction::context() { Context 4245 src/objects-inl.h return Context::cast(READ_FIELD(this, kContextOffset)); Context 4282 src/objects-inl.h Context* global_context = context()->global_context(); Context 4284 src/objects-inl.h global_context->get(Context::ARRAY_FUNCTION_INDEX); Context 61 src/objects-visiting-inl.h Context::ScavengeBodyDescriptor, Context 90 src/objects.cc Context* global_context = isolate->context()->global_context(); Context 94 src/objects.cc Context* global_context = isolate->context()->global_context(); Context 98 src/objects.cc Context* global_context = isolate->context()->global_context(); Context 137 src/objects.cc Context* global_context = Isolate::Current()->context()->global_context(); Context 664 src/objects.cc Context* global_context = isolate->context()->global_context(); Context 712 src/objects.cc Context* context = heap->isolate()->context()->global_context(); Context 724 src/objects.cc Context* context = heap->isolate()->context()->global_context(); Context 3911 src/objects.cc Context* context = f->context(); Context 3917 src/objects.cc for (int i = Context::MIN_CONTEXT_SLOTS; i < context->length(); i++) { Context 7484 src/objects.cc Context* global_context = context()->global_context(); Context 7516 src/objects.cc Context* JSFunction::GlobalContextFromLiterals(FixedArray* literals) { Context 7517 src/objects.cc return Context::cast(literals->get(JSFunction::kLiteralGlobalContextIndex)); Context 9342 src/objects.cc Context* context = Context::cast(elements->get(0)); Context 9716 src/objects.cc Context* context = Context::cast(parameter_map->get(0)); Context 798 src/objects.h V(Context) \ Context 897 src/objects.h MUST_USE_RESULT MaybeObject* ToObject(Context* global_context); Context 5322 src/objects.h int SearchOptimizedCodeMap(Context* global_context); Context 5333 src/objects.h Handle<Context> global_context, Context 5975 src/objects.h inline Context* context(); Context 6113 src/objects.h static Context* GlobalContextFromLiterals(FixedArray* literals); Context 6190 src/objects.h DECL_ACCESSORS(global_context, Context) Context 6668 src/objects.h Context* context, Context 6674 src/objects.h Context* context, Context 1856 src/profile-generator.cc ExtractContextReferences(entry, Context::cast(obj)); Context 1980 src/profile-generator.cc SetInternalReference(context, entry, #name, context->get(Context::index), \ Context 1981 src/profile-generator.cc FixedArray::OffsetOfElementAt(Context::index)); Context 1983 src/profile-generator.cc EXTRACT_CONTEXT_FIELD(PREVIOUS_INDEX, Context, previous); Context 1994 src/profile-generator.cc for (int i = Context::FIRST_WEAK_SLOT; Context 1995 src/profile-generator.cc i < Context::GLOBAL_CONTEXT_SLOTS; Context 2145 src/profile-generator.cc Context* context = func->context()->declaration_context(); Context 2151 src/profile-generator.cc int idx = Context::MIN_CONTEXT_SLOTS + i; Context 2665 src/profile-generator.cc Context* context = Context::cast(*p); Context 877 src/profile-generator.h void ExtractContextReferences(int entry, Context* context); Context 351 src/runtime.cc Handle<Context> context = Context 352 src/runtime.cc Handle<Context>(JSFunction::GlobalContextFromLiterals(*literals)); Context 477 src/runtime.cc Context* global_context = isolate->context()->global_context(); Context 1343 src/runtime.cc Handle<Context> context = args.at<Context>(0); Context 1453 src/runtime.cc Handle<Context> context(Context::cast(args[0])->declaration_context()); Context 1691 src/runtime.cc Handle<Context> context(Context::cast(args[1])->declaration_context()); Context 1706 src/runtime.cc Handle<Context> context = Handle<Context>::cast(holder); Context 1990 src/runtime.cc Context* global_context = Context 2263 src/runtime.cc Handle<Context> context(source->context()); Context 7834 src/runtime.cc Handle<Context> context(isolate->context()); Context 7880 src/runtime.cc Context::MIN_CONTEXT_SLOTS + context_index)); Context 7939 src/runtime.cc CONVERT_ARG_HANDLE_CHECKED(Context, context, 0); Context 8740 src/runtime.cc isolate->set_context(Context::cast(result)); Context 8779 src/runtime.cc Context* context; Context 8804 src/runtime.cc Context* context; Context 8829 src/runtime.cc Context* context; Context 8852 src/runtime.cc Context* context = Context::cast(instance->context()); Context 8853 src/runtime.cc Context* previous = isolate->context(); Context 8869 src/runtime.cc CONVERT_ARG_HANDLE_CHECKED(Context, context, 0); Context 8941 src/runtime.cc Context* top = isolate->context(); Context 8968 src/runtime.cc Handle<Context> context = args.at<Context>(0); Context 8991 src/runtime.cc Object* value = Context::cast(*holder)->get(index); Context 9062 src/runtime.cc CONVERT_ARG_HANDLE_CHECKED(Context, context, 1); Context 9080 src/runtime.cc Handle<Context> context = Handle<Context>::cast(holder); Context 9407 src/runtime.cc Handle<Context> context(isolate->context()->global_context()); Context 9434 src/runtime.cc Handle<Context> context = Handle<Context>(isolate->context()); Context 9435 src/runtime.cc Handle<Context> global_context = Handle<Context>(context->global_context()); Context 9450 src/runtime.cc Handle<Context>(isolate->context()), Context 10767 src/runtime.cc Handle<Context> context( Context 10768 src/runtime.cc Context::cast(it.frame()->context())->declaration_context()); Context 10925 src/runtime.cc Handle<Context> calling_frames_global_context( Context 10926 src/runtime.cc Context::cast(Context::cast(it.frame()->context())->global_context())); Context 11009 src/runtime.cc Handle<Context> frame_context(Context::cast(frame->context())); Context 11010 src/runtime.cc Handle<Context> function_context(frame_context->declaration_context()); Context 11113 src/runtime.cc Handle<Object> thrown_object(context->get(Context::THROWN_OBJECT_INDEX)); Context 11201 src/runtime.cc context_ = Handle<Context>(context_->previous(), isolate_); Context 11223 src/runtime.cc context_ = Handle<Context>(context_->declaration_context(), isolate_); Context 11226 src/runtime.cc context_ = Handle<Context>(context_->previous(), isolate_); Context 11245 src/runtime.cc info.SetCallingContext(Handle<Context>(function_->context())); Context 11270 src/runtime.cc context_ = Handle<Context>(); Context 11283 src/runtime.cc context_ = Handle<Context>(); Context 11287 src/runtime.cc context_ = Handle<Context>(context_->previous(), isolate_); Context 11291 src/runtime.cc context_ = Handle<Context>(context_->previous(), isolate_); Context 11385 src/runtime.cc Handle<Context> CurrentContext() { Context 11392 src/runtime.cc return Handle<Context>(); Context 11428 src/runtime.cc CurrentContext()->get(Context::THROWN_OBJECT_INDEX)->Print(); Context 11454 src/runtime.cc Handle<Context> context_; Context 11992 src/runtime.cc static Handle<Context> CopyNestedScopeContextChain(Isolate* isolate, Context 11999 src/runtime.cc List<Handle<Context> > context_chain; Context 12010 src/runtime.cc Handle<Context> context = base; Context 12015 src/runtime.cc Handle<Context> current = context_chain.RemoveLast(); Context 12020 src/runtime.cc Handle<Object> thrown_object(current->get(Context::THROWN_OBJECT_INDEX)); Context 12031 src/runtime.cc return Handle<Context>::null(); Context 12035 src/runtime.cc Handle<Context> new_context = Context 12036 src/runtime.cc isolate->factory()->NewFunctionContext(Context::MIN_CONTEXT_SLOTS, Context 12173 src/runtime.cc Handle<Context> context = Context 12174 src/runtime.cc isolate->factory()->NewFunctionContext(Context::MIN_CONTEXT_SLOTS, Context 12182 src/runtime.cc Handle<Context> frame_context(Context::cast(frame->context())); Context 12183 src/runtime.cc Handle<Context> function_context; Context 12186 src/runtime.cc function_context = Handle<Context>(frame_context->declaration_context()); Context 12288 src/runtime.cc Handle<Context> context = isolate->global_context(); Context 199 src/scopeinfo.cc return Context::MIN_CONTEXT_SLOTS + context_locals + Context 318 src/scopeinfo.cc result = Context::MIN_CONTEXT_SLOTS + var; Context 498 src/scopeinfo.cc Context::MIN_CONTEXT_SLOTS, Context 149 src/scopes.cc static_cast<int>(Context::MIN_CONTEXT_SLOTS)); Context 168 src/scopes.cc num_heap_slots_ = Context::MIN_CONTEXT_SLOTS; Context 1287 src/scopes.cc num_heap_slots_ = Context::MIN_CONTEXT_SLOTS; Context 1303 src/scopes.cc if (num_heap_slots_ == Context::MIN_CONTEXT_SLOTS && !must_have_context) { Context 1308 src/scopes.cc ASSERT(num_heap_slots_ == 0 || num_heap_slots_ >= Context::MIN_CONTEXT_SLOTS); Context 1320 src/scopes.cc return num_heap_slots() - Context::MIN_CONTEXT_SLOTS - Context 1336 src/scopes.cc Handle<Context> context = factory->NewModuleContext(scope_info); Context 107 src/scopes.h static Scope* DeserializeScopeChain(Context* context, Scope* global_scope, Context 68 src/snapshot-common.cc Handle<Context> Snapshot::NewContextFromSnapshot() { Context 70 src/snapshot-common.cc return Handle<Context>(); Context 85 src/snapshot-common.cc return Handle<Context>(Context::cast(root)); Context 46 src/snapshot.h static Handle<Context> NewContextFromSnapshot(); Context 467 src/string-stream.cc Context* context = fun->context(); Context 264 src/stub-cache.h Handle<Context> global_context, Context 238 src/type-info.h Handle<Context> global_context, Context 269 src/type-info.h static bool CanRetainOtherContext(Map* map, Context* global_context); Context 271 src/type-info.h Context* global_context); Context 320 src/type-info.h Handle<Context> global_context_; Context 103 src/v8.h static uint32_t Random(Context* context); Context 110 src/v8.h Context* context); Context 123 src/v8globals.h class Context; Context 714 src/x64/builtins-x64.cc Context::kHeaderSize + Context::GLOBAL_INDEX * kPointerSize; Context 899 src/x64/builtins-x64.cc Context::kHeaderSize + Context::GLOBAL_INDEX * kPointerSize; Context 1341 src/x64/builtins-x64.cc __ LoadGlobalFunction(Context::INTERNAL_ARRAY_FUNCTION_INDEX, rdi); Context 1376 src/x64/builtins-x64.cc __ LoadGlobalFunction(Context::ARRAY_FUNCTION_INDEX, rdi); Context 1447 src/x64/builtins-x64.cc __ LoadGlobalFunction(Context::STRING_FUNCTION_INDEX, rcx); Context 76 src/x64/code-stubs-x64.cc ? Context::FUNCTION_MAP_INDEX Context 77 src/x64/code-stubs-x64.cc : Context::STRICT_MODE_FUNCTION_MAP_INDEX; Context 81 src/x64/code-stubs-x64.cc __ movq(rcx, Operand(rsi, Context::SlotOffset(Context::GLOBAL_INDEX))); Context 83 src/x64/code-stubs-x64.cc __ movq(rbx, Operand(rcx, Context::SlotOffset(map_index))); Context 163 src/x64/code-stubs-x64.cc __ movq(rdx, ContextOperand(rcx, Context::OPTIMIZED_FUNCTIONS_LIST)); Context 168 src/x64/code-stubs-x64.cc __ movq(ContextOperand(rcx, Context::OPTIMIZED_FUNCTIONS_LIST), rax); Context 174 src/x64/code-stubs-x64.cc Context::SlotOffset(Context::OPTIMIZED_FUNCTIONS_LIST), Context 201 src/x64/code-stubs-x64.cc int length = slots_ + Context::MIN_CONTEXT_SLOTS; Context 215 src/x64/code-stubs-x64.cc __ movq(Operand(rax, Context::SlotOffset(Context::CLOSURE_INDEX)), rcx); Context 216 src/x64/code-stubs-x64.cc __ movq(Operand(rax, Context::SlotOffset(Context::PREVIOUS_INDEX)), rsi); Context 217 src/x64/code-stubs-x64.cc __ movq(Operand(rax, Context::SlotOffset(Context::EXTENSION_INDEX)), rbx); Context 220 src/x64/code-stubs-x64.cc __ movq(rbx, Operand(rsi, Context::SlotOffset(Context::GLOBAL_INDEX))); Context 221 src/x64/code-stubs-x64.cc __ movq(Operand(rax, Context::SlotOffset(Context::GLOBAL_INDEX)), rbx); Context 225 src/x64/code-stubs-x64.cc for (int i = Context::MIN_CONTEXT_SLOTS; i < length; i++) { Context 226 src/x64/code-stubs-x64.cc __ movq(Operand(rax, Context::SlotOffset(i)), rbx); Context 247 src/x64/code-stubs-x64.cc int length = slots_ + Context::MIN_CONTEXT_SLOTS; Context 275 src/x64/code-stubs-x64.cc __ movq(rcx, ContextOperand(rcx, Context::CLOSURE_INDEX)); Context 279 src/x64/code-stubs-x64.cc __ movq(ContextOperand(rax, Context::CLOSURE_INDEX), rcx); Context 280 src/x64/code-stubs-x64.cc __ movq(ContextOperand(rax, Context::PREVIOUS_INDEX), rsi); Context 281 src/x64/code-stubs-x64.cc __ movq(ContextOperand(rax, Context::EXTENSION_INDEX), rbx); Context 284 src/x64/code-stubs-x64.cc __ movq(rbx, ContextOperand(rsi, Context::GLOBAL_INDEX)); Context 285 src/x64/code-stubs-x64.cc __ movq(ContextOperand(rax, Context::GLOBAL_INDEX), rbx); Context 290 src/x64/code-stubs-x64.cc __ movq(ContextOperand(rax, i + Context::MIN_CONTEXT_SLOTS), rbx); Context 2465 src/x64/code-stubs-x64.cc __ movq(rdi, Operand(rsi, Context::SlotOffset(Context::GLOBAL_INDEX))); Context 2470 src/x64/code-stubs-x64.cc const int kIndex = Context::ARGUMENTS_BOILERPLATE_INDEX; Context 2471 src/x64/code-stubs-x64.cc __ movq(rdi, Operand(rdi, Context::SlotOffset(kIndex))); Context 2474 src/x64/code-stubs-x64.cc const int kAliasedIndex = Context::ALIASED_ARGUMENTS_BOILERPLATE_INDEX; Context 2476 src/x64/code-stubs-x64.cc __ movq(rdi, Operand(rdi, Context::SlotOffset(kAliasedIndex))); Context 2541 src/x64/code-stubs-x64.cc __ Move(r8, Smi::FromInt(Context::MIN_CONTEXT_SLOTS)); Context 2680 src/x64/code-stubs-x64.cc __ movq(rdi, Operand(rsi, Context::SlotOffset(Context::GLOBAL_INDEX))); Context 2683 src/x64/code-stubs-x64.cc Context::SlotOffset(Context::STRICT_MODE_ARGUMENTS_BOILERPLATE_INDEX); Context 3210 src/x64/code-stubs-x64.cc __ movq(rdx, ContextOperand(rsi, Context::GLOBAL_INDEX)); Context 3212 src/x64/code-stubs-x64.cc __ movq(rdx, ContextOperand(rdx, Context::REGEXP_RESULT_MAP_INDEX)); Context 109 src/x64/deoptimizer-x64.cc Context* context = function->context()->global_context(); Context 110 src/x64/deoptimizer-x64.cc Object* element = context->get(Context::OPTIMIZED_FUNCTIONS_LIST); Context 175 src/x64/full-codegen-x64.cc int heap_slots = info->scope()->num_heap_slots() - Context::MIN_CONTEXT_SLOTS; Context 201 src/x64/full-codegen-x64.cc int context_offset = Context::SlotOffset(var->index()); Context 736 src/x64/full-codegen-x64.cc int offset = Context::SlotOffset(var->index()); Context 869 src/x64/full-codegen-x64.cc int offset = Context::SlotOffset(variable->index()); Context 1268 src/x64/full-codegen-x64.cc __ cmpq(ContextOperand(context, Context::EXTENSION_INDEX), Context 1273 src/x64/full-codegen-x64.cc __ movq(temp, ContextOperand(context, Context::PREVIOUS_INDEX)); Context 1298 src/x64/full-codegen-x64.cc __ cmpq(ContextOperand(temp, Context::EXTENSION_INDEX), Immediate(0)); Context 1301 src/x64/full-codegen-x64.cc __ movq(temp, ContextOperand(temp, Context::PREVIOUS_INDEX)); Context 1328 src/x64/full-codegen-x64.cc __ cmpq(ContextOperand(context, Context::EXTENSION_INDEX), Context 1332 src/x64/full-codegen-x64.cc __ movq(temp, ContextOperand(context, Context::PREVIOUS_INDEX)); Context 1338 src/x64/full-codegen-x64.cc __ cmpq(ContextOperand(context, Context::EXTENSION_INDEX), Immediate(0)); Context 2070 src/x64/full-codegen-x64.cc rcx, Context::SlotOffset(var->index()), rdx, rbx, kDontSaveFPRegs); Context 2090 src/x64/full-codegen-x64.cc rcx, Context::SlotOffset(var->index()), rdx, rbx, kDontSaveFPRegs); Context 2679 src/x64/full-codegen-x64.cc __ movq(rdx, Operand(rsi, Context::SlotOffset(Context::GLOBAL_INDEX))); Context 2682 src/x64/full-codegen-x64.cc ContextOperand(rdx, Context::STRING_FUNCTION_PROTOTYPE_MAP_INDEX)); Context 2957 src/x64/full-codegen-x64.cc __ movq(rcx, ContextOperand(context_register(), Context::GLOBAL_INDEX)); Context 2961 src/x64/full-codegen-x64.cc __ movq(rdi, ContextOperand(context_register(), Context::GLOBAL_INDEX)); Context 3391 src/x64/full-codegen-x64.cc __ movq(cache, ContextOperand(rsi, Context::GLOBAL_INDEX)); Context 3395 src/x64/full-codegen-x64.cc ContextOperand(cache, Context::JSFUNCTION_RESULT_CACHES_INDEX)); Context 4448 src/x64/full-codegen-x64.cc __ push(ContextOperand(rsi, Context::CLOSURE_INDEX)); Context 842 src/x64/ic-x64.cc masm, Context::NUMBER_FUNCTION_INDEX, rdx); Context 850 src/x64/ic-x64.cc masm, Context::STRING_FUNCTION_INDEX, rdx); Context 861 src/x64/ic-x64.cc masm, Context::BOOLEAN_FUNCTION_INDEX, rdx); Context 1203 src/x64/ic-x64.cc Context::kHeaderSize); Context 188 src/x64/lithium-codegen-x64.cc int heap_slots = scope()->num_heap_slots() - Context::MIN_CONTEXT_SLOTS; Context 214 src/x64/lithium-codegen-x64.cc int context_offset = Context::SlotOffset(var->index()); Context 2256 src/x64/lithium-codegen-x64.cc int offset = Context::SlotOffset(instr->slot_index()); Context 2763 src/x64/lithium-codegen-x64.cc __ movq(receiver, ContextOperand(rsi, Context::GLOBAL_INDEX)); Context 2840 src/x64/lithium-codegen-x64.cc Operand(context, Context::SlotOffset(Context::PREVIOUS_INDEX))); Context 3247 src/x64/lithium-codegen-x64.cc FixedArray::kHeaderSize + Context::RANDOM_SEED_INDEX * kPointerSize; Context 90 src/x64/lithium-x64.h V(Context) \ Context 1397 src/x64/lithium-x64.h DECLARE_CONCRETE_INSTRUCTION(Context, "context") Context 801 src/x64/macro-assembler-x64.cc movq(target, Operand(rsi, Context::SlotOffset(Context::GLOBAL_INDEX))); Context 3437 src/x64/macro-assembler-x64.cc int offset = Context::kHeaderSize + Context::GLOBAL_INDEX * kPointerSize; Context 3475 src/x64/macro-assembler-x64.cc Context::kHeaderSize + Context::SECURITY_TOKEN_INDEX * kPointerSize; Context 4063 src/x64/macro-assembler-x64.cc movq(dst, Operand(rsi, Context::SlotOffset(Context::PREVIOUS_INDEX))); Context 4065 src/x64/macro-assembler-x64.cc movq(dst, Operand(dst, Context::SlotOffset(Context::PREVIOUS_INDEX))); Context 4093 src/x64/macro-assembler-x64.cc movq(scratch, Operand(rsi, Context::SlotOffset(Context::GLOBAL_INDEX))); Context 4098 src/x64/macro-assembler-x64.cc Context::SlotOffset(Context::JS_ARRAY_MAPS_INDEX))); Context 4144 src/x64/macro-assembler-x64.cc movq(function, Operand(rsi, Context::SlotOffset(Context::GLOBAL_INDEX))); Context 4148 src/x64/macro-assembler-x64.cc movq(function, Operand(function, Context::SlotOffset(index))); Context 1445 src/x64/macro-assembler-x64.h return Operand(context, Context::SlotOffset(index)); Context 1450 src/x64/macro-assembler-x64.h return ContextOperand(rsi, Context::GLOBAL_INDEX); Context 231 src/x64/stub-cache-x64.cc Operand(rsi, Context::SlotOffset(Context::GLOBAL_INDEX))); Context 236 src/x64/stub-cache-x64.cc __ movq(prototype, Operand(prototype, Context::SlotOffset(index))); Context 253 src/x64/stub-cache-x64.cc __ cmpq(Operand(rsi, Context::SlotOffset(Context::GLOBAL_INDEX)), Context 1726 src/x64/stub-cache-x64.cc Context::STRING_FUNCTION_INDEX, Context 1804 src/x64/stub-cache-x64.cc Context::STRING_FUNCTION_INDEX, Context 2156 src/x64/stub-cache-x64.cc masm(), Context::STRING_FUNCTION_INDEX, rax, &miss); Context 2177 src/x64/stub-cache-x64.cc masm(), Context::NUMBER_FUNCTION_INDEX, rax, &miss); Context 2199 src/x64/stub-cache-x64.cc masm(), Context::BOOLEAN_FUNCTION_INDEX, rax, &miss); Context 174 test/cctest/cctest.h : context_(v8::Context::New(extensions, global_template, global_object)) { Context 183 test/cctest/cctest.h v8::Context* operator->() { return *context_; } Context 184 test/cctest/cctest.h v8::Context* operator*() { return *context_; } Context 187 test/cctest/cctest.h v8::Local<v8::Context> local() { Context 188 test/cctest/cctest.h return v8::Local<v8::Context>::New(context_); Context 192 test/cctest/cctest.h v8::Persistent<v8::Context> context_; Context 118 test/cctest/test-alloc.cc v8::Persistent<v8::Context> env = v8::Context::New(); Context 140 test/cctest/test-alloc.cc v8::Persistent<v8::Context> env = v8::Context::New(); Context 143 test/cctest/test-api.cc Local<Context> local_env; Context 3141 test/cctest/test-api.cc Local<v8::Object> global = Context::GetCurrent()->Global(); Context 3769 test/cctest/test-api.cc v8::Persistent<Context> context1 = Context::New(); Context 4584 test/cctest/test-api.cc v8::Persistent<Context> context = Context::New(0, global_template); Context 4585 test/cctest/test-api.cc Context::Scope context_scope(context); Context 4602 test/cctest/test-api.cc v8::Handle<Context> context = Context::New(&extensions); Context 4603 test/cctest/test-api.cc Context::Scope lock(context); Context 4621 test/cctest/test-api.cc v8::Handle<Context> context = Context::New(&extensions); Context 4637 test/cctest/test-api.cc v8::Handle<Context> context = Context::New(&extensions); Context 4639 test/cctest/test-api.cc Context::Scope lock(context); Context 4673 test/cctest/test-api.cc v8::Handle<Context> context = Context::New(&extensions); Context 4674 test/cctest/test-api.cc Context::Scope lock(context); Context 4706 test/cctest/test-api.cc v8::Handle<Context> context = Context::New(&extensions); Context 4707 test/cctest/test-api.cc Context::Scope lock(context); Context 4720 test/cctest/test-api.cc v8::Handle<Context> context = Context::New(); Context 4721 test/cctest/test-api.cc Context::Scope lock(context); Context 4739 test/cctest/test-api.cc v8::Handle<Context> context = Context::New(&extensions); Context 4756 test/cctest/test-api.cc v8::Handle<Context> context = Context::New(&extensions); Context 4777 test/cctest/test-api.cc v8::Handle<Context> context = Context::New(&extensions); Context 4778 test/cctest/test-api.cc Context::Scope lock(context); Context 4813 test/cctest/test-api.cc v8::Handle<Context> context = Context::New(&extensions); Context 4814 test/cctest/test-api.cc Context::Scope lock(context); Context 4828 test/cctest/test-api.cc v8::Handle<Context> context(Context::New(&extensions)); Context 4843 test/cctest/test-api.cc v8::Handle<Context> context(Context::New(&extensions)); Context 4983 test/cctest/test-api.cc v8::Handle<Context> context = Context::New(&config); Context 5098 test/cctest/test-api.cc v8::Persistent<Context> context = Context::New(&extensions); Context 5099 test/cctest/test-api.cc Context::Scope context_scope(context); Context 5127 test/cctest/test-api.cc v8::Persistent<Context> context = Context::New(); Context 5128 test/cctest/test-api.cc Context::Scope context_scope(context); Context 5172 test/cctest/test-api.cc v8::Persistent<Context> context = Context::New(); Context 5173 test/cctest/test-api.cc Context::Scope context_scope(context); Context 5206 test/cctest/test-api.cc v8::Persistent<Context> context = Context::New(); Context 5207 test/cctest/test-api.cc Context::Scope context_scope(context); Context 5417 test/cctest/test-api.cc v8::Handle<v8::Object> global = Context::GetCurrent()->Global(); Context 5452 test/cctest/test-api.cc v8::Handle<v8::Object> global = Context::GetCurrent()->Global(); Context 5558 test/cctest/test-api.cc v8::Handle<v8::Object> global = Context::GetCurrent()->Global(); Context 6122 test/cctest/test-api.cc Local<v8::Object> arg_this = Context::GetCurrent()->Global(); Context 6237 test/cctest/test-api.cc v8::Persistent<Context> context0 = Context 6238 test/cctest/test-api.cc Context::New(NULL, global_template); Context 6253 test/cctest/test-api.cc v8::Persistent<Context> context1 = Context 6254 test/cctest/test-api.cc Context::New(NULL, global_template); Context 6296 test/cctest/test-api.cc v8::Persistent<Context> env2 = Context::New(); Context 6318 test/cctest/test-api.cc Context::Scope scope_env2(env2); Context 6325 test/cctest/test-api.cc Context::Scope scope_env2(env2); Context 6341 test/cctest/test-api.cc v8::Persistent<Context> other = Context::New(); Context 6346 test/cctest/test-api.cc { Context::Scope scope(other); Context 6384 test/cctest/test-api.cc { Context::Scope scope(other); Context 6409 test/cctest/test-api.cc v8::Persistent<Context> env2 = Context::New(); Context 6424 test/cctest/test-api.cc Context::Scope scope_env2(env2); Context 6442 test/cctest/test-api.cc v8::Persistent<Context> env2 = Context::New(); Context 6457 test/cctest/test-api.cc Context::Scope scope_env2(env2); Context 6465 test/cctest/test-api.cc Context::Scope scope_env2(env2); Context 6477 test/cctest/test-api.cc v8::Persistent<Context> env2 = Context::New(); Context 6495 test/cctest/test-api.cc Context::Scope scope_env2(env2); Context 6510 test/cctest/test-api.cc v8::Persistent<Context> env2 = Context::New(); Context 6537 test/cctest/test-api.cc v8::Persistent<Context> env3 = Context 6538 test/cctest/test-api.cc Context::New(0, v8::Handle<v8::ObjectTemplate>(), global2); Context 6576 test/cctest/test-api.cc v8::Persistent<Context> env2 = Context::New(); Context 6586 test/cctest/test-api.cc v8::Context::Scope scope(env2); Context 6608 test/cctest/test-api.cc v8::Persistent<Context> env3 = Context 6609 test/cctest/test-api.cc Context::New(0, v8::Handle<v8::ObjectTemplate>(), global2); Context 6617 test/cctest/test-api.cc v8::Context::Scope scope(env3); Context 6655 test/cctest/test-api.cc return Context::GetCurrent()->Global()->Equals(global) || Context 6664 test/cctest/test-api.cc return Context::GetCurrent()->Global()->Equals(global) || Context 6718 test/cctest/test-api.cc v8::Persistent<Context> context0 = Context::New(NULL, global_template); Context 6746 test/cctest/test-api.cc v8::Persistent<Context> context1 = Context::New(); Context 6963 test/cctest/test-api.cc v8::Persistent<Context> context0 = Context::New(NULL, global_template); Context 6968 test/cctest/test-api.cc v8::Persistent<Context> context1 = Context::New(); Context 7036 test/cctest/test-api.cc v8::Persistent<Context> context0 = Context::New(NULL, obj_template); Context 7043 test/cctest/test-api.cc v8::Persistent<Context> context1 = Context::New(); Context 7124 test/cctest/test-api.cc v8::Persistent<Context> context0 = Context::New(NULL, global_template); Context 7133 test/cctest/test-api.cc v8::Persistent<Context> context1 = Context::New(); Context 7183 test/cctest/test-api.cc v8::Persistent<Context> context0 = Context::New(); Context 7196 test/cctest/test-api.cc v8::Persistent<Context> context1 = Context::New(); Context 7332 test/cctest/test-api.cc v8::Persistent<Context> context0 = Context::New(); Context 7345 test/cctest/test-api.cc v8::Persistent<Context> context1 = Context::New(); Context 7396 test/cctest/test-api.cc v8::Persistent<Context> context0 = Context::New(); Context 7414 test/cctest/test-api.cc v8::Persistent<Context> context1 = Context::New(); Context 8259 test/cctest/test-api.cc v8::Persistent<Context> context0 = Context::New(); Context 8260 test/cctest/test-api.cc v8::Persistent<Context> context1 = Context::New(); Context 10867 test/cctest/test-api.cc v8::Persistent<Context> env = Context::New(); Context 10904 test/cctest/test-api.cc v8::Persistent<Context> env = Context::New(); Context 10986 test/cctest/test-api.cc v8::Persistent<Context> env(Context::New()); Context 10999 test/cctest/test-api.cc { v8::Persistent<v8::Context> inner = v8::Context::New(); Context 11327 test/cctest/test-api.cc v8::Persistent<Context> context0(Context::New(NULL, global_template)); Context 11343 test/cctest/test-api.cc v8::Persistent<Context> context = Context::New(NULL, global_template); Context 11344 test/cctest/test-api.cc Context::Scope context_scope(context); Context 11424 test/cctest/test-api.cc v8::Persistent<Context> context = Context::New(NULL, global_template); Context 11425 test/cctest/test-api.cc Context::Scope context_scope(context); Context 11684 test/cctest/test-api.cc v8::Persistent<Context> context0 = Context::New(); Context 11685 test/cctest/test-api.cc v8::Persistent<Context> context1 = Context::New(); Context 11819 test/cctest/test-api.cc Local<Context> local_env; Context 11928 test/cctest/test-api.cc Local<Context> local_env; Context 12241 test/cctest/test-api.cc Local<Context> local_env; Context 12491 test/cctest/test-api.cc v8::Persistent<v8::Context> ctx1 = v8::Context::New(); Context 12492 test/cctest/test-api.cc v8::Persistent<v8::Context> ctx2 = v8::Context::New(); Context 12528 test/cctest/test-api.cc v8::Persistent<Context> calling_context0; Context 12529 test/cctest/test-api.cc v8::Persistent<Context> calling_context1; Context 12530 test/cctest/test-api.cc v8::Persistent<Context> calling_context2; Context 12538 test/cctest/test-api.cc CHECK(Context::GetCurrent() == calling_context0); Context 12539 test/cctest/test-api.cc CHECK(Context::GetCalling() == calling_context1); Context 12540 test/cctest/test-api.cc CHECK(Context::GetEntered() == calling_context2); Context 12548 test/cctest/test-api.cc calling_context0 = Context::New(); Context 12549 test/cctest/test-api.cc calling_context1 = Context::New(); Context 12550 test/cctest/test-api.cc calling_context2 = Context::New(); Context 14185 test/cctest/test-api.cc v8::Persistent<v8::Context> ctx = v8::Context::New(); Context 14505 test/cctest/test-api.cc v8::Persistent<Context> context; Context 14506 test/cctest/test-api.cc v8::Persistent<Context> other_context; Context 14511 test/cctest/test-api.cc other_context = Context::New(); Context 14516 test/cctest/test-api.cc context = Context::New(); Context 14540 test/cctest/test-api.cc context = Context::New(); Context 14562 test/cctest/test-api.cc context = Context::New(); Context 15280 test/cctest/test-api.cc v8::Persistent<v8::Context> context1 = v8::Context::New(); Context 15283 test/cctest/test-api.cc v8::Context::Scope cscope(context1); Context 15292 test/cctest/test-api.cc v8::Persistent<v8::Context> context2; Context 15296 test/cctest/test-api.cc context2 = v8::Context::New(); Context 15297 test/cctest/test-api.cc v8::Context::Scope cscope(context2); Context 15306 test/cctest/test-api.cc v8::Context::Scope cscope(context1); Context 15315 test/cctest/test-api.cc v8::Persistent<v8::Context> context_default = v8::Context::New(); Context 15318 test/cctest/test-api.cc v8::Context::Scope cscope(context_default); Context 15338 test/cctest/test-api.cc v8::Context::Scope cscope(context2); Context 15344 test/cctest/test-api.cc v8::Context::Scope cscope(context1); Context 15370 test/cctest/test-api.cc v8::Context::Scope cscope(context_default); Context 15441 test/cctest/test-api.cc Persistent<v8::Context> context; Context 15445 test/cctest/test-api.cc context = v8::Context::New(); Context 15446 test/cctest/test-api.cc v8::Context::Scope context_scope(context); Context 15454 test/cctest/test-api.cc context = v8::Context::New(); Context 15455 test/cctest/test-api.cc v8::Context::Scope context_scope(context); Context 15822 test/cctest/test-api.cc v8::Context::Scope context_scope(context.local()); Context 15851 test/cctest/test-api.cc Context::Scope scope(context); Context 15864 test/cctest/test-api.cc Persistent<Context> context1 = Context::New(); Context 15866 test/cctest/test-api.cc Persistent<Context> context2 = Context::New(); Context 15868 test/cctest/test-api.cc Persistent<Context> context3 = Context::New(); Context 15876 test/cctest/test-api.cc Context::Scope scope(context1); Context 15884 test/cctest/test-api.cc Context::Scope scope(context2); Context 15893 test/cctest/test-api.cc Context::Scope scope(context3); Context 15912 test/cctest/test-api.cc Context::Scope scope(context1); Context 15928 test/cctest/test-api.cc Context::Scope scope(context2); Context 15951 test/cctest/test-api.cc Persistent<Context> context = Context::New(); Context 15956 test/cctest/test-api.cc Context::Scope scope(context); Context 16256 test/cctest/test-api.cc Persistent<Context> context = v8::Context::New(); Context 16367 test/cctest/test-api.cc Persistent<Context> foreign_context = v8::Context::New(); Context 46 test/cctest/test-assembler-arm.cc static v8::Persistent<v8::Context> env; Context 51 test/cctest/test-assembler-arm.cc env = v8::Context::New(); Context 47 test/cctest/test-assembler-ia32.cc static v8::Persistent<v8::Context> env; Context 52 test/cctest/test-assembler-ia32.cc env = v8::Context::New(); Context 47 test/cctest/test-assembler-mips.cc static v8::Persistent<v8::Context> env; Context 55 test/cctest/test-assembler-mips.cc env = v8::Context::New(); Context 91 test/cctest/test-assembler-x64.cc static v8::Persistent<v8::Context> env; Context 96 test/cctest/test-assembler-x64.cc env = v8::Context::New(); Context 43 test/cctest/test-compiler.cc static v8::Persistent<v8::Context> env; Context 95 test/cctest/test-compiler.cc env = v8::Context::New(&config); Context 29 test/cctest/test-cpu-profiler.cc static v8::Persistent<v8::Context> env; Context 32 test/cctest/test-cpu-profiler.cc if (env.IsEmpty()) env = v8::Context::New(); Context 142 test/cctest/test-debug.cc inline v8::Context* operator->() { return *context_; } Context 143 test/cctest/test-debug.cc inline v8::Context* operator*() { return *context_; } Context 162 test/cctest/test-debug.cc v8::Persistent<v8::Context> context_; Context 184 test/cctest/test-debug.cc v8::Context::GetCurrent()->Global()->Get(v8::String::New(function_name))); Context 4143 test/cctest/test-debug.cc v8::Persistent<v8::Context> context = v8::Context::New(&extensions); Context 5051 test/cctest/test-debug.cc v8::Handle<v8::Context> context = v8::Context::New(NULL, global_template); Context 5052 test/cctest/test-debug.cc v8::Context::Scope context_scope(context); Context 5427 test/cctest/test-debug.cc v8::Handle<v8::Context> context = v8::Context::New(NULL, global_template); Context 5428 test/cctest/test-debug.cc v8::Context::Scope context_scope(context); Context 6125 test/cctest/test-debug.cc static v8::Persistent<v8::Context> expected_context; Context 6156 test/cctest/test-debug.cc v8::Persistent<v8::Context> context_1; Context 6157 test/cctest/test-debug.cc v8::Persistent<v8::Context> context_2; Context 6161 test/cctest/test-debug.cc context_1 = v8::Context::New(NULL, global_template, global_object); Context 6162 test/cctest/test-debug.cc context_2 = v8::Context::New(NULL, global_template, global_object); Context 6181 test/cctest/test-debug.cc v8::Context::Scope context_scope(context_1); Context 6191 test/cctest/test-debug.cc v8::Context::Scope context_scope(context_2); Context 6323 test/cctest/test-debug.cc v8::Persistent<v8::Context> context_1; Context 6326 test/cctest/test-debug.cc context_1 = v8::Context::New(NULL, global_template); Context 6341 test/cctest/test-debug.cc v8::Context::Scope context_scope(context_1); Context 6488 test/cctest/test-debug.cc v8::Handle<v8::Context> context = message.GetEventContext(); Context 6875 test/cctest/test-debug.cc v8::Handle<v8::Context> debugee_context; Context 6876 test/cctest/test-debug.cc v8::Handle<v8::Context> debugger_context; Context 6885 test/cctest/test-debug.cc v8::Handle<v8::Context> current = v8::Context::GetCurrent(); Context 6888 test/cctest/test-debug.cc v8::Handle<v8::Context> calling = v8::Context::GetCalling(); Context 6905 test/cctest/test-debug.cc CHECK(debugger_context == v8::Context::GetCurrent()); Context 6928 test/cctest/test-debug.cc debugee_context = v8::Local<v8::Context>(*env); Context 6953 test/cctest/test-debug.cc debugee_context = v8::Handle<v8::Context>(); Context 6954 test/cctest/test-debug.cc debugger_context = v8::Handle<v8::Context>(); Context 6961 test/cctest/test-debug.cc v8::Local<v8::Context> context1 = v8::Debug::GetDebugContext(); Context 6962 test/cctest/test-debug.cc v8::Local<v8::Context> context2 = v8::Debug::GetDebugContext(); Context 6979 test/cctest/test-debug.cc expected_context = v8::Context::New(); Context 6980 test/cctest/test-debug.cc v8::Context::Scope context_scope(expected_context); Context 97 test/cctest/test-decls.cc Persistent<Context> context_; Context 124 test/cctest/test-decls.cc context_ = Context::New(0, function->InstanceTemplate(), Local<Value>()); Context 43 test/cctest/test-disasm-arm.cc static v8::Persistent<v8::Context> env; Context 47 test/cctest/test-disasm-arm.cc env = v8::Context::New(); Context 41 test/cctest/test-disasm-ia32.cc static v8::Persistent<v8::Context> env; Context 45 test/cctest/test-disasm-ia32.cc env = v8::Context::New(); Context 43 test/cctest/test-disasm-mips.cc static v8::Persistent<v8::Context> env; Context 49 test/cctest/test-disasm-mips.cc env = v8::Context::New(); Context 41 test/cctest/test-disasm-x64.cc static v8::Persistent<v8::Context> env; Context 45 test/cctest/test-disasm-x64.cc env = v8::Context::New(); Context 49 test/cctest/test-func-name-inference.cc static v8::Persistent<v8::Context> env; Context 55 test/cctest/test-func-name-inference.cc env = v8::Context::New(); Context 47 test/cctest/test-hashing.cc static v8::Persistent<v8::Context> env; Context 226 test/cctest/test-hashing.cc if (env.IsEmpty()) env = v8::Context::New(); Context 244 test/cctest/test-hashing.cc if (env.IsEmpty()) env = v8::Context::New(); Context 15 test/cctest/test-heap.cc static v8::Persistent<v8::Context> env; Context 18 test/cctest/test-heap.cc if (env.IsEmpty()) env = v8::Context::New(); Context 992 test/cctest/test-heap.cc object = Context::cast(object)->get(Context::NEXT_CONTEXT_LINK); Context 1002 test/cctest/test-heap.cc Handle<Context> icontext = v8::Utils::OpenHandle(*context); Context 1003 test/cctest/test-heap.cc Object* object = icontext->get(Context::OPTIMIZED_FUNCTIONS_LIST); Context 1018 test/cctest/test-heap.cc v8::Persistent<v8::Context> ctx[kNumTestContexts]; Context 1024 test/cctest/test-heap.cc ctx[i] = v8::Context::New(); Context 1117 test/cctest/test-heap.cc Handle<Object>(Context::cast(*object)->get(Context::NEXT_CONTEXT_LINK)); Context 1129 test/cctest/test-heap.cc Handle<Context> icontext = v8::Utils::OpenHandle(*context); Context 1130 test/cctest/test-heap.cc Handle<Object> object(icontext->get(Context::OPTIMIZED_FUNCTIONS_LIST)); Context 1148 test/cctest/test-heap.cc v8::Persistent<v8::Context> ctx[kNumTestContexts]; Context 1155 test/cctest/test-heap.cc ctx[i] = v8::Context::New(); Context 1367 test/cctest/test-heap.cc v8::Persistent<v8::Context> ctx1 = v8::Context::New(); Context 1368 test/cctest/test-heap.cc v8::Persistent<v8::Context> ctx2 = v8::Context::New(); Context 1404 test/cctest/test-heap.cc v8::Persistent<v8::Context> ctx1 = v8::Context::New(); Context 1405 test/cctest/test-heap.cc v8::Persistent<v8::Context> ctx2 = v8::Context::New(); Context 1439 test/cctest/test-heap.cc v8::Persistent<v8::Context> ctx1 = v8::Context::New(); Context 1440 test/cctest/test-heap.cc v8::Persistent<v8::Context> ctx2 = v8::Context::New(); Context 1474 test/cctest/test-heap.cc v8::Persistent<v8::Context> ctx1 = v8::Context::New(); Context 1475 test/cctest/test-heap.cc v8::Persistent<v8::Context> ctx2 = v8::Context::New(); Context 1538 test/cctest/test-heap.cc v8::Context::GetCurrent()->Global()->Get(v8_str("f")))); Context 1553 test/cctest/test-heap.cc v8::Handle<v8::Object> global = v8::Context::GetCurrent()->Global(); Context 1581 test/cctest/test-heap.cc v8::Context::GetCurrent()->Global()->Get(v8_str("base")))); Context 1645 test/cctest/test-heap.cc v8::Context::GetCurrent()->Global()->Get(v8_str("f")))); Context 1700 test/cctest/test-heap.cc v8::Context::GetCurrent()->Global()->Get(v8_str("f")))); Context 1769 test/cctest/test-heap.cc v8::Context::GetCurrent()->Global()->Get(v8_str("root")))); Context 1837 test/cctest/test-heap.cc v8::Context::GetCurrent()->Global()->Get(v8_str("root")))); Context 1890 test/cctest/test-heap.cc v8::Context::GetCurrent()->Global()->Get(v8_str("root")))); Context 73 test/cctest/test-lockers.cc v8::Context::Scope context_scope(context_); Context 81 test/cctest/test-lockers.cc v8::Context::Scope context_scope(context_); Context 92 test/cctest/test-lockers.cc Persistent<v8::Context> context_; Context 99 test/cctest/test-lockers.cc Persistent<v8::Context> context; Context 104 test/cctest/test-lockers.cc context = v8::Context::New(); Context 105 test/cctest/test-lockers.cc v8::Context::Scope context_scope(context); Context 232 test/cctest/test-lockers.cc v8::Handle<v8::Context> context = v8::Context::New(); Context 233 test/cctest/test-lockers.cc v8::Context::Scope context_scope(context); Context 352 test/cctest/test-lockers.cc v8::Context::Scope context_scope(context_); Context 357 test/cctest/test-lockers.cc Persistent<v8::Context> context_; Context 371 test/cctest/test-lockers.cc v8::Handle<v8::Context> context = v8::Context::New(); Context 373 test/cctest/test-lockers.cc v8::Context::Scope context_scope(context); Context 385 test/cctest/test-lockers.cc v8::Context::Scope context_scope(context); Context 421 test/cctest/test-lockers.cc v8::Handle<v8::Context> context = v8::Context::New(); Context 423 test/cctest/test-lockers.cc v8::Context::Scope context_scope(context); Context 438 test/cctest/test-lockers.cc v8::Context::Scope context_scope(context); Context 473 test/cctest/test-lockers.cc Persistent<v8::Context> context1; Context 474 test/cctest/test-lockers.cc Persistent<v8::Context> context2; Context 481 test/cctest/test-lockers.cc context1 = v8::Context::New(); Context 483 test/cctest/test-lockers.cc v8::Context::Scope context_scope(context1); Context 493 test/cctest/test-lockers.cc context2 = v8::Context::New(); Context 495 test/cctest/test-lockers.cc v8::Context::Scope context_scope(context2); Context 505 test/cctest/test-lockers.cc v8::Context::Scope context_scope(context2); Context 544 test/cctest/test-lockers.cc v8::Context::Scope context_scope(context_); Context 557 test/cctest/test-lockers.cc v8::Context::Scope context_scope(context_); Context 565 test/cctest/test-lockers.cc v8::Persistent<v8::Context> context_; Context 576 test/cctest/test-lockers.cc Persistent<v8::Context> context; Context 581 test/cctest/test-lockers.cc context = v8::Context::New(); Context 601 test/cctest/test-lockers.cc v8::Context::Scope context_scope(context_); Context 609 test/cctest/test-lockers.cc v8::Context::Scope context_scope(context_); Context 616 test/cctest/test-lockers.cc v8::Persistent<v8::Context> context_; Context 626 test/cctest/test-lockers.cc Persistent<v8::Context> context; Context 630 test/cctest/test-lockers.cc context = v8::Context::New(); Context 647 test/cctest/test-lockers.cc v8::Persistent<Context> context = v8::Context::New(); Context 648 test/cctest/test-lockers.cc v8::Context::Scope context_scope(context); Context 679 test/cctest/test-lockers.cc v8::Persistent<v8::Context> context = v8::Context::New(&extensions); Context 58 test/cctest/test-log-stack-tracer.cc static v8::Persistent<v8::Context> env; Context 193 test/cctest/test-log-stack-tracer.cc env = v8::Context::New(&config); Context 54 test/cctest/test-log.cc v8::Handle<v8::Context>& env() { return env_; } Context 81 test/cctest/test-log.cc v8::Handle<v8::Context> env_; Context 218 test/cctest/test-log.cc v8::Persistent<v8::Context> context = v8::Context::New(); Context 221 test/cctest/test-log.cc v8::Context::Scope context_scope(context); Context 344 test/cctest/test-log.cc v8::Handle<v8::Context> env = v8::Context::New(); Context 46 test/cctest/test-mark-compact.cc static v8::Persistent<v8::Context> env; Context 49 test/cctest/test-mark-compact.cc if (env.IsEmpty()) env = v8::Context::New(); Context 177 test/cctest/test-parsing.cc v8::Persistent<v8::Context> context = v8::Context::New(); Context 178 test/cctest/test-parsing.cc v8::Context::Scope context_scope(context); Context 548 test/cctest/test-parsing.cc v8::Persistent<v8::Context> context = v8::Context::New(); Context 549 test/cctest/test-parsing.cc v8::Context::Scope context_scope(context); Context 992 test/cctest/test-parsing.cc v8::Persistent<v8::Context> context = v8::Context::New(); Context 993 test/cctest/test-parsing.cc v8::Context::Scope context_scope(context); Context 1208 test/cctest/test-parsing.cc v8::Persistent<v8::Context> context = v8::Context::New(); Context 1209 test/cctest/test-parsing.cc v8::Context::Scope context_scope(context); Context 1249 test/cctest/test-parsing.cc v8::Context::Scope context_scope(v8::Context::New()); Context 744 test/cctest/test-profile-generator.cc static v8::Persistent<v8::Context> env; Context 765 test/cctest/test-profile-generator.cc env = v8::Context::New(&config); Context 39 test/cctest/test-random.cc static v8::Persistent<v8::Context> env; Context 73 test/cctest/test-random.cc if (env.IsEmpty()) env = v8::Context::New(); Context 79 test/cctest/test-random.cc Handle<Context> context(Isolate::Current()->context()); Context 713 test/cctest/test-regexp.cc env_ = v8::Context::New(); Context 721 test/cctest/test-regexp.cc v8::Persistent<v8::Context> env_; Context 245 test/cctest/test-serialize.cc v8::Persistent<v8::Context> env = v8::Context::New(); Context 300 test/cctest/test-serialize.cc v8::Persistent<v8::Context> env = v8::Context::New(); Context 313 test/cctest/test-serialize.cc v8::Persistent<v8::Context> env = v8::Context::New(); Context 326 test/cctest/test-serialize.cc v8::Persistent<v8::Context> env = v8::Context::New(); Context 343 test/cctest/test-serialize.cc v8::Persistent<v8::Context> env = v8::Context::New(); Context 359 test/cctest/test-serialize.cc v8::Persistent<v8::Context> env = v8::Context::New(); Context 485 test/cctest/test-serialize.cc v8::Persistent<v8::Context> env = v8::Context::New(); Context 31 test/cctest/test-strings.cc static v8::Persistent<v8::Context> env; Context 39 test/cctest/test-strings.cc env = v8::Context::New(&config); Context 127 test/cctest/test-thread-termination.cc v8::Persistent<v8::Context> context = v8::Context::New(NULL, global); Context 128 test/cctest/test-thread-termination.cc v8::Context::Scope context_scope(context); Context 147 test/cctest/test-thread-termination.cc v8::Persistent<v8::Context> context = v8::Context::New(NULL, global); Context 148 test/cctest/test-thread-termination.cc v8::Context::Scope context_scope(context); Context 186 test/cctest/test-thread-termination.cc v8::Persistent<v8::Context> context = v8::Context::New(NULL, global); Context 187 test/cctest/test-thread-termination.cc v8::Context::Scope context_scope(context); Context 210 test/cctest/test-thread-termination.cc v8::Persistent<v8::Context> context = v8::Context::New(NULL, global); Context 211 test/cctest/test-thread-termination.cc v8::Context::Scope context_scope(context); Context 317 test/cctest/test-thread-termination.cc v8::Persistent<v8::Context> context = v8::Context::New(NULL, global); Context 318 test/cctest/test-thread-termination.cc v8::Context::Scope context_scope(context); Context 363 test/cctest/test-thread-termination.cc v8::Persistent<v8::Context> context = v8::Context::New(NULL, global); Context 364 test/cctest/test-thread-termination.cc v8::Context::Scope context_scope(context); Context 40 test/cctest/test-threads.cc v8::Context::Scope context_scope(v8::Context::New()); Context 72 test/cctest/test-threads.cc v8::Context::Scope context_scope(v8::Context::New()); Context 111 test/cctest/test-threads.cc v8::Context::Scope context_scope(v8::Context::New());