mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
pass by reference, not by value
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36721 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
62bbeea8ea
commit
2020ca2414
@ -94,7 +94,7 @@ public:
|
|||||||
const std::vector<const BasicBlock*> &getBasicBlocks() const {
|
const std::vector<const BasicBlock*> &getBasicBlocks() const {
|
||||||
return BasicBlocks;
|
return BasicBlocks;
|
||||||
}
|
}
|
||||||
const std::vector<const ParamAttrsList*> getParamAttrs() const {
|
const std::vector<const ParamAttrsList*> &getParamAttrs() const {
|
||||||
return ParamAttrs;
|
return ParamAttrs;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user