| Index: src/IceTargetLoweringX8632.cpp
|
| diff --git a/src/IceTargetLoweringX8632.cpp b/src/IceTargetLoweringX8632.cpp
|
| index e8e89dd88f7429931fcf2fe07382eca35f350dcf..a42e12288bbf59a24fb3491d65bb9483081d4e47 100644
|
| --- a/src/IceTargetLoweringX8632.cpp
|
| +++ b/src/IceTargetLoweringX8632.cpp
|
| @@ -243,8 +243,8 @@ void TargetDataX8632::lowerJumpTables() {
|
| switch (Ctx->getFlags().getOutFileType()) {
|
| case FT_Elf: {
|
| ELFObjectWriter *Writer = Ctx->getObjectWriter();
|
| - for (const JumpTableData &JumpTable : *Ctx->getJumpTables())
|
| - Writer->writeJumpTable(JumpTable, llvm::ELF::R_386_32);
|
| + for (const JumpTableData &JT : Ctx->getJumpTables())
|
| + Writer->writeJumpTable(JT, llvm::ELF::R_386_32);
|
| } break;
|
| case FT_Asm:
|
| // Already emitted from Cfg
|
| @@ -253,7 +253,7 @@ void TargetDataX8632::lowerJumpTables() {
|
| if (!BuildDefs::dump())
|
| return;
|
| Ostream &Str = Ctx->getStrEmit();
|
| - for (const JumpTableData &JT : *Ctx->getJumpTables()) {
|
| + for (const JumpTableData &JT : Ctx->getJumpTables()) {
|
| Str << "\t.section\t.rodata." << JT.getFunctionName()
|
| << "$jumptable,\"a\",@progbits\n";
|
| Str << "\t.align\t" << typeWidthInBytes(getPointerType()) << "\n";
|
|
|