pass by reference, not by value

llvm-svn: 36721
This commit is contained in:
Chris Lattner 2007-05-04 00:45:24 +00:00
parent e2f98ef52d
commit 874eb28ee6
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ public:
const std::vector<const BasicBlock*> &getBasicBlocks() const {
return BasicBlocks;
}
const std::vector<const ParamAttrsList*> getParamAttrs() const {
const std::vector<const ParamAttrsList*> &getParamAttrs() const {
return ParamAttrs;
}