mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01: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. llvm-svn: 273684
This commit is contained in:
parent
8525561609
commit
aa8b18e539
@ -244,6 +244,7 @@ public:
|
|||||||
DEBUG(dbgs() << "\t\tOffset: " << RE.Offset
|
DEBUG(dbgs() << "\t\tOffset: " << RE.Offset
|
||||||
<< " RelType: IMAGE_REL_ARM_BRANCH20T"
|
<< " RelType: IMAGE_REL_ARM_BRANCH20T"
|
||||||
<< " Value: " << static_cast<int32_t>(Value) << '\n');
|
<< " Value: " << static_cast<int32_t>(Value) << '\n');
|
||||||
|
static_cast<void>(Value);
|
||||||
llvm_unreachable("unimplemented relocation");
|
llvm_unreachable("unimplemented relocation");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -258,6 +259,7 @@ public:
|
|||||||
DEBUG(dbgs() << "\t\tOffset: " << RE.Offset
|
DEBUG(dbgs() << "\t\tOffset: " << RE.Offset
|
||||||
<< " RelType: IMAGE_REL_ARM_BRANCH24T"
|
<< " RelType: IMAGE_REL_ARM_BRANCH24T"
|
||||||
<< " Value: " << static_cast<int32_t>(Value) << '\n');
|
<< " Value: " << static_cast<int32_t>(Value) << '\n');
|
||||||
|
static_cast<void>(Value);
|
||||||
llvm_unreachable("unimplemented relocation");
|
llvm_unreachable("unimplemented relocation");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -272,6 +274,7 @@ public:
|
|||||||
DEBUG(dbgs() << "\t\tOffset: " << RE.Offset
|
DEBUG(dbgs() << "\t\tOffset: " << RE.Offset
|
||||||
<< " RelType: IMAGE_REL_ARM_BLX23T"
|
<< " RelType: IMAGE_REL_ARM_BLX23T"
|
||||||
<< " Value: " << static_cast<int32_t>(Value) << '\n');
|
<< " Value: " << static_cast<int32_t>(Value) << '\n');
|
||||||
|
static_cast<void>(Value);
|
||||||
llvm_unreachable("unimplemented relocation");
|
llvm_unreachable("unimplemented relocation");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user