Lines Matching refs:edi
48 // -- edi : called function (only guaranteed when
64 __ push(edi);
80 // -- edi: constructor function
85 __ test(edi, Immediate(kSmiTagMask));
88 __ CmpObjectType(edi, JS_FUNCTION_TYPE, ecx);
92 __ mov(ebx, FieldOperand(edi, JSFunction::kSharedFunctionInfoOffset));
97 // edi: called object
123 __ push(edi);
139 // edi: constructor
140 __ mov(eax, FieldOperand(edi, JSFunction::kPrototypeOrInitialMapOffset));
144 // edi: constructor
152 // edi: constructor
160 __ mov(ecx, FieldOperand(edi, JSFunction::kSharedFunctionInfoOffset));
165 __ push(edi);
167 __ push(edi); // constructor
171 __ pop(edi);
178 // edi: constructor
180 __ movzx_b(edi, FieldOperand(eax, Map::kInstanceSizeOffset));
181 __ shl(edi, kPointerSizeLog2);
182 __ AllocateInNewSpace(edi, ebx, edi, no_reg, &rt_call, NO_ALLOCATION_FLAGS);
186 // edi: start of next object
195 // edi: start of next object
209 __ cmp(ecx, Operand(edi));
219 // edi: start of next object
226 // edi: start of next object
241 // edi: start of next object (will be start of FixedArray)
246 edi,
254 // edi: FixedArray
258 __ mov(Operand(edi, FixedArray::kMapOffset), eax); // setup the map
260 __ mov(Operand(edi, FixedArray::kLengthOffset), edx); // and length
264 // edi: FixedArray
268 __ lea(eax, Operand(edi, FixedArray::kHeaderSize));
281 // edi: FixedArray
282 __ or_(Operand(edi), Immediate(kHeapObjectTag)); // add the heap tag
283 __ mov(FieldOperand(ebx, JSObject::kPropertiesOffset), edi);
300 // Must restore edi (constructor) before calling runtime.
301 __ mov(edi, Operand(esp, 0));
302 // edi: function (constructor)
303 __ push(edi);
311 __ pop(edi);
338 __ mov(esi, FieldOperand(edi, JSFunction::kContextOffset));
346 __ InvokeFunction(edi, actual, CALL_FUNCTION);
437 __ mov(edi, Operand(esp, eax, times_4, +1 * kPointerSize)); // +1 ~ receiver
445 __ InvokeFunction(edi, actual, CALL_FUNCTION);
471 __ push(edi);
473 __ push(edi); // Function is also the parameter to the runtime call.
475 __ pop(edi);
491 __ push(edi);
493 __ push(edi); // Function is also the parameter to the runtime call.
497 __ pop(edi);
583 __ mov(edi, Operand(esp, eax, times_4, 1 * kPointerSize));
584 __ test(edi, Immediate(kSmiTagMask));
586 __ CmpObjectType(edi, JS_FUNCTION_TYPE, ecx);
594 __ mov(esi, FieldOperand(edi, JSFunction::kContextOffset));
597 __ mov(ebx, FieldOperand(edi, JSFunction::kSharedFunctionInfoOffset));
631 // Restore the function to edi.
632 __ mov(edi, Operand(esp, eax, times_4, 1 * kPointerSize));
656 __ mov(Operand(esp, eax, times_4, 0), edi);
657 // Clear edi to indicate a non-function being called.
658 __ Set(edi, Immediate(0));
677 __ test(edi, Operand(edi));
689 __ mov(edx, FieldOperand(edi, JSFunction::kSharedFunctionInfoOffset));
692 __ mov(edx, FieldOperand(edi, JSFunction::kCodeEntryOffset));
716 __ mov(edi, Operand::StaticVariable(real_stack_limit));
720 __ sub(ecx, Operand(edi));
745 __ mov(edi, Operand(ebp, 4 * kPointerSize));
746 __ mov(esi, FieldOperand(edi, JSFunction::kContextOffset));
753 __ mov(ecx, FieldOperand(edi, JSFunction::kSharedFunctionInfoOffset));
826 __ mov(edi, Operand(ebp, 4 * kPointerSize));
827 __ InvokeFunction(edi, actual, CALL_FUNCTION);
950 ASSERT(scratch.is(edi)); // rep stos destination
1008 __ lea(edi, Operand(elements_array,
1023 __ cmp(edi, Operand(elements_array_end));
1034 // edi: constructor (built-in Array function)
1041 // that for a construct call the constructor function in edi needs to be
1055 __ push(edi);
1067 edi,
1071 edi,
1077 __ pop(edi);
1116 // edi: constructor
1122 edi,
1127 edi,
1135 __ pop(edi);
1144 // edi: constructor
1150 edi,
1155 edi,
1162 __ pop(edi);
1173 __ lea(edi, Operand(esp, 2 * kPointerSize));
1181 // edi: location of the last argument
1189 __ mov(eax, Operand(edi, ecx, times_pointer_size, 0));
1211 __ pop(edi);
1226 __ LoadGlobalFunction(Context::ARRAY_FUNCTION_INDEX, edi);
1230 __ mov(ebx, FieldOperand(edi, JSFunction::kPrototypeOrInitialMapOffset));
1253 // -- edi : constructor
1264 __ mov(ebx, FieldOperand(edi, JSFunction::kPrototypeOrInitialMapOffset));
1287 // -- edi : constructor function
1297 __ cmp(edi, Operand(ecx));
1326 // -- edi : constructor function
1340 __ LoadGlobalFunctionInitialMap(edi, ecx);
1382 __ push(edi); // Preserve the function.
1385 __ pop(edi);
1419 __ push(edi);
1486 __ lea(edi, Operand(ebp, eax, times_4, offset));
1492 __ push(Operand(edi, 0));
1493 __ sub(Operand(edi), Immediate(kPointerSize));
1506 __ mov(edi, Operand(ebp, JavaScriptFrameConstants::kFunctionOffset));