mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-10 06:03:52 +00:00
ExecutionEngine: silence unused value warning
The Value is only used in debug or asserts builds. Just cast to void to silence an unused variable warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@273684 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7fb006603a
commit
8324138899
@ -244,6 +244,7 @@ public:
|
||||
DEBUG(dbgs() << "\t\tOffset: " << RE.Offset
|
||||
<< " RelType: IMAGE_REL_ARM_BRANCH20T"
|
||||
<< " Value: " << static_cast<int32_t>(Value) << '\n');
|
||||
static_cast<void>(Value);
|
||||
llvm_unreachable("unimplemented relocation");
|
||||
break;
|
||||
}
|
||||
@ -258,6 +259,7 @@ public:
|
||||
DEBUG(dbgs() << "\t\tOffset: " << RE.Offset
|
||||
<< " RelType: IMAGE_REL_ARM_BRANCH24T"
|
||||
<< " Value: " << static_cast<int32_t>(Value) << '\n');
|
||||
static_cast<void>(Value);
|
||||
llvm_unreachable("unimplemented relocation");
|
||||
break;
|
||||
}
|
||||
@ -272,6 +274,7 @@ public:
|
||||
DEBUG(dbgs() << "\t\tOffset: " << RE.Offset
|
||||
<< " RelType: IMAGE_REL_ARM_BLX23T"
|
||||
<< " Value: " << static_cast<int32_t>(Value) << '\n');
|
||||
static_cast<void>(Value);
|
||||
llvm_unreachable("unimplemented relocation");
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user