/external/v8/src/runtime/ |
H A D | runtime-maths.cc | 23 Handle<Context> native_context = isolate->native_context(); local 24 DCHECK_EQ(0, native_context->math_random_index()->value()); 35 if (native_context->math_random_cache()->IsFixedDoubleArray()) { 37 FixedDoubleArray::cast(native_context->math_random_cache()), isolate); 43 native_context->set_math_random_cache(*cache);
|
H A D | runtime-compiler.cc | 188 isolate->set_context(function->native_context()); 429 Handle<Context> native_context = Handle<Context>(context->native_context()); local 433 if (native_context->allow_code_gen_from_strings()->IsFalse(isolate) && 434 !CodeGenerationFromStringsAllowed(isolate, native_context)) { 436 native_context->ErrorMessageForCodeGenerationFromStrings(); 469 if (*callee != isolate->native_context()->global_eval_fun() ||
|
/external/v8/src/builtins/ |
H A D | builtins-promise.h | 72 Node* promise, Node* native_context, Node* promise_context); 77 Node* native_context); 79 Node* CreatePromiseGetCapabilitiesExecutorContext(Node* native_context, 115 void BranchIfFastPath(Node* native_context, Node* promise_fun, Node* promise, 118 Node* CreatePromiseContext(Node* native_context, int slots); 122 void BranchIfAccessCheckFailed(Node* context, Node* native_context, 131 Node* native_context); 132 Node* CreatePromiseFinallyContext(Node* on_finally, Node* native_context); 134 Node* CreateValueThunkFunction(Node* value, Node* native_context); 135 Node* CreateValueThunkFunctionContext(Node* value, Node* native_context); [all...] |
H A D | builtins-arraybuffer.cc | 21 DCHECK(*target == target->native_context()->array_buffer_fun() || 22 *target == target->native_context()->shared_array_buffer_fun()); 34 DCHECK(*target == target->native_context()->array_buffer_fun() || 35 *target == target->native_context()->shared_array_buffer_fun()); 52 (*target == target->native_context()->array_buffer_fun())
|
H A D | builtins-async.cc | 25 Node* const native_context = LoadNativeContext(context); local 27 Node* const closure_context = create_closure_context(native_context); 29 native_context, Context::STRICT_FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX); 33 LoadContextElement(native_context, on_resolve_context_index); 41 LoadContextElement(native_context, on_reject_context_index);
|
H A D | builtins-async-iterator.cc | 43 Node* AllocateAsyncIteratorValueUnwrapContext(Node* native_context, 54 Node* const native_context, 59 Node* CreateUnwrapClosure(Node* const native_context, Node* const done); 95 Node* const native_context = LoadNativeContext(context); local 116 if_method_undefined(native_context, promise, &reject_promise); 128 context, native_context, iter_result, &reject_promise, &var_exception); 138 Node* const on_fulfilled = CreateUnwrapClosure(native_context, done); 157 Node* const context, Node* const native_context, Node* const iter_result, 167 LoadContextElement(native_context, Context::ITERATOR_RESULT_MAP_INDEX); 228 Node* AsyncFromSyncBuiltinsAssembler::CreateUnwrapClosure(Node* native_context, argument 156 LoadIteratorResult( Node* const context, Node* const native_context, Node* const iter_result, Label* if_exception, Variable* var_exception) argument 242 AllocateAsyncIteratorValueUnwrapContext( Node* native_context, Node* done) argument [all...] |
H A D | builtins-promise.cc | 21 Node* const native_context = LoadNativeContext(context); local 23 LoadContextElement(native_context, Context::PROMISE_FUNCTION_INDEX); 78 Node* promise, Node* debug_event, Node* native_context) { 80 promise, debug_event, native_context); 82 native_context, Context::STRICT_FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX); 84 LoadContextElement(native_context, Context::PROMISE_RESOLVE_SHARED_FUN); 88 LoadContextElement(native_context, Context::PROMISE_REJECT_SHARED_FUN); 101 Node* native_context = LoadNativeContext(context); local 119 LoadContextElement(native_context, 134 CreatePromiseResolvingFunctions(promise, debug_event, native_context); 77 CreatePromiseResolvingFunctions( Node* promise, Node* debug_event, Node* native_context) argument 189 CreatePromiseContext(Node* native_context, int slots) argument 210 CreatePromiseResolvingFunctionsContext( Node* promise, Node* debug_event, Node* native_context) argument 221 CreatePromiseGetCapabilitiesExecutorContext( Node* promise_capability, Node* native_context) argument 370 Node* const native_context = LoadNativeContext(context); local 618 Node* const native_context = LoadNativeContext(context); local 625 BranchIfFastPath(Node* native_context, Node* promise_fun, Node* promise, Label* if_isunmodified, Label* if_ismodified) argument 695 Node* const native_context = LoadNativeContext(context); local 892 BranchIfAccessCheckFailed( Node* context, Node* native_context, Node* promise_constructor, Node* executor, Label* if_noaccess) argument 1034 Node* const native_context = LoadNativeContext(context); local 1407 Node* const native_context = LoadNativeContext(context); local 1522 Node* const native_context = LoadNativeContext(context); local 1565 CreatePromiseFinallyContext( Node* on_finally, Node* native_context) argument 1573 CreatePromiseFinallyFunctions( Node* on_finally, Node* native_context) argument 1597 CreateValueThunkFunctionContext( Node* value, Node* native_context) argument 1605 CreateValueThunkFunction(Node* value, Node* native_context) argument 1636 Node* native_context = LoadNativeContext(context); local 1658 CreateThrowerFunctionContext( Node* reason, Node* native_context) argument 1666 CreateThrowerFunction(Node* reason, Node* native_context) argument 1697 Node* native_context = LoadNativeContext(context); local 1734 Node* const native_context = LoadNativeContext(context); local [all...] |
H A D | builtins-arguments.cc | 166 Node* const native_context = LoadNativeContext(context); local 167 Node* const array_map = LoadJSArrayElementsMap(FAST_ELEMENTS, native_context); 227 Node* const native_context = LoadNativeContext(context); local 229 LoadContextElement(native_context, Context::STRICT_ARGUMENTS_MAP_INDEX); 300 Node* const native_context = LoadNativeContext(context); local 302 native_context, Context::FAST_ALIASED_ARGUMENTS_MAP_INDEX); 380 Node* const native_context = LoadNativeContext(context); local 382 LoadContextElement(native_context, Context::SLOPPY_ARGUMENTS_MAP_INDEX); 394 Node* const native_context = LoadNativeContext(context); local 396 LoadContextElement(native_context, Contex [all...] |
H A D | builtins-regexp.cc | 164 Node* const native_context = LoadNativeContext(context); local 166 native_context, Context::SLOW_OBJECT_WITH_NULL_PROTOTYPE_MAP); 314 Node* const native_context = LoadNativeContext(context); local 316 native_context, Context::REGEXP_LAST_MATCH_INFO_INDEX); 421 Node* const native_context = LoadNativeContext(context); local 423 LoadContextElement(native_context, Context::REGEXP_FUNCTION_INDEX); 455 Node* const native_context = LoadNativeContext(context); local 457 LoadContextElement(native_context, Context::REGEXP_FUNCTION_INDEX); 465 LoadContextElement(native_context, Context::REGEXP_PROTOTYPE_MAP_INDEX); 501 Node* const native_context local 736 Node* const native_context = LoadNativeContext(context); local 925 Node* const native_context = LoadNativeContext(context); local 1098 Node* const native_context = LoadNativeContext(context); local 1468 Node* const native_context = a->LoadNativeContext(context); local 1890 Node* const native_context = LoadNativeContext(context); local 2224 Node* const native_context = LoadNativeContext(context); local 2432 Node* const native_context = LoadNativeContext(context); local 2647 Node* const native_context = LoadNativeContext(context); local [all...] |
H A D | builtins-async-function.cc | 110 NodeGenerator1 create_closure_context = [&](Node* native_context) -> Node* { 112 CreatePromiseContext(native_context, AwaitContext::kLength);
|
H A D | builtins-boolean.cc | 30 DCHECK(*target == target->native_context()->boolean_function());
|
H A D | builtins-math.cc | 413 Node* native_context = LoadNativeContext(context); local 418 LoadContextElement(native_context, Context::MATH_RANDOM_INDEX_INDEX)); 431 StoreContextElement(native_context, Context::MATH_RANDOM_INDEX_INDEX, 436 LoadContextElement(native_context, Context::MATH_RANDOM_CACHE_INDEX);
|
/external/v8/src/ |
H A D | bootstrapper.cc | 165 Handle<Context> native_context() { return native_context_; } function in class:v8::internal::BASE_EMBEDDED 259 static bool InstallExtensions(Handle<Context> native_context, 272 static bool InstallSpecialObjects(Handle<Context> native_context); 548 native_context()->set_sloppy_function_without_prototype_map( 556 native_context()->set_sloppy_function_map(*function_map); 557 native_context()->set_sloppy_function_with_readonly_prototype_map( 581 native_context()->set_object_function(*object_fun); 593 native_context()->set_initial_object_prototype(*object_function_prototype); 597 native_context()->set_initial_array_prototype(*object_function_prototype); 629 Handle<Map> sloppy_function_map(native_context() 3153 ResolveBuiltinIdHolder(Handle<Context> native_context, const char* holder_expr) argument 3218 Handle<Context> native_context = isolate->native_context(); local 3587 InstallPublicSymbol(Factory* factory, Handle<Context> native_context, const char* name, Handle<Symbol> value) argument 4405 InstallExtensions(Handle<Context> native_context, v8::ExtensionConfiguration* extensions) argument 4415 InstallSpecialObjects(Handle<Context> native_context) argument 4462 InstallExtensions(Handle<Context> native_context, v8::ExtensionConfiguration* extensions) argument [all...] |
H A D | type-info.h | 27 Handle<Context> native_context); 61 static bool IsRelevantFeedback(Map* map, Context* native_context) { argument 64 JSFunction::cast(constructor)->context()->native_context() == 65 native_context;
|
H A D | compilation-cache.cc | 197 Handle<Context> native_context, LanguageMode language_mode, int position) { 206 result = table->LookupEval(source, outer_info, native_context, language_mode, 219 Handle<Context> native_context, 225 native_context, literals, position); 297 Handle<Context> native_context(context->native_context(), isolate()); 298 result = eval_contextual_.Lookup(source, outer_info, native_context, 335 Handle<Context> native_context(context->native_context(), isolate()); 336 eval_contextual_.Put(source, outer_info, function_info, native_context, 195 Lookup( Handle<String> source, Handle<SharedFunctionInfo> outer_info, Handle<Context> native_context, LanguageMode language_mode, int position) argument 216 Put(Handle<String> source, Handle<SharedFunctionInfo> outer_info, Handle<SharedFunctionInfo> function_info, Handle<Context> native_context, Handle<Cell> literals, int position) argument [all...] |
H A D | contexts-inl.h | 71 Context* Context::native_context() { function in class:v8::internal::Context 137 return this->native_context()->security_token() == 138 that->native_context()->security_token();
|
H A D | isolate-inl.h | 20 Handle<Context> Isolate::native_context() { function in class:v8::internal::Isolate 21 return handle(context()->native_context(), this); 24 Context* Isolate::raw_native_context() { return context()->native_context(); }
|
H A D | compilation-info.cc | 220 return !closure().is_null() && (closure()->native_context() != nullptr); 223 Context* CompilationInfo::native_context() const { function in class:v8::internal::CompilationInfo 224 return has_native_context() ? closure()->native_context() : nullptr; 230 return has_global_object() ? native_context()->global_object() : nullptr;
|
H A D | contexts.cc | 144 return JSGlobalObject::cast(native_context()->extension()); 158 return native_context()->global_proxy_object(); 163 native_context()->set_global_proxy_object(object); 242 context->global_object()->native_context()->script_context_table()); 451 void Context::AddToOptimizedCodeMap(Handle<Context> native_context, argument 455 DCHECK(native_context->IsNativeContext()); 456 Isolate* isolate = native_context->GetIsolate(); 463 if (native_context->OptimizedCodeMapIsCleared()) { 467 Handle<FixedArray> old_code_map(native_context->osr_code_table(), isolate); 468 entry = native_context [all...] |
/external/v8/src/compiler/ |
H A D | js-call-reducer.h | 38 Handle<Context> native_context, 43 native_context_(native_context), 75 Handle<Context> native_context() const { return native_context_; } function in class:v8::internal::compiler::final 37 JSCallReducer(Editor* editor, JSGraph* jsgraph, Flags flags, Handle<Context> native_context, CompilationDependencies* dependencies) argument
|
H A D | js-create-lowering.h | 38 Handle<Context> native_context, Zone* zone) 43 native_context_(native_context), 89 Handle<Context> native_context() const { return native_context_; } function in class:v8::internal::compiler::final 35 JSCreateLowering(Editor* editor, CompilationDependencies* dependencies, JSGraph* jsgraph, MaybeHandle<FeedbackVector> feedback_vector, Handle<Context> native_context, Zone* zone) argument
|
/external/v8/src/ic/ |
H A D | keyed-store-generic.cc | 47 Node* native_context, ElementsKind from_kind, 59 Node* native_context, ElementsKind packed_kind, 120 Node* receiver, Node* receiver_map, Node* elements, Node* native_context, 133 LoadContextElement(native_context, Context::ArrayMapIndex(from_kind)); 136 LoadContextElement(native_context, Context::ArrayMapIndex(to_kind))); 144 native_context, Context::ArrayMapIndex(holey_from_kind)); 147 native_context, Context::ArrayMapIndex(holey_to_kind))); 165 Node* receiver, Node* receiver_map, Node* native_context, 169 LoadContextElement(native_context, Context::ArrayMapIndex(packed_kind)); 176 LoadContextElement(native_context, Contex [all...] |
H A D | handler-compiler.cc | 53 Handle<Context> native_context = isolate()->native_context(); local 54 Handle<WeakCell> weak_cell(native_context->self_weak_cell(), isolate()); 74 Handle<Context> native_context = isolate()->native_context(); local 75 Handle<WeakCell> weak_cell(native_context->self_weak_cell(), isolate());
|
H A D | ic-inl.h | 101 if (Map::GetConstructorFunction(receiver_map, isolate->native_context()) 117 if (Map::GetConstructorFunction(map, isolate->native_context())
|
H A D | stub-cache.cc | 116 Handle<Context> native_context, 127 TypeFeedbackOracle::IsRelevantFeedback(map, *native_context)) { 146 TypeFeedbackOracle::IsRelevantFeedback(map, *native_context)) { 115 CollectMatchingMaps(SmallMapList* types, Handle<Name> name, Handle<Context> native_context, Zone* zone) argument
|