asm.emitCALL_RegDisp (JTOC, VM_Entrypoints.checkcastResolvedClassMethod.getOffsetAsInt());
asm.emitCALL_RegDisp (JTOC, VM_Entrypoints.checkcastResolvedClassMethod.getOffset());
  protected final void emit_checkcast_resolvedClass(VM_Type type) {    asm.emitPUSH_RegInd (SP);                        // duplicate the object ref on the stack    asm.emitPUSH_Imm(type.getId());                  // VM_Type id.    genParameterRegisterLoad(2);                     // pass 2 parameter words    asm.emitCALL_RegDisp (JTOC, VM_Entrypoints.checkcastResolvedClassMethod.getOffsetAsInt()); // checkcast(obj, type id)  }