Index: src/IceInstX86BaseImpl.h |
diff --git a/src/IceInstX86BaseImpl.h b/src/IceInstX86BaseImpl.h |
index 5bcd8697a678c67ec3b19247bc0882bde3d83241..e9d3c8681650b20ac3e84e447a9b3515e33708fc 100644 |
--- a/src/IceInstX86BaseImpl.h |
+++ b/src/IceInstX86BaseImpl.h |
@@ -601,10 +601,7 @@ void InstImpl<TraitsType>::InstX86Jmp::emitIAS(const Cfg *Func) const { |
// NaCl trampoline calls refer to an address within the sandbox directly. |
// This is usually only needed for non-IRT builds and otherwise not very |
// portable or stable. Usually this is only done for "calls" and not jumps. |
- // TODO(jvoung): Support this when there is a lowering that actually |
- // triggers this case. |
- (void)Imm; |
- llvm::report_fatal_error("Unexpected jmp to absolute address"); |
+ Asm->jmp(AssemblerImmediate(Imm->getValue())); |
} else { |
llvm::report_fatal_error("Unexpected operand type"); |
} |