• Home
  • Raw
  • Download

Lines Matching refs:scratch

169   X86ManagedRegister scratch = mscratch.AsX86();  in StoreStackOffsetToThread()  local
170 CHECK(scratch.IsCpuRegister()); in StoreStackOffsetToThread()
171 __ leal(scratch.AsCpuRegister(), Address(ESP, fr_offs)); in StoreStackOffsetToThread()
172 __ fs()->movl(Address::Absolute(thr_offs), scratch.AsCpuRegister()); in StoreStackOffsetToThread()
323 X86ManagedRegister scratch = mscratch.AsX86(); in CopyRef() local
324 CHECK(scratch.IsCpuRegister()); in CopyRef()
325 __ movl(scratch.AsCpuRegister(), Address(ESP, src)); in CopyRef()
326 __ movl(Address(ESP, dest), scratch.AsCpuRegister()); in CopyRef()
332 X86ManagedRegister scratch = mscratch.AsX86(); in CopyRawPtrFromThread() local
333 CHECK(scratch.IsCpuRegister()); in CopyRawPtrFromThread()
334 __ fs()->movl(scratch.AsCpuRegister(), Address::Absolute(thr_offs)); in CopyRawPtrFromThread()
335 Store(fr_offs, scratch, 4); in CopyRawPtrFromThread()
341 X86ManagedRegister scratch = mscratch.AsX86(); in CopyRawPtrToThread() local
342 CHECK(scratch.IsCpuRegister()); in CopyRawPtrToThread()
343 Load(scratch, fr_offs, 4); in CopyRawPtrToThread()
344 __ fs()->movl(Address::Absolute(thr_offs), scratch.AsCpuRegister()); in CopyRawPtrToThread()
350 X86ManagedRegister scratch = mscratch.AsX86(); in Copy() local
351 if (scratch.IsCpuRegister() && size == 8) { in Copy()
352 Load(scratch, src, 4); in Copy()
353 Store(dest, scratch, 4); in Copy()
354 Load(scratch, FrameOffset(src.Int32Value() + 4), 4); in Copy()
355 Store(FrameOffset(dest.Int32Value() + 4), scratch, 4); in Copy()
357 Load(scratch, src, size); in Copy()
358 Store(dest, scratch, size); in Copy()
373 ManagedRegister scratch, in Copy() argument
375 CHECK(scratch.IsNoRegister()); in Copy()
386 Register scratch = mscratch.AsX86().AsCpuRegister(); in Copy() local
388 __ movl(scratch, Address(ESP, src_base)); in Copy()
389 __ movl(scratch, Address(scratch, src_offset)); in Copy()
390 __ movl(Address(ESP, dest), scratch); in Copy()
397 ManagedRegister scratch, in Copy() argument
400 CHECK(scratch.IsNoRegister()); in Copy()
411 Register scratch = mscratch.AsX86().AsCpuRegister(); in Copy() local
414 __ movl(scratch, Address(ESP, src)); in Copy()
415 __ pushl(Address(scratch, src_offset)); in Copy()
416 __ popl(Address(scratch, dest_offset)); in Copy()
450 X86ManagedRegister scratch = mscratch.AsX86(); in CreateHandleScopeEntry() local
451 CHECK(scratch.IsCpuRegister()); in CreateHandleScopeEntry()
454 __ movl(scratch.AsCpuRegister(), Address(ESP, handle_scope_offset)); in CreateHandleScopeEntry()
455 __ testl(scratch.AsCpuRegister(), scratch.AsCpuRegister()); in CreateHandleScopeEntry()
457 __ leal(scratch.AsCpuRegister(), Address(ESP, handle_scope_offset)); in CreateHandleScopeEntry()
460 __ leal(scratch.AsCpuRegister(), Address(ESP, handle_scope_offset)); in CreateHandleScopeEntry()
462 Store(out_off, scratch, 4); in CreateHandleScopeEntry()
498 Register scratch = mscratch.AsX86().AsCpuRegister(); in Call() local
499 __ movl(scratch, Address(ESP, base)); in Call()
500 __ call(Address(scratch, offset)); in Call()
514 X86ManagedRegister scratch = mscratch.AsX86(); in GetCurrentThread() local
515 __ fs()->movl(scratch.AsCpuRegister(), Address::Absolute(Thread::SelfOffset<kX86PointerSize>())); in GetCurrentThread()
516 __ movl(Address(ESP, offset), scratch.AsCpuRegister()); in GetCurrentThread()