Home
last modified time | relevance | path

Searched refs:ExternalReference (Results 1 – 25 of 71) sorted by relevance

123

/external/v8/src/
Dassembler.cc729 ExternalReference::ExternalReference(Builtins::CFunctionId id, Isolate* isolate) in ExternalReference() function in v8::internal::ExternalReference
733 ExternalReference::ExternalReference( in ExternalReference() function in v8::internal::ExternalReference
735 Type type = ExternalReference::BUILTIN_CALL, in ExternalReference()
740 ExternalReference::ExternalReference(Builtins::Name name, Isolate* isolate) in ExternalReference() function in v8::internal::ExternalReference
744 ExternalReference::ExternalReference(Runtime::FunctionId id, in ExternalReference() function in v8::internal::ExternalReference
749 ExternalReference::ExternalReference(const Runtime::Function* f, in ExternalReference() function in v8::internal::ExternalReference
754 ExternalReference ExternalReference::isolate_address() { in isolate_address()
755 return ExternalReference(Isolate::Current()); in isolate_address()
759 ExternalReference::ExternalReference(const IC_Utility& ic_utility, in ExternalReference() function in v8::internal::ExternalReference
764 ExternalReference::ExternalReference(const Debug_Address& debug_address, in ExternalReference() function in v8::internal::ExternalReference
[all …]
Dassembler.h509 class ExternalReference BASE_EMBEDDED {
544 ExternalReference(Builtins::CFunctionId id, Isolate* isolate);
546 ExternalReference(ApiFunction* ptr, Type type, Isolate* isolate);
548 ExternalReference(Builtins::Name name, Isolate* isolate);
550 ExternalReference(Runtime::FunctionId id, Isolate* isolate);
552 ExternalReference(const Runtime::Function* f, Isolate* isolate);
554 ExternalReference(const IC_Utility& ic_utility, Isolate* isolate);
557 ExternalReference(const Debug_Address& debug_address, Isolate* isolate);
560 explicit ExternalReference(StatsCounter* counter);
562 ExternalReference(Isolate::AddressId id, Isolate* isolate);
[all …]
Dserialize.cc83 ExternalReference ref(static_cast<Builtins::CFunctionId>(id), isolate); in AddFromId()
88 ExternalReference ref(static_cast<Builtins::Name>(id), isolate); in AddFromId()
93 ExternalReference ref(static_cast<Runtime::FunctionId>(id), isolate); in AddFromId()
98 ExternalReference ref(IC_Utility(static_cast<IC::UtilityId>(id)), in AddFromId()
294 Add(ExternalReference::perform_gc_function(isolate).address(), in PopulateTable()
298 Add(ExternalReference::fill_heap_number_with_random_function( in PopulateTable()
303 Add(ExternalReference::random_uint32_function(isolate).address(), in PopulateTable()
307 Add(ExternalReference::delete_handle_scope_extensions(isolate).address(), in PopulateTable()
311 Add(ExternalReference:: in PopulateTable()
316 Add(ExternalReference::store_buffer_overflow_function(isolate).address(), in PopulateTable()
[all …]
/external/v8/test/cctest/
Dtest-serialize.cc86 return ExternalReference(id, i::Isolate::Current()).address(); in AddressOf()
113 ExternalReference keyed_load_function_prototype = in TEST()
114 ExternalReference(isolate->counters()->keyed_load_function_prototype()); in TEST()
117 ExternalReference stack_limit_address = in TEST()
118 ExternalReference::address_of_stack_limit(isolate); in TEST()
121 ExternalReference real_stack_limit_address = in TEST()
122 ExternalReference::address_of_real_stack_limit(isolate); in TEST()
127 encoder.Encode(ExternalReference::debug_break(isolate).address())); in TEST()
131 ExternalReference::new_space_start(isolate).address())); in TEST()
134 ExternalReference::roots_array_start(isolate).address())); in TEST()
[all …]
/external/v8/src/ia32/
Dmacro-assembler-ia32.cc95 ExternalReference store_buffer = in RememberedSetHelper()
96 ExternalReference::store_buffer_top(isolate()); in RememberedSetHelper()
132 ExternalReference zero_ref = ExternalReference::address_of_zero(); in ClampDoubleToUint8()
137 ExternalReference half_ref = ExternalReference::address_of_one_half(); in ClampDoubleToUint8()
305 mov(ebx, Immediate(ExternalReference(Runtime::kDebugBreak, isolate()))); in DebugBreak()
440 ExternalReference canonical_nan_reference = in StoreNumberToDoubleElements()
441 ExternalReference::address_of_canonical_non_hole_nan(); in StoreNumberToDoubleElements()
665 ExternalReference c_entry_fp_address(Isolate::kCEntryFPAddress, in EnterExitFramePrologue()
667 ExternalReference context_address(Isolate::kContextAddress, in EnterExitFramePrologue()
746 ExternalReference context_address(Isolate::kContextAddress, isolate()); in LeaveExitFrameEpilogue()
[all …]
Ddebug-ia32.cc132 __ mov(ebx, Immediate(ExternalReference::debug_break(masm->isolate()))); in Generate_DebugBreakCallHelper()
166 ExternalReference after_break_target = in Generate_DebugBreakCallHelper()
167 ExternalReference(Debug_Address::AfterBreakTarget(), masm->isolate()); in Generate_DebugBreakCallHelper()
304 ExternalReference restarter_frame_function_slot = in GenerateFrameDropperLiveEdit()
305 ExternalReference(Debug_Address::RestarterFrameFunctionPointer(), in GenerateFrameDropperLiveEdit()
Dregexp-macro-assembler-ia32.cc386 Immediate(ExternalReference::isolate_address())); in CheckNotBackReferenceIgnoreCase()
401 ExternalReference compare = in CheckNotBackReferenceIgnoreCase()
402 ExternalReference::re_case_insensitive_compare_uc16(masm_->isolate()); in CheckNotBackReferenceIgnoreCase()
603 ExternalReference word_map = ExternalReference::re_word_character_map(); in CheckSpecialCharacterClass()
617 ExternalReference word_map = ExternalReference::re_word_character_map(); in CheckSpecialCharacterClass()
693 ExternalReference stack_limit = in GetCode()
694 ExternalReference::address_of_stack_limit(masm_->isolate()); in GetCode()
856 Immediate(ExternalReference::isolate_address())); in GetCode()
860 ExternalReference grow_stack = in GetCode()
861 ExternalReference::re_grow_stack(masm_->isolate()); in GetCode()
[all …]
Dic-ia32.cc544 ExternalReference cache_keys = in GenerateGeneric()
545 ExternalReference::keyed_lookup_cache_keys(masm->isolate()); in GenerateGeneric()
576 ExternalReference cache_field_offsets = in GenerateGeneric()
577 ExternalReference::keyed_lookup_cache_field_offsets(masm->isolate()); in GenerateGeneric()
694 ExternalReference ref = in GenerateIndexedInterceptor()
695 ExternalReference(IC_Utility(kKeyedLoadPropertyWithInterceptor), in GenerateIndexedInterceptor()
1081 __ mov(ebx, Immediate(ExternalReference(IC_Utility(id), masm->isolate()))); in GenerateMiss()
1362 ExternalReference ref = in GenerateMiss()
1363 ExternalReference(IC_Utility(kLoadIC_Miss), masm->isolate()); in GenerateMiss()
1383 ExternalReference ref = force_generic in GenerateMiss()
[all …]
/external/v8/src/x64/
Ddebug-x64.cc134 __ movq(rbx, ExternalReference::debug_break(masm->isolate())); in Generate_DebugBreakCallHelper()
172 ExternalReference after_break_target = in Generate_DebugBreakCallHelper()
173 ExternalReference(Debug_Address::AfterBreakTarget(), masm->isolate()); in Generate_DebugBreakCallHelper()
309 ExternalReference restarter_frame_function_slot = in GenerateFrameDropperLiveEdit()
310 ExternalReference(Debug_Address::RestarterFrameFunctionPointer(), in GenerateFrameDropperLiveEdit()
Dregexp-macro-assembler-x64.cc421 __ LoadAddress(r9, ExternalReference::isolate_address()); in CheckNotBackReferenceIgnoreCase()
432 __ LoadAddress(rcx, ExternalReference::isolate_address()); in CheckNotBackReferenceIgnoreCase()
438 ExternalReference compare = in CheckNotBackReferenceIgnoreCase()
439 ExternalReference::re_case_insensitive_compare_uc16(masm_.isolate()); in CheckNotBackReferenceIgnoreCase()
667 __ movq(rbx, ExternalReference::re_word_character_map()); in CheckSpecialCharacterClass()
681 __ movq(rbx, ExternalReference::re_word_character_map()); in CheckSpecialCharacterClass()
760 ExternalReference stack_limit = in GetCode()
761 ExternalReference::address_of_stack_limit(masm_.isolate()); in GetCode()
941 __ LoadAddress(r8, ExternalReference::isolate_address()); in GetCode()
946 __ LoadAddress(rdx, ExternalReference::isolate_address()); in GetCode()
[all …]
Dmacro-assembler-x64.h114 Operand ExternalOperand(ExternalReference reference,
122 void Load(Register destination, ExternalReference source);
123 void Store(ExternalReference destination, Register source);
126 void LoadAddress(Register destination, ExternalReference source);
129 int LoadAddressSize(ExternalReference source);
322 ExternalReference roots_array_start = in InitializeRootRegister()
323 ExternalReference::roots_array_start(isolate()); in InitializeRootRegister()
811 void Jump(ExternalReference ext);
815 void Call(ExternalReference ext);
824 int CallSize(ExternalReference ext);
[all …]
Dmacro-assembler-x64.cc56 static intptr_t RootRegisterDelta(ExternalReference other, Isolate* isolate) { in RootRegisterDelta()
64 Operand MacroAssembler::ExternalOperand(ExternalReference target, in ExternalOperand()
78 void MacroAssembler::Load(Register destination, ExternalReference source) { in Load()
97 void MacroAssembler::Store(ExternalReference destination, Register source) { in Store()
117 ExternalReference source) { in LoadAddress()
131 int MacroAssembler::LoadAddressSize(ExternalReference source) { in LoadAddressSize()
255 movq(kScratchRegister, ExternalReference::new_space_mask(isolate())); in InNewSpace()
258 movq(scratch, ExternalReference::new_space_mask(isolate())); in InNewSpace()
261 movq(kScratchRegister, ExternalReference::new_space_start(isolate())); in InNewSpace()
586 LoadAddress(rbx, ExternalReference(function, isolate())); in CallRuntimeSaveDoubles()
[all …]
Dic-x64.cc473 ExternalReference cache_keys in GenerateGeneric()
474 = ExternalReference::keyed_lookup_cache_keys(masm->isolate()); in GenerateGeneric()
496 ExternalReference cache_field_offsets in GenerateGeneric()
497 = ExternalReference::keyed_lookup_cache_field_offsets(masm->isolate()); in GenerateGeneric()
617 ExternalReference(IC_Utility(kKeyedLoadPropertyWithInterceptor), in GenerateIndexedInterceptor()
960 __ LoadAddress(rbx, ExternalReference(IC_Utility(id), masm->isolate())); in GenerateMiss()
1380 ExternalReference ref = in GenerateMiss()
1381 ExternalReference(IC_Utility(kLoadIC_Miss), masm->isolate()); in GenerateMiss()
1402 ExternalReference ref = force_generic in GenerateMiss()
1403 ? ExternalReference(IC_Utility(kKeyedLoadIC_MissForceGeneric), in GenerateMiss()
[all …]
/external/v8/src/arm/
Dregexp-macro-assembler-arm.cc372 __ mov(r3, Operand(ExternalReference::isolate_address())); in CheckNotBackReferenceIgnoreCase()
376 ExternalReference function = in CheckNotBackReferenceIgnoreCase()
377 ExternalReference::re_case_insensitive_compare_uc16(masm_->isolate()); in CheckNotBackReferenceIgnoreCase()
571 ExternalReference map = ExternalReference::re_word_character_map(); in CheckSpecialCharacterClass()
585 ExternalReference map = ExternalReference::re_word_character_map(); in CheckSpecialCharacterClass()
641 ExternalReference stack_limit = in GetCode()
642 ExternalReference::address_of_stack_limit(masm_->isolate()); in GetCode()
797 __ mov(r2, Operand(ExternalReference::isolate_address())); in GetCode()
798 ExternalReference grow_stack = in GetCode()
799 ExternalReference::re_grow_stack(masm_->isolate()); in GetCode()
[all …]
Dmacro-assembler-arm.cc428 and_(scratch, object, Operand(ExternalReference::new_space_mask(isolate()))); in InNewSpace()
429 cmp(scratch, Operand(ExternalReference::new_space_start(isolate()))); in InNewSpace()
558 ExternalReference store_buffer = in RememberedSetHelper()
559 ExternalReference::store_buffer_top(isolate()); in RememberedSetHelper()
836 mov(ip, Operand(ExternalReference(Isolate::kCEntryFPAddress, isolate()))); in EnterExitFrame()
838 mov(ip, Operand(ExternalReference(Isolate::kContextAddress, isolate()))); in EnterExitFrame()
914 mov(ip, Operand(ExternalReference(Isolate::kCEntryFPAddress, isolate()))); in LeaveExitFrame()
918 mov(ip, Operand(ExternalReference(Isolate::kContextAddress, isolate()))); in LeaveExitFrame()
1183 mov(r1, Operand(ExternalReference(Runtime::kDebugBreak, isolate()))); in DebugBreak()
1220 mov(r6, Operand(ExternalReference(Isolate::kHandlerAddress, isolate()))); in PushTryHandler()
[all …]
Dic-arm.cc516 __ mov(r1, Operand(ExternalReference(IC_Utility(id), isolate))); in GenerateMiss()
752 ExternalReference ref = in GenerateMiss()
753 ExternalReference(IC_Utility(kLoadIC_Miss), isolate); in GenerateMiss()
941 ExternalReference ref = force_generic in GenerateMiss()
942 ? ExternalReference(IC_Utility(kKeyedLoadIC_MissForceGeneric), isolate) in GenerateMiss()
943 : ExternalReference(IC_Utility(kKeyedLoadIC_Miss), isolate); in GenerateMiss()
1042 ExternalReference cache_keys = in GenerateGeneric()
1043 ExternalReference::keyed_lookup_cache_keys(isolate); in GenerateGeneric()
1073 ExternalReference cache_field_offsets = in GenerateGeneric()
1074 ExternalReference::keyed_lookup_cache_field_offsets(isolate); in GenerateGeneric()
[all …]
Ddebug-arm.cc163 __ mov(r1, Operand(ExternalReference::debug_break(masm->isolate()))); in Generate_DebugBreakCallHelper()
190 ExternalReference after_break_target = in Generate_DebugBreakCallHelper()
191 ExternalReference(Debug_Address::AfterBreakTarget(), masm->isolate()); in Generate_DebugBreakCallHelper()
Dsimulator-arm.cc732 ::v8::internal::ExternalReference::set_redirector(isolate, in Initialize()
805 Redirection(void* external_function, ExternalReference::Type type) in Redirection()
824 ExternalReference::Type type() { return type_; } in type()
827 ExternalReference::Type type) { in Get()
846 ExternalReference::Type type_;
852 ExternalReference::Type type) { in RedirectExternalReference()
1745 (redirection->type() == ExternalReference::BUILTIN_FP_FP_CALL) || in SoftwareInterrupt()
1746 (redirection->type() == ExternalReference::BUILTIN_COMPARE_CALL) || in SoftwareInterrupt()
1747 (redirection->type() == ExternalReference::BUILTIN_FP_CALL) || in SoftwareInterrupt()
1748 (redirection->type() == ExternalReference::BUILTIN_FP_INT_CALL); in SoftwareInterrupt()
[all …]
Dmacro-assembler-arm.h519 ExternalReference roots_array_start = in InitializeRootRegister()
520 ExternalReference::roots_array_start(isolate()); in InitializeRootRegister()
984 void CallExternalReference(const ExternalReference& ext,
990 void TailCallExternalReference(const ExternalReference& ext,
1031 void CallCFunction(ExternalReference function, int num_arguments);
1033 void CallCFunction(ExternalReference function,
1046 void CallApiFunctionAndReturn(ExternalReference function, int stack_space);
1049 void JumpToExternalReference(const ExternalReference& builtin);
/external/v8/src/mips/
Dregexp-macro-assembler-mips.cc378 __ li(a3, Operand(ExternalReference::isolate_address())); in CheckNotBackReferenceIgnoreCase()
382 ExternalReference function = in CheckNotBackReferenceIgnoreCase()
383 ExternalReference::re_case_insensitive_compare_uc16(masm_->isolate()); in CheckNotBackReferenceIgnoreCase()
562 ExternalReference map = ExternalReference::re_word_character_map(); in CheckSpecialCharacterClass()
575 ExternalReference map = ExternalReference::re_word_character_map(); in CheckSpecialCharacterClass()
638 ExternalReference stack_limit = in GetCode()
639 ExternalReference::address_of_stack_limit(masm_->isolate()); in GetCode()
804 __ li(a2, Operand(ExternalReference::isolate_address())); in GetCode()
805 ExternalReference grow_stack = in GetCode()
806 ExternalReference::re_grow_stack(masm_->isolate()); in GetCode()
[all …]
Dic-mips.cc516 __ PrepareCEntryFunction(ExternalReference(IC_Utility(id), isolate)); in GenerateMiss()
748 ExternalReference ref = ExternalReference(IC_Utility(kLoadIC_Miss), isolate); in GenerateMiss()
942 ExternalReference ref = force_generic in GenerateMiss()
943 ? ExternalReference(IC_Utility(kKeyedLoadIC_MissForceGeneric), isolate) in GenerateMiss()
944 : ExternalReference(IC_Utility(kKeyedLoadIC_Miss), isolate); in GenerateMiss()
1046 ExternalReference cache_keys = in GenerateGeneric()
1047 ExternalReference::keyed_lookup_cache_keys(isolate); in GenerateGeneric()
1071 ExternalReference cache_field_offsets = in GenerateGeneric()
1072 ExternalReference::keyed_lookup_cache_field_offsets(isolate); in GenerateGeneric()
1417 __ TailCallExternalReference(ExternalReference( in GenerateIndexedInterceptor()
[all …]
Dsimulator-mips.cc879 ::v8::internal::ExternalReference::set_redirector(isolate, in Initialize()
936 Redirection(void* external_function, ExternalReference::Type type) in Redirection()
955 ExternalReference::Type type() { return type_; } in type()
958 ExternalReference::Type type) { in Get()
977 ExternalReference::Type type_;
983 ExternalReference::Type type) { in RedirectExternalReference()
1434 (redirection->type() == ExternalReference::BUILTIN_FP_FP_CALL) || in SoftwareInterrupt()
1435 (redirection->type() == ExternalReference::BUILTIN_COMPARE_CALL) || in SoftwareInterrupt()
1436 (redirection->type() == ExternalReference::BUILTIN_FP_CALL) || in SoftwareInterrupt()
1437 (redirection->type() == ExternalReference::BUILTIN_FP_INT_CALL); in SoftwareInterrupt()
[all …]
Dmacro-assembler-mips.cc181 And(scratch, object, Operand(ExternalReference::new_space_mask(isolate()))); in InNewSpace()
183 Operand(ExternalReference::new_space_start(isolate()))); in InNewSpace()
313 ExternalReference store_buffer = in RememberedSetHelper()
314 ExternalReference::store_buffer_top(isolate()); in RememberedSetHelper()
922 CallCFunction(ExternalReference::flush_icache_function(isolate()), 2); in FlushICache()
2735 PrepareCEntryFunction(ExternalReference(Runtime::kDebugBreak, isolate())); in DebugBreak()
2779 li(t2, Operand(ExternalReference(Isolate::kHandlerAddress, isolate()))); in PushTryHandler()
2791 li(at, Operand(ExternalReference(Isolate::kHandlerAddress, isolate()))); in PopTryHandler()
2826 li(a3, Operand(ExternalReference(Isolate::kHandlerAddress, in Throw()
2864 li(a3, Operand(ExternalReference(Isolate::kHandlerAddress, isolate()))); in ThrowUncatchable()
[all …]
Dmacro-assembler-mips.h833 ExternalReference roots_array_start = in InitializeRootRegister()
834 ExternalReference::roots_array_start(isolate()); in InitializeRootRegister()
1115 inline void PrepareCEntryFunction(const ExternalReference& ref) { in PrepareCEntryFunction()
1139 void CallExternalReference(const ExternalReference& ext,
1146 void TailCallExternalReference(const ExternalReference& ext,
1182 void CallCFunction(ExternalReference function, int num_arguments);
1184 void CallCFunction(ExternalReference function,
1204 void CallApiFunctionAndReturn(ExternalReference function, int stack_space);
1207 void JumpToExternalReference(const ExternalReference& builtin,
Ddebug-mips.cc156 __ PrepareCEntryFunction(ExternalReference::debug_break(masm->isolate())); in Generate_DebugBreakCallHelper()
184 ExternalReference(Debug_Address::AfterBreakTarget(), masm->isolate()))); in Generate_DebugBreakCallHelper()

123