mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
StoreInst does not produce any result thus it's useless to create new
variable for it. This greatly reduces amount of unused variables in llvm2cpp-generated code git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58905 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
760a5724c6
commit
e0f4af3b49
@ -1269,7 +1269,7 @@ namespace {
|
||||
}
|
||||
case Instruction::Store: {
|
||||
const StoreInst* store = cast<StoreInst>(I);
|
||||
Out << "StoreInst* " << iName << " = new StoreInst("
|
||||
Out << " = new StoreInst("
|
||||
<< opNames[0] << ", "
|
||||
<< opNames[1] << ", "
|
||||
<< (store->isVolatile() ? "true" : "false")
|
||||
|
Loading…
Reference in New Issue
Block a user