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