Lines Matching defs:edi

51   //  -- edi : target function (preserved for callee)
110 // -- edi: constructor function
147 // edi: constructor function
151 __ InvokeFunction(edi, edx, eax, InvokeType::kCall);
179 // -- edi: constructor function
196 __ Push(edi);
203 // -- edi and sp[2*kSystemPointerSize]: constructor function
208 __ mov(eax, FieldOperand(edi, JSFunction::kSharedFunctionInfoOffset));
253 __ lea(edi, Operand(ebp, StandardFrameConstants::kCallerSPOffset +
271 // edi: Pointer to start of arguments.
273 Generate_PushArguments(masm, edi, eax, ecx, no_reg,
281 __ mov(edi, Operand(ebp, ConstructFrameConstants::kConstructorOffset));
282 __ InvokeFunction(edi, edx, eax, InvokeType::kCall);
357 __ push(edi);
390 __ push(edi);
403 __ push(__ ExternalReferenceAsOperand(c_entry_fp, edi));
409 __ mov(__ ExternalReferenceAsOperand(c_entry_fp, edi), Immediate(0));
414 __ mov(edi, __ ExternalReferenceAsOperand(context_address, edi));
416 __ mov(Operand(ebp, kOffsetToContextSlot), edi);
421 __ cmp(__ ExternalReferenceAsOperand(js_entry_sp, edi), Immediate(0));
423 __ mov(__ ExternalReferenceAsOperand(js_entry_sp, edi), ebp);
442 __ mov(__ ExternalReferenceAsOperand(pending_exception, edi), eax);
448 __ PushStackHandler(edi);
457 __ PopStackHandler(edi);
462 __ pop(edi);
463 __ cmp(edi, Immediate(StackFrame::OUTERMOST_JSENTRY_FRAME));
465 __ mov(__ ExternalReferenceAsOperand(js_entry_sp, edi), Immediate(0));
469 __ pop(__ ExternalReferenceAsOperand(c_entry_fp, edi));
474 __ pop(edi);
504 const Register scratch2 = edi;
548 __ mov(edi, Operand(scratch2, EntryFrameConstants::kFunctionArgOffset));
649 __ mov(edi, FieldOperand(edx, JSGeneratorObject::kFunctionOffset));
650 __ mov(esi, FieldOperand(edi, JSFunction::kContextOffset));
679 // -- edi : generator function
687 __ mov(ecx, FieldOperand(edi, JSFunction::kSharedFunctionInfoOffset));
708 __ mov(edi, FieldOperand(edx, JSGeneratorObject::kFunctionOffset));
715 __ mov(ecx, FieldOperand(edi, JSFunction::kSharedFunctionInfoOffset));
736 __ mov(eax, FieldOperand(edi, JSFunction::kSharedFunctionInfoOffset));
743 __ mov(ecx, FieldOperand(edi, JSFunction::kCodeOffset));
751 __ Push(edi);
756 __ mov(edi, FieldOperand(edx, JSGeneratorObject::kFunctionOffset));
766 __ mov(edi, FieldOperand(edx, JSGeneratorObject::kFunctionOffset));
842 // -- edi : target function (preserved for callee if needed, and caller)
845 DCHECK(!AreAliased(edx, edi, optimized_code_entry));
847 Register closure = edi;
890 // -- edi : target function (preserved for callee if needed, and caller)
894 DCHECK(!AreAliased(edx, edi, tiering_state));
1059 // o edi: the JS function object being called
1068 Register closure = edi;
1074 __ mov(ecx, FieldOperand(edi, JSFunction::kSharedFunctionInfoOffset));
1126 __ mov(eax, FieldOperand(edi, JSFunction::kSharedFunctionInfoOffset));
1348 // -- edi : the target to call (can be any Object).
1500 // and edi are used as scratch registers.
1502 masm, eax, ecx, edx, edi,
1925 // Spill receiver to allow the usage of edi as a scratch register.
1929 __ mov(edi, edx);
1933 __ mov(edi, args[1]);
1940 __ DropArgumentsAndPushNewReceiver(eax, edi, ecx,
1944 // Restore receiver to edi.
1945 __ movd(edi, xmm0);
1950 // -- edi : receiver
1991 __ mov(edi, args.GetReceiverOperand());
2027 // 1. Load target into edi (if present), argumentsList into edx (if present),
2033 __ LoadRoot(edi, RootIndex::kUndefinedValue);
2034 __ mov(edx, edi);
2035 __ mov(ecx, edi);
2038 __ mov(edi, args[1]); // target
2059 // -- edi : target
2083 // 1. Load target into edi (if present), argumentsList into ecx (if present),
2090 __ LoadRoot(edi, RootIndex::kUndefinedValue);
2091 __ mov(edx, edi);
2092 __ mov(ecx, edi);
2095 __ mov(edi, args[1]); // target
2096 __ mov(edx, edi);
2119 // -- edi : target
2187 // -- edi : target
2197 __ movd(xmm1, edi); // Spill target.
2238 edx, edi, esi);
2250 __ mov(edi, FieldOperand(kArgumentsList, eax, times_tagged_size,
2252 __ CompareRoot(edi, RootIndex::kTheHoleValue);
2254 __ LoadRoot(edi, RootIndex::kUndefinedValue);
2256 __ mov(Operand(edx, 0), edi);
2263 // Restore eax, edi and edx.
2266 __ movd(edi, xmm1); // Restore target.
2283 // -- edi : the target to call (can be any Object)
2324 // -- edi : the target to call (can be any Object)
2331 __ movd(xmm2, edi); // Preserve the target to call.
2332 __ StackOverflowCheck(edx, edi, &stack_overflow);
2343 edi);
2365 __ movd(edi, xmm2); // Restore the target to call.
2376 __ movd(edi, xmm2); // Restore the target to call.
2386 // -- edi : the function to call (checked to be a JSFunction)
2389 __ AssertCallableFunction(edi, edx);
2391 __ mov(edx, FieldOperand(edi, JSFunction::kSharedFunctionInfoOffset));
2396 __ mov(esi, FieldOperand(edi, JSFunction::kContextOffset));
2407 // -- edi : the function to call (checked to be a JSFunction)
2444 __ Push(edi);
2451 __ Pop(edi);
2455 __ mov(edx, FieldOperand(edi, JSFunction::kSharedFunctionInfoOffset));
2465 // -- edi : the function to call (checked to be a JSFunction)
2471 __ InvokeFunctionCode(edi, no_reg, ecx, eax, InvokeType::kJump);
2480 // -- edi : target (checked to be a JSBoundFunction)
2486 __ mov(ecx, FieldOperand(edi, JSBoundFunction::kBoundArgumentsOffset));
2495 // -- edi : target (checked to be a JSBoundFunction)
2527 __ mov(ecx, FieldOperand(edi, JSBoundFunction::kBoundArgumentsOffset));
2562 // -- edi : the function to call (checked to be a JSBoundFunction)
2564 __ AssertBoundFunction(edi);
2568 __ mov(ecx, FieldOperand(edi, JSBoundFunction::kBoundThisOffset));
2575 __ mov(edi, FieldOperand(edi, JSBoundFunction::kBoundTargetFunctionOffset));
2584 // -- edi : the target to call (can be any Object).
2587 Register target = edi;
2672 // -- edi : the constructor to call (checked to be a JSFunction)
2674 __ AssertConstructor(edi);
2675 __ AssertFunction(edi, ecx);
2680 __ mov(ecx, FieldOperand(edi, JSFunction::kSharedFunctionInfoOffset));
2704 // -- edi : the constructor to call (checked to be a JSBoundFunction)
2706 __ AssertConstructor(edi);
2707 __ AssertBoundFunction(edi);
2715 __ cmp(edi, edx);
2717 __ mov(edx, FieldOperand(edi, JSBoundFunction::kBoundTargetFunctionOffset));
2722 __ mov(edi, FieldOperand(edi, JSBoundFunction::kBoundTargetFunctionOffset));
2732 // -- edi : the constructor to call (can be any Object)
2735 Register target = edi;
2855 // The function index was put in edi by the jump table trampoline.
2895 // that to compute the jump target in edi.
2897 __ mov(edi, MemOperand(kWasmInstanceRegister,
2901 __ add(edi, kReturnRegister0);
2902 // edi now holds the jump table slot where we want to jump to in the end.
2917 __ jmp(edi);
2995 // edi: JS function of the caller (C callee-saved)
3004 STATIC_ASSERT(edi == kJSFunctionRegister);
3020 __ EnterApiExitFrame(arg_stack_space, edi);
3024 __ mov(edi, eax);
3034 // edi: number of arguments including receiver (C callee-saved)
3044 __ mov(Operand(esp, 0 * kSystemPointerSize), edi); // argc.
3126 __ mov(edi, __ ExternalReferenceAsOperand(pending_handler_entrypoint_address,
3127 edi));
3128 __ jmp(edi);
3247 // from handle and propagates exceptions. Clobbers esi, edi and
3268 __ mov(edi, __ ExternalReferenceAsOperand(limit_address, edi));
3307 __ cmp(edi, __ ExternalReferenceAsOperand(limit_address, ecx));
3381 __ mov(__ ExternalReferenceAsOperand(limit_address, ecx), edi);
3382 __ mov(edi, eax);
3387 __ mov(eax, edi);
3399 // -- edi : holder
3411 Register holder = edi;
3469 PrepareCallApiFunction(masm, kApiArgc + kApiStackSpace, edi);
3525 Register scratch = edi;
3595 // edi - destination, always aligned
3602 Register dst = edi;
3650 __ pop(edi);
3687 __ push(edi);
3690 Register dst = edi;
4016 __ mov(edi, Operand(ebp, CommonFrameConstants::kContextOrFrameTypeOffset));
4017 __ JumpIfSmi(edi, &context_check);