Commit 571e3bbe authored by nagayama15's avatar nagayama15

コードを簡略化

parent 0bdd6a0a
...@@ -70,7 +70,7 @@ namespace ...@@ -70,7 +70,7 @@ namespace
bool runOnFunction(llvm::Function& func) override bool runOnFunction(llvm::Function& func) override
{ {
llvm::errs() llvm::errs()
<< "[BlockCounter - '" << func.getName() << "' in " << module_name_ << "] Basic blocks: " << func.getBasicBlockList().size() << "\n"; << "[BlockCounter - '" << func.getName() << "' in " << module_name_ << "] Basic blocks: " << func.size() << "\n";
return false; return false;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment