| Index: src/IceTargetLoweringX8664Traits.h
|
| diff --git a/src/IceTargetLoweringX8664Traits.h b/src/IceTargetLoweringX8664Traits.h
|
| index bab08a181c41f2908ed3481f6741953c4b36db0a..87ca3db15d80dda54001ecb8f8e3124697fdebf9 100644
|
| --- a/src/IceTargetLoweringX8664Traits.h
|
| +++ b/src/IceTargetLoweringX8664Traits.h
|
| @@ -132,7 +132,10 @@ struct TargetX8664Traits {
|
|
|
| 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_; }
|
|
|