- if (!IsPic) {
- // In non-pic mode, the entries in the jump table are direct references
- // to the basic blocks.
- for (unsigned ii = 0, ee = JTBBs.size(); ii != ee; ++ii) {
- MCSymbol *MBBSym = JTBBs[ii]->getSymbol(OutContext);
- OutStreamer.EmitValue(MCSymbolRefExpr::Create(MBBSym, OutContext),
- EntrySize, /*addrspace*/0);
- }
- } else {
- for (unsigned ii = 0, ee = JTBBs.size(); ii != ee; ++ii)
- printPICJumpTableEntry(MJTI, JTBBs[ii], i);
- }
+ for (unsigned ii = 0, ee = JTBBs.size(); ii != ee; ++ii)
+ EmitJumpTableEntry(MJTI, JTBBs[ii], i);