mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-28 06:32:09 +00:00
Fix minor GCC warnings.
Unused typedefs and unused variables. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196526 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f3f9cff0fb
commit
5024536352
@ -949,7 +949,6 @@ void MachineBlockPlacement::buildCFGChains(MachineFunction &F) {
|
||||
BlockChain &FunctionChain = *BlockToChain[&F.front()];
|
||||
buildChain(&F.front(), FunctionChain, BlockWorkList);
|
||||
|
||||
typedef SmallPtrSet<MachineBasicBlock *, 16> FunctionBlockSetType;
|
||||
DEBUG({
|
||||
// Crash at the end so we get all of the debugging output first.
|
||||
bool BadFunc = false;
|
||||
|
@ -99,6 +99,7 @@ void LLIChildTarget::handleAllocateSpace() {
|
||||
// Read and verify the message data size.
|
||||
uint32_t DataSize;
|
||||
int rc = ReadBytes(&DataSize, 4);
|
||||
(void)rc;
|
||||
assert(rc == 4);
|
||||
assert(DataSize == 8);
|
||||
|
||||
|
@ -59,6 +59,7 @@ void RemoteTargetExternal::stop() {
|
||||
|
||||
void RemoteTargetExternal::SendAllocateSpace(uint32_t Alignment, uint32_t Size) {
|
||||
int rc;
|
||||
(void)rc;
|
||||
uint32_t MsgType = (uint32_t)LLI_AllocateSpace;
|
||||
rc = WriteBytes(&MsgType, 4);
|
||||
assert(rc == 4 && "Error writing message type.");
|
||||
|
Loading…
x
Reference in New Issue
Block a user