Home | History | Annotate | Download | only in jit

Lines Matching full:base

310 inline JIT::Address JIT::addressFor(unsigned index, RegisterID base)
312 return Address(base, (index * sizeof(Register)));
317 inline JIT::Address JIT::tagFor(unsigned index, RegisterID base)
319 return Address(base, (index * sizeof(Register)) + OBJECT_OFFSETOF(JSValue, u.asBits.tag));
322 inline JIT::Address JIT::payloadFor(unsigned index, RegisterID base)
324 return Address(base, (index * sizeof(Register)) + OBJECT_OFFSETOF(JSValue, u.asBits.payload));
371 inline void JIT::emitLoad(unsigned index, RegisterID tag, RegisterID payload, RegisterID base)
375 if (base == callFrameRegister) {
376 ASSERT(payload != base);
382 if (payload == base) { // avoid stomping base
383 load32(tagFor(index, base), tag);
384 load32(payloadFor(index, base), payload);
388 load32(payloadFor(index, base), payload);
389 load32(tagFor(index, base), tag);
422 inline void JIT::emitStore(unsigned index, RegisterID tag, RegisterID payload, RegisterID base)
424 store32(payload, payloadFor(index, base));
425 store32(tag, tagFor(index, base));
461 inline void JIT::emitStore(unsigned index, const JSValue constant, RegisterID base)
463 store32(Imm32(constant.payload()), payloadFor(index, base));
464 store32(Imm32(constant.tag()), tagFor(index, base));