mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-30 17:33:24 +00:00
Remove an unused variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31403 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
64a8dddb73
commit
fa3e3b9427
@ -100,10 +100,8 @@ void CodeEmitterGen::run(std::ostream &o) {
|
||||
|
||||
BitsInit *BI = R->getValueAsBitsInit("Inst");
|
||||
|
||||
unsigned Value = 0;
|
||||
const std::vector<RecordVal> &Vals = R->getValues();
|
||||
|
||||
// Start by filling in fixed values...
|
||||
unsigned Value = 0;
|
||||
for (unsigned i = 0, e = BI->getNumBits(); i != e; ++i) {
|
||||
if (BitInit *B = dynamic_cast<BitInit*>(BI->getBit(e-i-1))) {
|
||||
Value |= B->getValue() << (e-i-1);
|
||||
|
Loading…
Reference in New Issue
Block a user