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 llvm-svn: 58905
This commit is contained in:
parent
0d9ee2eb2e
commit
09991ada2d
|
@ -1269,7 +1269,7 @@ namespace {
|
||||||
}
|
}
|
||||||
case Instruction::Store: {
|
case Instruction::Store: {
|
||||||
const StoreInst* store = cast<StoreInst>(I);
|
const StoreInst* store = cast<StoreInst>(I);
|
||||||
Out << "StoreInst* " << iName << " = new StoreInst("
|
Out << " = new StoreInst("
|
||||||
<< opNames[0] << ", "
|
<< opNames[0] << ", "
|
||||||
<< opNames[1] << ", "
|
<< opNames[1] << ", "
|
||||||
<< (store->isVolatile() ? "true" : "false")
|
<< (store->isVolatile() ? "true" : "false")
|
||||||
|
|
Loading…
Reference in New Issue