summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
authorXin Tong <trent.xin.tong@gmail.com>2017-06-29 18:04:31 +0000
committerXin Tong <trent.xin.tong@gmail.com>2017-06-29 18:04:31 +0000
commit66f6d69c85febe32bf4fe48604447c8688b2228c (patch)
tree885c3332176f7d659887916d24fb86e4f66ce550 /llvm/include
parentff8453db567cf6ccd3172ea41cef982fe4c74d29 (diff)
downloadbcm5719-llvm-66f6d69c85febe32bf4fe48604447c8688b2228c.tar.gz
bcm5719-llvm-66f6d69c85febe32bf4fe48604447c8688b2228c.zip
[OrderedInst] Add const to constant parameter. NFCI
llvm-svn: 306717
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/Transforms/Utils/OrderedInstructions.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Transforms/Utils/OrderedInstructions.h b/llvm/include/llvm/Transforms/Utils/OrderedInstructions.h
index 64c6bcb68b1..165d4bdaa6d 100644
--- a/llvm/include/llvm/Transforms/Utils/OrderedInstructions.h
+++ b/llvm/include/llvm/Transforms/Utils/OrderedInstructions.h
@@ -46,7 +46,7 @@ public:
/// i.e. If an instruction is deleted or added to the basic block, the user
/// should call this function to invalidate the OrderedBasicBlock cache for
/// this basic block.
- void invalidateBlock(BasicBlock *BB) { OBBMap.erase(BB); }
+ void invalidateBlock(const BasicBlock *BB) { OBBMap.erase(BB); }
};
} // end namespace llvm
OpenPOWER on IntegriCloud