Home | History | Annotate | Download | only in ia32

Lines Matching refs:scratch

53                               Register scratch) {
76 masm->mov(scratch, Operand(page_start, Page::kObjectStartOffset
78 Register array_length = scratch;
102 RecordWriteStub(Register object, Register addr, Register scratch)
103 : object_(object), addr_(addr), scratch_(scratch) { }
114 PrintF("RecordWriteStub (object reg %d), (addr reg %d), (scratch reg %d)\n",
120 // scratch) OOOOAAAASSSS.
144 // If offset is zero, then the scratch register contains the array index into
148 Register value, Register scratch) {
152 ASSERT(!object.is(esi) && !value.is(esi) && !scratch.is(esi));
197 Register dst = scratch;
226 mov(scratch, Immediate(bit_cast<int32_t>(kZapValue)));
298 Register scratch,
305 mov(scratch, Operand(base, 0));
308 mov(Operand::StaticVariable(reg_addr), scratch);
569 Register scratch,
572 // Make sure there's no overlap between scratch and the other
574 ASSERT(!scratch.is(object_reg) && !scratch.is(holder_reg));
596 mov(scratch, FieldOperand(reg, HeapObject::kMapOffset));
597 cmp(Operand(scratch), Immediate(Handle<Map>(object->map())));
604 CheckAccessGlobalProxy(reg, scratch, miss);
606 // Restore scratch register to be the map of the object.
607 // We load the prototype from the map in the scratch register.
608 mov(scratch, FieldOperand(reg, HeapObject::kMapOffset));
613 mov(reg, FieldOperand(scratch, Map::kPrototypeOffset));
624 CheckAccessGlobalProxy(reg, scratch, miss);
652 CheckAccessGlobalProxy(reg, scratch, miss);
659 Register scratch,
663 ASSERT(!holder_reg.is(scratch));
666 mov(scratch, Operand(ebp, StandardFrameConstants::kContextOffset));
670 cmp(Operand(scratch), Immediate(0));
675 mov(scratch, FieldOperand(scratch, offset));
676 mov(scratch, FieldOperand(scratch, GlobalObject::kGlobalContextOffset));
680 push(scratch);
682 mov(scratch, FieldOperand(scratch, HeapObject::kMapOffset));
683 cmp(scratch, Factory::global_context_map());
685 pop(scratch);
689 cmp(scratch, FieldOperand(holder_reg, JSGlobalProxy::kContextOffset));
717 mov(scratch, FieldOperand(scratch, token_offset));
718 cmp(scratch, FieldOperand(holder_reg, token_offset));
728 Register scratch,
735 // No use of scratch if allocation top is provided.
736 ASSERT(scratch.is(no_reg));
745 // Move address of new object to result. Use scratch register if available.
746 if (scratch.is(no_reg)) {
749 ASSERT(!scratch.is(result_end));
750 mov(Operand(scratch), Immediate(new_space_allocation_top));
751 mov(result, Operand(scratch, 0));
757 Register scratch) {
766 // Update new top. Use scratch if available.
767 if (scratch.is(no_reg)) {
770 mov(Operand(scratch, 0), result_end);
778 Register scratch,
784 LoadAllocationTopHelper(result, result_end, scratch, flags);
799 UpdateAllocationTopHelper(result_end, scratch);
808 Register scratch,
814 LoadAllocationTopHelper(result, result_end, scratch, flags);
829 UpdateAllocationTopHelper(result_end, scratch);
836 Register scratch,
842 LoadAllocationTopHelper(result, result_end, scratch, flags);
860 UpdateAllocationTopHelper(result_end, scratch);
1026 Register scratch,
1031 mov(scratch, Operand(op1));
1032 or_(scratch, Operand(op2));
1040 Register scratch,
1052 movzx_b(scratch, FieldOperand(result, Map::kBitFieldOffset));
1053 test(scratch, Immediate(1 << Map::kHasNonInstancePrototype));
1068 CmpObjectType(result, MAP_TYPE, scratch);
1204 void MacroAssembler::PushHandleScope(Register scratch) {
1208 mov(scratch, Operand::StaticVariable(extensions_address));
1210 shl(scratch, kSmiTagSize);
1211 push(scratch);
1225 Register scratch,
1231 mov(scratch, Operand::StaticVariable(extensions_address));
1232 cmp(Operand(scratch), Immediate(0));
1252 pop(scratch);
1253 shr(scratch, kSmiTagSize);
1254 mov(Operand::StaticVariable(extensions_address), scratch);
1260 void MacroAssembler::PopHandleScope(Register saved, Register scratch) {
1261 PopHandleScopeHelper(saved, scratch, true);
1265 Object* MacroAssembler::TryPopHandleScope(Register saved, Register scratch) {
1266 return PopHandleScopeHelper(saved, scratch, false);
1577 Register scratch,
1579 if (!scratch.is(instance_type)) {
1580 mov(scratch, instance_type);
1582 and_(scratch,
1584 cmp(scratch, kStringTag | kSeqStringTag | kAsciiStringTag);