Lines Matching defs:rdi

26   //  -- rdi                 : called function (only guaranteed when
41 __ Push(rdi);
58 __ Push(rdi);
60 __ Push(rdi);
64 __ Pop(rdi);
70 FieldOperand(rdi, JSFunction::kSharedFunctionInfoOffset));
107 // -- rdi: constructor function
128 __ Push(rdi);
144 // rdi: constructor
145 __ movp(rax, FieldOperand(rdi, JSFunction::kPrototypeOrInitialMapOffset));
149 // rdi: constructor
157 // rdi: constructor
180 __ Push(rdi);
182 __ Push(rdi); // constructor
185 __ Pop(rdi);
193 __ movzxbp(rdi, FieldOperand(rax, Map::kInstanceSizeOffset));
194 __ shlp(rdi, Immediate(kPointerSizeLog2));
196 __ addp(rdi, Immediate(AllocationMemento::kSize));
198 // rdi: size of new object
199 __ Allocate(rdi,
201 rdi,
209 // rdi: start of next object (including memento if create_memento)
217 // rdi: start of next object (including memento if create_memento)
235 __ cmpp(rsi, rdi);
246 __ leap(rsi, Operand(rdi, -AllocationMemento::kSize));
257 __ InitializeFieldsWithFiller(rcx, rdi, rdx);
266 // rdi: start of next object
273 // rdi: start of next object
289 // rdi: start of next object (will be start of FixedArray)
294 rdi,
302 // rdi: FixedArray
306 __ movp(Operand(rdi, HeapObject::kMapOffset), rcx); // setup the map
308 __ movp(Operand(rdi, FixedArray::kLengthOffset), rdx); // and length
312 // rdi: FixedArray
317 __ leap(rcx, Operand(rdi, FixedArray::kHeaderSize));
330 // rdi: FixedArray
331 __ orp(rdi, Immediate(kHeapObjectTag)); // add the heap tag
332 __ movp(FieldOperand(rbx, JSObject::kPropertiesOffset), rdi);
348 // rdi: function (constructor)
353 __ movp(rdi, Operand(rsp, kPointerSize*2));
354 __ Push(rdi);
358 // Must restore rsi (context) and rdi (constructor) before calling runtime.
360 __ movp(rdi, Operand(rsp, offset));
361 __ Push(rdi);
394 __ Pop(rdi);
421 __ movp(rsi, FieldOperand(rdi, JSFunction::kContextOffset));
427 __ InvokeFunction(rdi, actual, CALL_FUNCTION, NullCallWrapper());
501 // while rdi holds the function pointer and rsi the context.
528 // Load the function pointer into rdi.
529 __ movp(rdi, rdx);
532 // rdi : entry (ignored)
538 __ movp(rdi, rsi);
539 // rdi : function
547 __ Push(rdi);
549 __ movp(rsi, FieldOperand(rdi, JSFunction::kContextOffset));
564 // rdi : function
584 // Expects rdi to hold function pointer.
589 // Function must be in rdi.
590 __ InvokeFunction(rdi, actual, CALL_FUNCTION, NullCallWrapper());
622 __ Push(rdi);
624 __ Push(rdi);
630 __ Pop(rdi);
706 __ Push(rdi); // Callee's JS Function.
823 __ movp(rdi, args.GetReceiverOperand());
824 __ JumpIfSmi(rdi, &non_function);
825 __ CmpObjectType(rdi, JS_FUNCTION_TYPE, rcx);
833 __ movp(rsi, FieldOperand(rdi, JSFunction::kContextOffset));
836 __ movp(rbx, FieldOperand(rdi, JSFunction::kSharedFunctionInfoOffset));
876 // Restore the function to rdi.
877 __ movp(rdi, args.GetReceiverOperand());
903 __ movp(args.GetArgumentOperand(1), rdi);
931 __ Push(rdi); // re-add proxy object as additional argument
948 __ movp(rdx, FieldOperand(rdi, JSFunction::kSharedFunctionInfoOffset));
951 __ movp(rdx, FieldOperand(rdi, JSFunction::kCodeEntryOffset));
1019 __ movp(rdi, Operand(rbp, kFunctionOffset));
1020 __ CmpObjectType(rdi, JS_FUNCTION_TYPE, rcx);
1024 __ movp(rsi, FieldOperand(rdi, JSFunction::kContextOffset));
1028 __ movp(rdx, FieldOperand(rdi, JSFunction::kSharedFunctionInfoOffset));
1103 __ movp(rdi, Operand(rbp, kFunctionOffset));
1104 __ CmpObjectType(rdi, JS_FUNCTION_TYPE, rcx);
1106 __ InvokeFunction(rdi, actual, CALL_FUNCTION, NullCallWrapper());
1113 __ Push(rdi); // add function proxy as last argument
1135 __ LoadGlobalFunction(Context::INTERNAL_ARRAY_FUNCTION_INDEX, rdi);
1139 __ movp(rbx, FieldOperand(rdi, JSFunction::kPrototypeOrInitialMapOffset));
1165 __ LoadGlobalFunction(Context::ARRAY_FUNCTION_INDEX, rdi);
1169 __ movp(rbx, FieldOperand(rdi, JSFunction::kPrototypeOrInitialMapOffset));
1189 // -- rdi : constructor function
1199 __ cmpp(rdi, rcx);
1227 // -- rdi : constructor function
1241 __ LoadGlobalFunctionInitialMap(rdi, rcx);
1282 __ Push(rdi); // Preserve the function.
1285 __ Pop(rdi);
1317 // -- rdi: function (passed through to callee)
1346 __ Push(rdi);
1376 // -- rdi: function (passed through to callee)
1387 __ movp(rdx, FieldOperand(rdi, JSFunction::kCodeEntryOffset));
1418 __ leap(rdi, Operand(rbp, rax, times_pointer_size, offset));
1424 __ Push(Operand(rdi, 0));
1425 __ subp(rdi, Immediate(kPointerSize));
1439 __ movp(rdi, Operand(rbp, JavaScriptFrameConstants::kFunctionOffset));