Lines Matching refs:masm
34 #define __ ACCESS_MASM(masm)
38 static void AssertCodeIsBaseline(MacroAssembler* masm, Register code, in AssertCodeIsBaseline() argument
48 static void GetSharedFunctionInfoBytecodeOrBaseline(MacroAssembler* masm, in GetSharedFunctionInfoBytecodeOrBaseline() argument
53 ASM_CODE_COMMENT(masm); in GetSharedFunctionInfoBytecodeOrBaseline()
59 AssertCodeIsBaseline(masm, sfi_data, scratch1); in GetSharedFunctionInfoBytecodeOrBaseline()
74 void Generate_OSREntry(MacroAssembler* masm, Register entry_address, in Generate_OSREntry() argument
86 void ResetBytecodeAgeAndOsrState(MacroAssembler* masm, Register bytecode_array, in ResetBytecodeAgeAndOsrState() argument
102 void Generate_BaselineOrInterpreterEntry(MacroAssembler* masm, in Generate_BaselineOrInterpreterEntry() argument
132 __ Jump(masm->isolate()->builtins()->code_handle(builtin_id), in Generate_BaselineOrInterpreterEntry()
143 AssertCodeIsBaseline(masm, code_obj, r5); in Generate_BaselineOrInterpreterEntry()
211 FrameScope scope(masm, StackFrame::INTERNAL); in Generate_BaselineOrInterpreterEntry()
221 ResetBytecodeAgeAndOsrState(masm, kInterpreterBytecodeArrayRegister, r1); in Generate_BaselineOrInterpreterEntry()
222 Generate_OSREntry(masm, code_obj, Code::kHeaderSize - kHeapObjectTag); in Generate_BaselineOrInterpreterEntry()
243 FrameScope scope(masm, StackFrame::INTERNAL); in Generate_BaselineOrInterpreterEntry()
258 void OnStackReplacement(MacroAssembler* masm, OsrSourceTier source) { in OnStackReplacement() argument
259 ASM_CODE_COMMENT(masm); in OnStackReplacement()
261 FrameScope scope(masm, StackFrame::INTERNAL); in OnStackReplacement()
294 Generate_OSREntry(masm, r2, Code::kHeaderSize - kHeapObjectTag); in OnStackReplacement()
299 void Builtins::Generate_Adaptor(MacroAssembler* masm, Address address) { in Generate_Adaptor() argument
301 __ Jump(BUILTIN_CODE(masm->isolate(), AdaptorWithBuiltinExitFrame), in Generate_Adaptor()
305 static void GenerateTailCallToReturnedCode(MacroAssembler* masm, in GenerateTailCallToReturnedCode() argument
313 FrameAndConstantPoolScope scope(masm, StackFrame::INTERNAL); in GenerateTailCallToReturnedCode()
340 void Generate_PushArguments(MacroAssembler* masm, Register array, Register argc, in Generate_PushArguments() argument
361 void Generate_JSBuiltinsConstructStubHelper(MacroAssembler* masm) { in Generate_JSBuiltinsConstructStubHelper() argument
378 FrameAndConstantPoolScope scope(masm, StackFrame::CONSTRUCT); in Generate_JSBuiltinsConstructStubHelper()
396 Generate_PushArguments(masm, r6, r2, r1, ArgumentsElementType::kRaw); in Generate_JSBuiltinsConstructStubHelper()
422 FrameScope scope(masm, StackFrame::INTERNAL); in Generate_JSBuiltinsConstructStubHelper()
431 void Builtins::Generate_JSConstructStubGeneric(MacroAssembler* masm) { in Generate_JSConstructStubGeneric() argument
441 FrameScope scope(masm, StackFrame::MANUAL); in Generate_JSConstructStubGeneric()
470 __ IncrementCounter(masm->isolate()->counters()->constructed_objects(), 1, r6, in Generate_JSConstructStubGeneric()
472 __ Call(BUILTIN_CODE(masm->isolate(), FastNewObject), RelocInfo::CODE_TARGET); in Generate_JSConstructStubGeneric()
488 masm->isolate()->heap()->SetConstructStubCreateDeoptPCOffset( in Generate_JSConstructStubGeneric()
489 masm->pc_offset()); in Generate_JSConstructStubGeneric()
529 Generate_PushArguments(masm, r6, r2, r1, ArgumentsElementType::kRaw); in Generate_JSConstructStubGeneric()
547 masm->isolate()->heap()->SetConstructStubInvokeDeoptPCOffset( in Generate_JSConstructStubGeneric()
548 masm->pc_offset()); in Generate_JSConstructStubGeneric()
603 void Builtins::Generate_JSBuiltinsConstructStub(MacroAssembler* masm) { in Generate_JSBuiltinsConstructStub() argument
604 Generate_JSBuiltinsConstructStubHelper(masm); in Generate_JSBuiltinsConstructStub()
608 void Builtins::Generate_ResumeGeneratorTrampoline(MacroAssembler* masm) { in Generate_ResumeGeneratorTrampoline() argument
634 ExternalReference::debug_hook_on_function_call_address(masm->isolate()); in Generate_ResumeGeneratorTrampoline()
643 ExternalReference::debug_suspended_generator_address(masm->isolate()); in Generate_ResumeGeneratorTrampoline()
701 GetSharedFunctionInfoBytecodeOrBaseline(masm, r5, ip, &is_baseline); in Generate_ResumeGeneratorTrampoline()
726 FrameAndConstantPoolScope scope(masm, StackFrame::INTERNAL); in Generate_ResumeGeneratorTrampoline()
739 FrameAndConstantPoolScope scope(masm, StackFrame::INTERNAL); in Generate_ResumeGeneratorTrampoline()
750 FrameScope scope(masm, StackFrame::INTERNAL); in Generate_ResumeGeneratorTrampoline()
756 void Builtins::Generate_ConstructedNonConstructable(MacroAssembler* masm) { in Generate_ConstructedNonConstructable() argument
757 FrameAndConstantPoolScope scope(masm, StackFrame::INTERNAL); in Generate_ConstructedNonConstructable()
779 void Generate_JSEntryVariant(MacroAssembler* masm, StackFrame::Type type, in Generate_JSEntryVariant() argument
796 NoRootArrayScope no_root_array(masm); in Generate_JSEntryVariant()
851 masm->isolate())); in Generate_JSEntryVariant()
879 masm->isolate()); in Generate_JSEntryVariant()
901 masm->isolate()->builtins()->SetJSEntryHandlerOffset(handler_entry.pos()); in Generate_JSEntryVariant()
909 masm->isolate())); in Generate_JSEntryVariant()
931 masm->isolate()->builtins()->code_handle(entry_trampoline); in Generate_JSEntryVariant()
953 masm->isolate())); in Generate_JSEntryVariant()
988 void Builtins::Generate_JSEntry(MacroAssembler* masm) { in Generate_JSEntry() argument
989 Generate_JSEntryVariant(masm, StackFrame::ENTRY, Builtin::kJSEntryTrampoline); in Generate_JSEntry()
992 void Builtins::Generate_JSConstructEntry(MacroAssembler* masm) { in Generate_JSConstructEntry() argument
993 Generate_JSEntryVariant(masm, StackFrame::CONSTRUCT_ENTRY, in Generate_JSConstructEntry()
997 void Builtins::Generate_JSRunMicrotasksEntry(MacroAssembler* masm) { in Generate_JSRunMicrotasksEntry() argument
998 Generate_JSEntryVariant(masm, StackFrame::ENTRY, in Generate_JSRunMicrotasksEntry()
1002 static void Generate_JSEntryTrampolineHelper(MacroAssembler* masm, in Generate_JSEntryTrampolineHelper() argument
1026 FrameScope scope(masm, StackFrame::INTERNAL); in Generate_JSEntryTrampolineHelper()
1030 IsolateAddressId::kContextAddress, masm->isolate()); in Generate_JSEntryTrampolineHelper()
1059 Generate_PushArguments(masm, r6, r2, r1, ArgumentsElementType::kHandle); in Generate_JSEntryTrampolineHelper()
1081 ? BUILTIN_CODE(masm->isolate(), Construct) in Generate_JSEntryTrampolineHelper()
1082 : masm->isolate()->builtins()->Call(); in Generate_JSEntryTrampolineHelper()
1093 void Builtins::Generate_JSEntryTrampoline(MacroAssembler* masm) { in Generate_JSEntryTrampoline() argument
1094 Generate_JSEntryTrampolineHelper(masm, false); in Generate_JSEntryTrampoline()
1097 void Builtins::Generate_JSConstructEntryTrampoline(MacroAssembler* masm) { in Generate_JSConstructEntryTrampoline() argument
1098 Generate_JSEntryTrampolineHelper(masm, true); in Generate_JSConstructEntryTrampoline()
1101 void Builtins::Generate_RunMicrotasksTrampoline(MacroAssembler* masm) { in Generate_RunMicrotasksTrampoline() argument
1108 __ Jump(BUILTIN_CODE(masm->isolate(), RunMicrotasks), RelocInfo::CODE_TARGET); in Generate_RunMicrotasksTrampoline()
1111 static void ReplaceClosureCodeWithOptimizedCode(MacroAssembler* masm, in ReplaceClosureCodeWithOptimizedCode() argument
1131 static void LeaveInterpreterFrame(MacroAssembler* masm, Register scratch1, in LeaveInterpreterFrame() argument
1163 static void TailCallRuntimeIfStateEquals(MacroAssembler* masm, in TailCallRuntimeIfStateEquals() argument
1170 GenerateTailCallToReturnedCode(masm, function_id); in TailCallRuntimeIfStateEquals()
1174 static void TailCallOptimizedCodeSlot(MacroAssembler* masm, in TailCallOptimizedCodeSlot() argument
1204 ReplaceClosureCodeWithOptimizedCode(masm, optimized_code_entry, closure, in TailCallOptimizedCodeSlot()
1214 GenerateTailCallToReturnedCode(masm, Runtime::kHealOptimizedCodeSlot); in TailCallOptimizedCodeSlot()
1217 static void MaybeOptimizeCode(MacroAssembler* masm, Register feedback_vector, in MaybeOptimizeCode() argument
1229 TailCallRuntimeIfStateEquals(masm, tiering_state, in MaybeOptimizeCode()
1232 TailCallRuntimeIfStateEquals(masm, tiering_state, in MaybeOptimizeCode()
1244 static void AdvanceBytecodeOffsetOrReturn(MacroAssembler* masm, in AdvanceBytecodeOffsetOrReturn() argument
1320 MacroAssembler* masm, Register optimization_state, in MaybeOptimizeCodeOrTailCallOptimizedCodeSlot() argument
1331 MaybeOptimizeCode(masm, feedback_vector, tiering_state); in MaybeOptimizeCodeOrTailCallOptimizedCodeSlot()
1339 TailCallOptimizedCodeSlot(masm, optimized_code_entry, r8); in MaybeOptimizeCodeOrTailCallOptimizedCodeSlot()
1345 MacroAssembler* masm, Register optimization_state, Register feedback_vector, in LoadTieringStateAndJumpIfNeedsProcessing() argument
1347 ASM_CODE_COMMENT(masm); in LoadTieringStateAndJumpIfNeedsProcessing()
1362 void Builtins::Generate_BaselineOutOfLinePrologue(MacroAssembler* masm) { in Generate_BaselineOutOfLinePrologue() argument
1390 LoadTieringStateAndJumpIfNeedsProcessing(masm, optimization_state, in Generate_BaselineOutOfLinePrologue()
1407 FrameScope frame_scope(masm, StackFrame::MANUAL); in Generate_BaselineOutOfLinePrologue()
1409 ASM_CODE_COMMENT_STRING(masm, "Frame Setup"); in Generate_BaselineOutOfLinePrologue()
1428 ResetBytecodeAgeAndOsrState(masm, bytecodeArray, r1); in Generate_BaselineOutOfLinePrologue()
1447 ASM_CODE_COMMENT_STRING(masm, "Stack/interrupt check"); in Generate_BaselineOutOfLinePrologue()
1468 ASM_CODE_COMMENT_STRING(masm, "Optimized marker check"); in Generate_BaselineOutOfLinePrologue()
1472 MaybeOptimizeCodeOrTailCallOptimizedCodeSlot(masm, optimization_state, in Generate_BaselineOutOfLinePrologue()
1479 ASM_CODE_COMMENT_STRING(masm, "Stack/interrupt call"); in Generate_BaselineOutOfLinePrologue()
1480 FrameScope frame_scope(masm, StackFrame::INTERNAL); in Generate_BaselineOutOfLinePrologue()
1510 void Builtins::Generate_InterpreterEntryTrampoline(MacroAssembler* masm) { in Generate_InterpreterEntryTrampoline() argument
1525 masm, kInterpreterBytecodeArrayRegister, ip, &is_baseline); in Generate_InterpreterEntryTrampoline()
1577 FrameScope frame_scope(masm, StackFrame::MANUAL); in Generate_InterpreterEntryTrampoline()
1580 ResetBytecodeAgeAndOsrState(masm, kInterpreterBytecodeArrayRegister, r1); in Generate_InterpreterEntryTrampoline()
1646 ExternalReference::interpreter_dispatch_table_address(masm->isolate())); in Generate_InterpreterEntryTrampoline()
1655 masm->isolate()->heap()->SetInterpreterEntryReturnPCOffset(masm->pc_offset()); in Generate_InterpreterEntryTrampoline()
1671 AdvanceBytecodeOffsetOrReturn(masm, kInterpreterBytecodeArrayRegister, in Generate_InterpreterEntryTrampoline()
1678 LeaveInterpreterFrame(masm, r4, r6); in Generate_InterpreterEntryTrampoline()
1707 MaybeOptimizeCodeOrTailCallOptimizedCodeSlot(masm, optimization_state, in Generate_InterpreterEntryTrampoline()
1729 LoadTieringStateAndJumpIfNeedsProcessing(masm, optimization_state, in Generate_InterpreterEntryTrampoline()
1736 ReplaceClosureCodeWithOptimizedCode(masm, r4, closure, ip, r1); in Generate_InterpreterEntryTrampoline()
1740 GenerateTailCallToReturnedCode(masm, Runtime::kInstallBaselineCode); in Generate_InterpreterEntryTrampoline()
1744 GenerateTailCallToReturnedCode(masm, Runtime::kCompileLazy); in Generate_InterpreterEntryTrampoline()
1751 static void GenerateInterpreterPushArgs(MacroAssembler* masm, Register num_args, in GenerateInterpreterPushArgs() argument
1754 ASM_CODE_COMMENT(masm); in GenerateInterpreterPushArgs()
1765 MacroAssembler* masm, ConvertReceiverMode receiver_mode, in Generate_InterpreterPushArgsThenCallImpl() argument
1790 GenerateInterpreterPushArgs(masm, r5, r4, r6); in Generate_InterpreterPushArgsThenCallImpl()
1805 __ Jump(BUILTIN_CODE(masm->isolate(), CallWithSpread), in Generate_InterpreterPushArgsThenCallImpl()
1808 __ Jump(masm->isolate()->builtins()->Call(ConvertReceiverMode::kAny), in Generate_InterpreterPushArgsThenCallImpl()
1822 MacroAssembler* masm, InterpreterPushArgsMode mode) { in Generate_InterpreterPushArgsThenConstructImpl() argument
1841 GenerateInterpreterPushArgs(masm, argc_without_receiver, r6, r7); in Generate_InterpreterPushArgsThenConstructImpl()
1862 Handle<Code> code = BUILTIN_CODE(masm->isolate(), ArrayConstructorImpl); in Generate_InterpreterPushArgsThenConstructImpl()
1866 __ Jump(BUILTIN_CODE(masm->isolate(), ConstructWithSpread), in Generate_InterpreterPushArgsThenConstructImpl()
1871 __ Jump(BUILTIN_CODE(masm->isolate(), Construct), RelocInfo::CODE_TARGET); in Generate_InterpreterPushArgsThenConstructImpl()
1882 static void Generate_InterpreterEnterBytecode(MacroAssembler* masm) { in Generate_InterpreterEnterBytecode() argument
1887 masm->isolate()->heap()->interpreter_entry_return_pc_offset()); in Generate_InterpreterEnterBytecode()
1912 masm->isolate())); in Generate_InterpreterEnterBytecode()
1921 ExternalReference::interpreter_dispatch_table_address(masm->isolate())); in Generate_InterpreterEnterBytecode()
1953 UseScratchRegisterScope temps(masm); in Generate_InterpreterEnterBytecode()
1963 void Builtins::Generate_InterpreterEnterAtNextBytecode(MacroAssembler* masm) { in Generate_InterpreterEnterAtNextBytecode() argument
1983 AdvanceBytecodeOffsetOrReturn(masm, kInterpreterBytecodeArrayRegister, in Generate_InterpreterEnterAtNextBytecode()
1993 Generate_InterpreterEnterBytecode(masm); in Generate_InterpreterEnterAtNextBytecode()
2009 void Builtins::Generate_InterpreterEnterAtBytecode(MacroAssembler* masm) { in Generate_InterpreterEnterAtBytecode() argument
2010 Generate_InterpreterEnterBytecode(masm); in Generate_InterpreterEnterAtBytecode()
2014 void Generate_ContinueToBuiltinHelper(MacroAssembler* masm, in Generate_ContinueToBuiltinHelper() argument
2058 UseScratchRegisterScope temps(masm); in Generate_ContinueToBuiltinHelper()
2070 void Builtins::Generate_ContinueToCodeStubBuiltin(MacroAssembler* masm) { in Generate_ContinueToCodeStubBuiltin() argument
2071 Generate_ContinueToBuiltinHelper(masm, false, false); in Generate_ContinueToCodeStubBuiltin()
2075 MacroAssembler* masm) { in Generate_ContinueToCodeStubBuiltinWithResult() argument
2076 Generate_ContinueToBuiltinHelper(masm, false, true); in Generate_ContinueToCodeStubBuiltinWithResult()
2079 void Builtins::Generate_ContinueToJavaScriptBuiltin(MacroAssembler* masm) { in Generate_ContinueToJavaScriptBuiltin() argument
2080 Generate_ContinueToBuiltinHelper(masm, true, false); in Generate_ContinueToJavaScriptBuiltin()
2084 MacroAssembler* masm) { in Generate_ContinueToJavaScriptBuiltinWithResult() argument
2085 Generate_ContinueToBuiltinHelper(masm, true, true); in Generate_ContinueToJavaScriptBuiltinWithResult()
2088 void Builtins::Generate_NotifyDeoptimized(MacroAssembler* masm) { in Generate_NotifyDeoptimized() argument
2090 FrameScope scope(masm, StackFrame::INTERNAL); in Generate_NotifyDeoptimized()
2100 void Builtins::Generate_FunctionPrototypeApply(MacroAssembler* masm) { in Generate_FunctionPrototypeApply() argument
2145 __ Jump(BUILTIN_CODE(masm->isolate(), CallWithArrayLike), in Generate_FunctionPrototypeApply()
2153 __ Jump(masm->isolate()->builtins()->Call(), RelocInfo::CODE_TARGET); in Generate_FunctionPrototypeApply()
2158 void Builtins::Generate_FunctionPrototypeCall(MacroAssembler* masm) { in Generate_FunctionPrototypeCall() argument
2177 __ Jump(masm->isolate()->builtins()->Call(), RelocInfo::CODE_TARGET); in Generate_FunctionPrototypeCall()
2180 void Builtins::Generate_ReflectApply(MacroAssembler* masm) { in Generate_ReflectApply() argument
2225 __ Jump(BUILTIN_CODE(masm->isolate(), CallWithArrayLike), in Generate_ReflectApply()
2229 void Builtins::Generate_ReflectConstruct(MacroAssembler* masm) { in Generate_ReflectConstruct() argument
2280 __ Jump(BUILTIN_CODE(masm->isolate(), ConstructWithArrayLike), in Generate_ReflectConstruct()
2291 MacroAssembler* masm, Register count, Register argc_in_out, in Generate_AllocateSpaceAndShiftExistingArguments() argument
2326 void Builtins::Generate_CallOrConstructVarargs(MacroAssembler* masm, in Generate_CallOrConstructVarargs() argument
2368 Generate_AllocateSpaceAndShiftExistingArguments(masm, r6, r2, r7, ip, r8); in Generate_CallOrConstructVarargs()
2399 void Builtins::Generate_CallOrConstructForwardVarargs(MacroAssembler* masm, in Generate_CallOrConstructForwardVarargs() argument
2421 FrameScope scope(masm, StackFrame::MANUAL); in Generate_CallOrConstructForwardVarargs()
2462 Generate_AllocateSpaceAndShiftExistingArguments(masm, r7, r2, r4, scratch, in Generate_CallOrConstructForwardVarargs()
2491 void Builtins::Generate_CallFunction(MacroAssembler* masm, in Generate_CallFunction() argument
2548 FrameAndConstantPoolScope scope(masm, StackFrame::INTERNAL); in Generate_CallFunction()
2553 __ Call(BUILTIN_CODE(masm->isolate(), ToObject), in Generate_CallFunction()
2582 void Generate_PushBoundArguments(MacroAssembler* masm) { in Generate_PushBoundArguments() argument
2618 FrameScope scope(masm, StackFrame::MANUAL); in Generate_PushBoundArguments()
2653 void Builtins::Generate_CallBoundFunctionImpl(MacroAssembler* masm) { in Generate_CallBoundFunctionImpl() argument
2666 Generate_PushBoundArguments(masm); in Generate_CallBoundFunctionImpl()
2671 __ Jump(BUILTIN_CODE(masm->isolate(), Call_ReceiverIsAny), in Generate_CallBoundFunctionImpl()
2676 void Builtins::Generate_Call(MacroAssembler* masm, ConvertReceiverMode mode) { in Generate_Call() argument
2693 __ Jump(masm->isolate()->builtins()->CallFunction(mode), in Generate_Call()
2696 __ Jump(BUILTIN_CODE(masm->isolate(), CallBoundFunction), in Generate_Call()
2710 __ Jump(BUILTIN_CODE(masm->isolate(), CallProxy), RelocInfo::CODE_TARGET, eq); in Generate_Call()
2715 __ Jump(BUILTIN_CODE(masm->isolate(), CallWrappedFunction), in Generate_Call()
2729 __ Jump(masm->isolate()->builtins()->CallFunction( in Generate_Call()
2736 FrameAndConstantPoolScope scope(masm, StackFrame::INTERNAL); in Generate_Call()
2745 FrameAndConstantPoolScope scope(masm, StackFrame::INTERNAL); in Generate_Call()
2753 void Builtins::Generate_ConstructFunction(MacroAssembler* masm) { in Generate_ConstructFunction() argument
2775 __ Jump(BUILTIN_CODE(masm->isolate(), JSBuiltinsConstructStub), in Generate_ConstructFunction()
2779 __ Jump(BUILTIN_CODE(masm->isolate(), JSConstructStubGeneric), in Generate_ConstructFunction()
2784 void Builtins::Generate_ConstructBoundFunction(MacroAssembler* masm) { in Generate_ConstructBoundFunction() argument
2794 Generate_PushBoundArguments(masm); in Generate_ConstructBoundFunction()
2807 __ Jump(BUILTIN_CODE(masm->isolate(), Construct), RelocInfo::CODE_TARGET); in Generate_ConstructBoundFunction()
2811 void Builtins::Generate_Construct(MacroAssembler* masm) { in Generate_Construct() argument
2842 __ Jump(BUILTIN_CODE(masm->isolate(), ConstructFunction), in Generate_Construct()
2848 __ Jump(BUILTIN_CODE(masm->isolate(), ConstructBoundFunction), in Generate_Construct()
2854 __ Jump(BUILTIN_CODE(masm->isolate(), ConstructProxy), in Generate_Construct()
2865 __ Jump(masm->isolate()->builtins()->CallFunction(), in Generate_Construct()
2872 __ Jump(BUILTIN_CODE(masm->isolate(), ConstructedNonConstructable), in Generate_Construct()
2877 void Builtins::Generate_WasmCompileLazy(MacroAssembler* masm) { in Generate_WasmCompileLazy() argument
2883 HardAbortScope hard_abort(masm); // Avoid calls to Abort. in Generate_WasmCompileLazy()
2884 FrameAndConstantPoolScope scope(masm, StackFrame::WASM_COMPILE_LAZY); in Generate_WasmCompileLazy()
2941 void Builtins::Generate_WasmDebugBreak(MacroAssembler* masm) { in Generate_WasmDebugBreak() argument
2942 HardAbortScope hard_abort(masm); // Avoid calls to Abort. in Generate_WasmDebugBreak()
2944 FrameAndConstantPoolScope scope(masm, StackFrame::WASM_DEBUG_BREAK); in Generate_WasmDebugBreak()
2963 void Builtins::Generate_GenericJSToWasmWrapper(MacroAssembler* masm) { in Generate_GenericJSToWasmWrapper() argument
2968 void Builtins::Generate_WasmReturnPromiseOnSuspend(MacroAssembler* masm) { in Generate_WasmReturnPromiseOnSuspend() argument
2973 void Builtins::Generate_WasmSuspend(MacroAssembler* masm) { in Generate_WasmSuspend() argument
2978 void Builtins::Generate_WasmResume(MacroAssembler* masm) { in Generate_WasmResume() argument
2983 void Builtins::Generate_WasmOnStackReplace(MacroAssembler* masm) { in Generate_WasmOnStackReplace() argument
2989 void Builtins::Generate_CEntry(MacroAssembler* masm, int result_size, in Generate_CEntry() argument
3014 FrameScope scope(masm, StackFrame::MANUAL); in Generate_CEntry()
3060 __ Move(isolate_reg, ExternalReference::isolate_address(masm->isolate())); in Generate_CEntry()
3081 IsolateAddressId::kPendingExceptionAddress, masm->isolate()); in Generate_CEntry()
3107 IsolateAddressId::kPendingHandlerContextAddress, masm->isolate()); in Generate_CEntry()
3110 IsolateAddressId::kPendingHandlerEntrypointAddress, masm->isolate()); in Generate_CEntry()
3112 IsolateAddressId::kPendingHandlerFPAddress, masm->isolate()); in Generate_CEntry()
3114 IsolateAddressId::kPendingHandlerSPAddress, masm->isolate()); in Generate_CEntry()
3121 FrameScope scope(masm, StackFrame::MANUAL); in Generate_CEntry()
3125 __ Move(r4, ExternalReference::isolate_address(masm->isolate())); in Generate_CEntry()
3147 UseScratchRegisterScope temps(masm); in Generate_CEntry()
3149 masm->isolate())); in Generate_CEntry()
3160 void Builtins::Generate_DoubleToI(MacroAssembler* masm) { in Generate_DoubleToI() argument
3164 HardAbortScope hard_abort(masm); // Avoid calls to Abort. in Generate_DoubleToI()
3282 static void CallApiFunctionAndReturn(MacroAssembler* masm, in CallApiFunctionAndReturn() argument
3288 Isolate* isolate = masm->isolate(); in CallApiFunctionAndReturn()
3395 void Builtins::Generate_CallApiCallback(MacroAssembler* masm) { in Generate_CallApiCallback() argument
3442 __ Move(scratch, ExternalReference::isolate_address(masm->isolate())); in Generate_CallApiCallback()
3471 FrameScope frame_scope(masm, StackFrame::MANUAL); in Generate_CallApiCallback()
3515 AllowExternalCallThatCantCauseGC scope(masm); in Generate_CallApiCallback()
3516 CallApiFunctionAndReturn(masm, api_function_address, thunk_ref, in Generate_CallApiCallback()
3521 void Builtins::Generate_CallApiGetter(MacroAssembler* masm) { in Generate_CallApiGetter() argument
3551 __ Move(scratch, ExternalReference::isolate_address(masm->isolate())); in Generate_CallApiGetter()
3586 FrameScope frame_scope(masm, StackFrame::MANUAL); in Generate_CallApiGetter()
3614 CallApiFunctionAndReturn(masm, api_function_address, thunk_ref, in Generate_CallApiGetter()
3619 void Builtins::Generate_DirectCEntry(MacroAssembler* masm) { in Generate_DirectCEntry() argument
3628 void Generate_DeoptimizationEntry(MacroAssembler* masm, in Generate_DeoptimizationEntry() argument
3630 Isolate* isolate = masm->isolate(); in Generate_DeoptimizationEntry()
3689 AllowExternalCallThatCantCauseGC scope(masm); in Generate_DeoptimizationEntry()
3727 UseScratchRegisterScope temps(masm); in Generate_DeoptimizationEntry()
3764 AllowExternalCallThatCantCauseGC scope(masm); in Generate_DeoptimizationEntry()
3828 UseScratchRegisterScope temps(masm); in Generate_DeoptimizationEntry()
3845 void Builtins::Generate_DeoptimizationEntry_Eager(MacroAssembler* masm) { in Generate_DeoptimizationEntry_Eager() argument
3846 Generate_DeoptimizationEntry(masm, DeoptimizeKind::kEager); in Generate_DeoptimizationEntry_Eager()
3849 void Builtins::Generate_DeoptimizationEntry_Lazy(MacroAssembler* masm) { in Generate_DeoptimizationEntry_Lazy() argument
3850 Generate_DeoptimizationEntry(masm, DeoptimizeKind::kLazy); in Generate_DeoptimizationEntry_Lazy()
3853 void Builtins::Generate_DeoptimizationEntry_Unused(MacroAssembler* masm) { in Generate_DeoptimizationEntry_Unused() argument
3854 Generate_DeoptimizationEntry(masm, DeoptimizeKind::kUnused); in Generate_DeoptimizationEntry_Unused()
3857 void Builtins::Generate_InterpreterOnStackReplacement(MacroAssembler* masm) { in Generate_InterpreterOnStackReplacement() argument
3858 OnStackReplacement(masm, OsrSourceTier::kInterpreter); in Generate_InterpreterOnStackReplacement()
3862 void Builtins::Generate_BaselineOnStackReplacement(MacroAssembler* masm) { in Generate_BaselineOnStackReplacement() argument
3865 OnStackReplacement(masm, OsrSourceTier::kBaseline); in Generate_BaselineOnStackReplacement()
3870 MacroAssembler* masm) { in Generate_BaselineOrInterpreterEnterAtBytecode() argument
3871 Generate_BaselineOrInterpreterEntry(masm, false); in Generate_BaselineOrInterpreterEnterAtBytecode()
3875 MacroAssembler* masm) { in Generate_BaselineOrInterpreterEnterAtNextBytecode() argument
3876 Generate_BaselineOrInterpreterEntry(masm, true); in Generate_BaselineOrInterpreterEnterAtNextBytecode()
3880 MacroAssembler* masm) { in Generate_InterpreterOnStackReplacement_ToBaseline() argument
3881 Generate_BaselineOrInterpreterEntry(masm, false, true); in Generate_InterpreterOnStackReplacement_ToBaseline()