| Index: src/IceTargetLoweringX8632Traits.h
|
| diff --git a/src/IceTargetLoweringX8632Traits.h b/src/IceTargetLoweringX8632Traits.h
|
| index 00ea2d91cce1de6df2b2c935b27d5e3c9af07b77..c9121601ad6340e6187306a3e63c2df227bfbd54 100644
|
| --- a/src/IceTargetLoweringX8632Traits.h
|
| +++ b/src/IceTargetLoweringX8632Traits.h
|
| @@ -116,7 +116,10 @@ struct TargetX8632Traits {
|
|
|
| int32_t disp32() const {
|
| assert(length_ >= 5);
|
| - return bit_copy<int32_t>(encoding_[length_ - 4]);
|
| + // TODO(stichnot): This method is not currently used. Delete it along
|
| + // with other unused methods, or use a safe version of bitCopy().
|
| + llvm::report_fatal_error("Unexpected call to disp32()");
|
| + // return Utils::bitCopy<int32_t>(encoding_[length_ - 4]);
|
| }
|
|
|
| AssemblerFixup *fixup() const { return fixup_; }
|
|
|