state.ident = &ident;
state.baseGPR = stubInfo.baseGPR();
- state.thisGPR = static_cast<GPRReg>(stubInfo.patch.thisGPR);
+ state.thisGPR = stubInfo.patch.thisGPR;
state.valueRegs = stubInfo.valueRegs();
ScratchRegisterAllocator allocator(stubInfo.patch.usedRegisters);
allocator.lock(state.thisGPR);
allocator.lock(state.valueRegs);
#if USE(JSVALUE32_64)
- allocator.lock(static_cast<GPRReg>(stubInfo.patch.baseTagGPR));
+ allocator.lock(stubInfo.patch.baseTagGPR);
#endif
state.scratchGPR = allocator.allocateScratchGPR();