diff options
author | Chris Lattner <sabre@nondot.org> | 2004-01-14 17:15:17 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-01-14 17:15:17 +0000 |
commit | 07ad64231f76bf78ab2887235f3656dc40ff98d8 (patch) | |
tree | 0fd389fcd6149e15d772d558688df578f1e3d762 /lib/Bytecode | |
parent | aa06d0439ec183c2a7546c38ff50dbcfb285261b (diff) |
Eliminate the isStringCompatible function, using ConstantArray::isString.
It's not clear why the code was looking for signed chars < 0, but it can't
matter to the assembler anyway, so the check goes away. This also fixes
compatibility with arrays of [us]byte that have constantexprs in them.
Also slightly restructure some code to be cleaner.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10854 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode')
0 files changed, 0 insertions, 0 deletions