mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 07:34:33 +00:00
Fix -asserts build
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141313 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9a6eba6203
commit
3ef12348d7
@ -666,6 +666,7 @@ static LLVMOpcode map_to_llvmopcode(int opcode)
|
|||||||
default:
|
default:
|
||||||
assert(false && "Unhandled Opcode.");
|
assert(false && "Unhandled Opcode.");
|
||||||
}
|
}
|
||||||
|
return static_cast<LLVMOpcode>(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int map_from_llvmopcode(LLVMOpcode code)
|
static int map_from_llvmopcode(LLVMOpcode code)
|
||||||
@ -677,6 +678,7 @@ static int map_from_llvmopcode(LLVMOpcode code)
|
|||||||
default:
|
default:
|
||||||
assert(false && "Unhandled Opcode.");
|
assert(false && "Unhandled Opcode.");
|
||||||
}
|
}
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*--.. Constant expressions ................................................--*/
|
/*--.. Constant expressions ................................................--*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user