/external/chromium_org/v8/src/ |
D | bootstrapper.cc | 167 Handle<Context> native_context() { return native_context_; } in native_context() function in v8::internal::BASE_EMBEDDED 237 static bool InstallExtensions(Handle<Context> native_context, 245 static void InstallSpecialObjects(Handle<Context> native_context); 444 native_context()->set_function_without_prototype_map( in CreateEmptyFunction() 451 native_context()->set_function_map(*function_map); in CreateEmptyFunction() 469 native_context()->set_object_function(*object_fun); in CreateEmptyFunction() 476 native_context()->set_initial_object_prototype(*prototype); in CreateEmptyFunction() 480 native_context()->set_initial_array_prototype(*prototype); in CreateEmptyFunction() 507 native_context()->function_map()->set_prototype(*empty_function); in CreateEmptyFunction() 508 native_context()->function_without_prototype_map()-> in CreateEmptyFunction() [all …]
|
D | factory.cc | 597 Handle<Context> native_context(function->context()->native_context()); in NewFunctionPrototype() local 602 new_map = handle(native_context->generator_object_prototype_map()); in NewFunctionPrototype() 606 Handle<JSFunction> object_function(native_context->object_function()); in NewFunctionPrototype() 713 Context *context = isolate->context()->native_context(); in MapForNewFunction() 735 int index = function_info->SearchOptimizedCodeMap(context->native_context()); in NewFunctionFromSharedFunctionInfo() 744 context->native_context()); in NewFunctionFromSharedFunctionInfo() 1254 isolate()->context()->native_context()->array_buffer_fun()); in NewJSArrayBuffer() 1264 isolate()->context()->native_context()->data_view_fun()); in NewJSDataView() 1274 Context* native_context = isolate->context()->native_context(); in GetTypedArrayFun() local 1277 return native_context->uint8_array_fun(); in GetTypedArrayFun() [all …]
|
D | contexts.cc | 67 Context* Context::native_context() { in native_context() function in v8::internal::Context 72 return global_object()->native_context(); in native_context() 88 return native_context()->global_proxy_object(); in global_proxy() 93 native_context()->set_global_proxy_object(object); in set_global_proxy()
|
D | type-info.cc | 60 Handle<Context> native_context, in TypeFeedbackOracle() argument 63 : native_context_(native_context), in TypeFeedbackOracle() 423 Context* native_context) { in CanRetainOtherContext() argument 433 native_context)) { in CanRetainOtherContext() 442 return CanRetainOtherContext(function, native_context); in CanRetainOtherContext() 447 Context* native_context) { in CanRetainOtherContext() argument 448 return function->context()->global_object() != native_context->global_object() in CanRetainOtherContext() 449 && function->context()->global_object() != native_context->builtins(); in CanRetainOtherContext()
|
D | code-stubs-hydrogen.cc | 115 void BuildInstallOptimizedCode(HValue* js_function, HValue* native_context, 120 HValue* native_context); 1138 HValue* native_context, in BuildInstallOptimizedCode() argument 1149 HValue* optimized_functions_list = Add<HLoadNamedField>(native_context, in BuildInstallOptimizedCode() 1156 Add<HStoreNamedField>(native_context, in BuildInstallOptimizedCode() 1176 HValue* native_context) { in BuildInstallFromOptimizedCodeMap() argument 1197 already_in.If<HCompareObjectEqAndBranch>(native_context, in BuildInstallFromOptimizedCodeMap() 1203 BuildInstallOptimizedCode(js_function, native_context, code_object); in BuildInstallFromOptimizedCodeMap() 1239 done_check.If<HCompareObjectEqAndBranch>(native_context, in BuildInstallFromOptimizedCodeMap() 1248 BuildInstallOptimizedCode(js_function, native_context, code_object); in BuildInstallFromOptimizedCodeMap() [all …]
|
D | type-info.h | 229 Handle<Context> native_context, 274 static bool CanRetainOtherContext(Map* map, Context* native_context); 276 Context* native_context);
|
D | compiler.cc | 552 info()->context()->native_context()->AddOptimizedCode(*info()->code()); in GenerateAndInstallCode() 639 ASSERT(!isolate->native_context().is_null()); in MakeFunctionInfo() 642 FixedArray* array = isolate->native_context()->embedder_data(); in MakeFunctionInfo() 972 Handle<Context> native_context(function->context()->native_context()); in InsertCodeIntoOptimizedCodeMap() local 974 shared, native_context, code, literals); in InsertCodeIntoOptimizedCodeMap() 987 Handle<Context> native_context(function->context()->native_context()); in InstallCodeFromOptimizedCodeMap() local 988 int index = shared->SearchOptimizedCodeMap(*native_context); in InstallCodeFromOptimizedCodeMap() 1181 info->closure()->context()->native_context()) == -1) { in InstallOptimizedCode()
|
D | deoptimizer.cc | 90 Context* native_context = function_->context()->native_context(); in FindDeoptimizingCode() local 91 Object* element = native_context->DeoptimizedCodeListHead(); in FindDeoptimizingCode() 422 Context* native_context = Context::cast(context); in DeoptimizeAll() local 423 MarkAllCodeForContext(native_context); in DeoptimizeAll() 424 DeoptimizeMarkedCodeForContext(native_context); in DeoptimizeAll() 425 context = native_context->get(Context::NEXT_CONTEXT_LINK); in DeoptimizeAll() 439 Context* native_context = Context::cast(context); in DeoptimizeMarkedCode() local 440 DeoptimizeMarkedCodeForContext(native_context); in DeoptimizeMarkedCode() 441 context = native_context->get(Context::NEXT_CONTEXT_LINK); in DeoptimizeMarkedCode() 455 Context* native_context = GlobalObject::cast(proto)->native_context(); in DeoptimizeGlobalObject() local [all …]
|
D | execution.cc | 258 isolate->native_context()->call_as_function_delegate()); in GetFunctionDelegate() 282 isolate->native_context()->call_as_function_delegate()); in TryGetFunctionDelegate() 315 isolate->native_context()->call_as_constructor_delegate()); in GetConstructorDelegate() 343 isolate->native_context()->call_as_constructor_delegate()); in TryGetConstructorDelegate() 696 pattern->GetIsolate()->native_context()->regexp_function()); in NewJSRegExp() 742 isolate->native_context()->function_cache()-> in InstantiateFunction()
|
D | builtins.cc | 289 Context* native_context, in ArrayPrototypeHasNoElements() argument 298 if (array_proto != native_context->initial_object_prototype()) return false; in ArrayPrototypeHasNoElements() 360 Context* native_context = heap->isolate()->context()->native_context(); in IsJSArrayFastElementMovingAllowed() local 362 JSObject::cast(native_context->array_function()->prototype()); in IsJSArrayFastElementMovingAllowed() 364 ArrayPrototypeHasNoElements(heap, native_context, array_proto); in IsJSArrayFastElementMovingAllowed() 375 GetProperty(Handle<JSObject>(isolate->native_context()->builtins()), in CallJsBuiltin() 681 isolate->context()->native_context()->arguments_boilerplate()->map(); in BUILTIN() 1001 Context* native_context = isolate->context()->native_context(); in BUILTIN() local 1003 JSObject::cast(native_context->array_function()->prototype()); in BUILTIN() 1004 if (!ArrayPrototypeHasNoElements(heap, native_context, array_proto)) { in BUILTIN()
|
D | isolate.cc | 761 Object* receiver_context = JSGlobalProxy::cast(receiver)->native_context(); in MayAccessPreCheck() 766 Context* native_context = in MayAccessPreCheck() local 767 isolate->context()->global_object()->native_context(); in MayAccessPreCheck() 768 if (receiver_context == native_context) return YES; in MayAccessPreCheck() 771 native_context->security_token()) in MayAccessPreCheck() 1399 Handle<Context> Isolate::native_context() { in native_context() function in v8::internal::Isolate 1400 return Handle<Context>(context()->global_object()->native_context()); in native_context() 1416 if (context->native_context() == *debug_->debug_context()) { in GetCallingNativeContext() 1427 return Handle<Context>(context->native_context()); in GetCallingNativeContext() 2251 Context* native_context = context()->native_context(); in get_initial_js_array_map() local [all …]
|
D | ast.cc | 658 v8::internal::Context* native_context = isolate->context()->native_context(); in GetPrototypeForPrimitiveCheck() local 665 function = native_context->string_function(); in GetPrototypeForPrimitiveCheck() 668 function = native_context->symbol_function(); in GetPrototypeForPrimitiveCheck() 671 function = native_context->number_function(); in GetPrototypeForPrimitiveCheck() 674 function = native_context->boolean_function(); in GetPrototypeForPrimitiveCheck()
|
D | ic-inl.h | 138 Context* context = isolate->context()->native_context(); in GetCodeCacheHolder()
|
D | bootstrapper.h | 128 bool InstallExtensions(Handle<Context> native_context,
|
D | isolate.h | 801 Handle<Context> native_context(); 842 return Handle<type>(context()->native_context()->name(), this); \ in ISOLATE_INIT_ARRAY_LIST() 845 return context()->native_context()->is_##name(value); \ 1496 return native_context()->out_of_memory()->IsTrue(); in has_out_of_memory() 1502 native_context()->set_out_of_memory(GetIsolate()->heap()->true_value()); in mark_out_of_memory()
|
D | objects.cc | 77 MaybeObject* Object::ToObject(Context* native_context) { in ToObject() argument 79 return CreateJSValue(native_context->number_function(), this); in ToObject() 81 return CreateJSValue(native_context->boolean_function(), this); in ToObject() 83 return CreateJSValue(native_context->string_function(), this); in ToObject() 94 Context* native_context = isolate->context()->native_context(); in ToObject() local 95 return CreateJSValue(native_context->number_function(), this); in ToObject() 97 Context* native_context = isolate->context()->native_context(); in ToObject() local 98 return CreateJSValue(native_context->boolean_function(), this); in ToObject() 100 Context* native_context = isolate->context()->native_context(); in ToObject() local 101 return CreateJSValue(native_context->string_function(), this); in ToObject() [all …]
|
D | deoptimizer.h | 374 static void MarkAllCodeForContext(Context* native_context); 381 static void DeoptimizeMarkedCodeForContext(Context* native_context);
|
D | liveedit.cc | 1128 Handle<Context> native_context; in PatchLiterals() local 1131 native_context = Handle<Context>( in PatchLiterals() 1134 native_context = Handle<Context>(fun->context()->native_context()); in PatchLiterals() 1137 *native_context); in PatchLiterals()
|
D | accessors.cc | 155 ASSERT(wrapper->GetIsolate()->context()->native_context()->number_function()-> in FlattenNumber() 158 isolate->context()->native_context()->number_function()->initial_map()) { in FlattenNumber()
|
D | contexts.h | 391 Context* native_context();
|
D | runtime.cc | 380 Context* native_context = isolate->context()->native_context(); in CreateArrayLiteralBoilerplate() local 381 Object* maybe_maps_array = native_context->js_array_maps(); in CreateArrayLiteralBoilerplate() 2552 set_map(isolate->native_context()->regexp_result_map()); in RUNTIME_FUNCTION() 2718 Context* native_context = in RUNTIME_FUNCTION() local 2719 function->context()->global_object()->native_context(); in RUNTIME_FUNCTION() 2720 return native_context->global_object()->global_receiver(); in RUNTIME_FUNCTION() 3002 context->native_context()); in RUNTIME_FUNCTION() 8947 function = isolate->context()->native_context()->closure(); in RUNTIME_FUNCTION() 8973 function = isolate->context()->native_context()->closure(); in RUNTIME_FUNCTION() 8998 function = isolate->context()->native_context()->closure(); in RUNTIME_FUNCTION() [all …]
|
D | stub-cache.cc | 715 Handle<Context> native_context, in CollectMatchingMaps() argument 726 !TypeFeedbackOracle::CanRetainOtherContext(map, *native_context)) { in CollectMatchingMaps() 745 !TypeFeedbackOracle::CanRetainOtherContext(map, *native_context)) { in CollectMatchingMaps() 1223 Object* function = isolate()->native_context()->get(function_index); in HandlerFrontendHeader()
|
D | objects-printer.cc | 928 native_context()->ShortPrint(out); in JSGlobalProxyPrint() 937 native_context()->ShortPrint(out); in JSGlobalObjectPrint()
|
D | string-stream.cc | 479 Object* token = context->native_context()->security_token(); in PrintSecurityTokenIfChanged()
|
/external/chromium_org/v8/test/cctest/ |
D | test-compiler.cc | 112 Handle<Context>(isolate->native_context()), in Compile() 118 shared_function, isolate->native_context()); in Compile()
|