@@ -193,7 +193,7 @@ struct ResolveHolder
193193 ;;cachemask => [CALL_STUB_CACHE_MASK * sizeof(void*)]
194194
195195 // Called directly by JITTED code
196- // ResolveStub._resolveEntryPoint(a0:Object*, a1 ...,a7, t8 :IndirectionCellAndFlags)
196+ // ResolveStub._resolveEntryPoint(a0:Object*, a1 ...,a7, t5 :IndirectionCellAndFlags)
197197 // {
198198 // MethodTable mt = a0.m_pMethTab;
199199 // int i = ((mt + mt >> 12) ^ this._hashedToken) & _cacheMask
@@ -263,14 +263,14 @@ struct ResolveHolder
263263 _stub._resolveEntryPoint [n++] = 0x01cf9a63 ;// | PC_REL_OFFSET(_slowEntryPoint[0], n);
264264
265265 // ld t6, 0(t1) # t6 = e.token;
266- _stub._resolveEntryPoint [n++] = 0x00033f83 | ((offsetof (ResolveCacheElem, token) & 0xfff )<<10 );
266+ _stub._resolveEntryPoint [n++] = 0x00033f83 | ((offsetof (ResolveCacheElem, token) & 0xfff )<<20 );
267267 // bne t6, t2, next
268268 _stub._resolveEntryPoint [n++] = 0x007f9663 ;// | PC_REL_OFFSET(_slowEntryPoint[0], n);
269269
270270 pc_offset = offsetof (ResolveCacheElem, target) & 0xffffffff ;
271271 _ASSERTE (pc_offset >=0 && pc_offset%8 == 0 );
272272 // ld t3, 0(t1) # t3 = e.target;
273- _stub._resolveEntryPoint [n++] = 0x00033e03 | ((offsetof (ResolveCacheElem, target) & 0xfff )<<10 );
273+ _stub._resolveEntryPoint [n++] = 0x00033e03 | ((offsetof (ResolveCacheElem, target) & 0xfff )<<20 );
274274 // jalr x0, t3, 0
275275 _stub._resolveEntryPoint [n++] = 0x000e0067 ;
276276
@@ -289,7 +289,7 @@ struct ResolveHolder
289289
290290 // auipc t0, 0
291291 _stub._slowEntryPoint [0 ] = 0x00000297 ;
292- // ld t6, 0(t0) # r21 = _resolveWorkerTarget;
292+ // ld t6, 0(t0) # t6 = _resolveWorkerTarget;
293293 static_assert_no_msg ((0x14 *4 ) == ((INT32)(offsetof (ResolveStub, _resolveWorkerTarget) - (offsetof (ResolveStub, _slowEntryPoint[0 ])))));
294294 static_assert_no_msg ((ResolveStub::slowEntryPointLen + ResolveStub::failEntryPointLen+1 +3 *2 ) == 0x14 );
295295 _stub._slowEntryPoint [1 ] = 0x0002bf83 | ((0x14 * 4 ) << 20 );
0 commit comments