diff options
author | Amy Huang <akhuang@google.com> | 2019-07-18 18:22:52 +0000 |
---|---|---|
committer | Amy Huang <akhuang@google.com> | 2019-07-18 18:22:52 +0000 |
commit | f332fe642cc576b7c52c643b7024e6839407d34b (patch) | |
tree | 7844f4bda4c09b4d74e5f8ab105c6432a126909a /llvm/lib/CodeGen/SelectionDAG/FastISel.cpp | |
parent | 301c65a8e072e6346aa4bd38ca5dd54ecb41db3f (diff) | |
download | bcm5719-llvm-f332fe642cc576b7c52c643b7024e6839407d34b.tar.gz bcm5719-llvm-f332fe642cc576b7c52c643b7024e6839407d34b.zip |
[COFF] Change a variable type to be const in the HeapAllocSite map.
llvm-svn: 366479
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/FastISel.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/FastISel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp index 22c23ba877e..8cf9138dfa9 100644 --- a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp @@ -1238,7 +1238,7 @@ bool FastISel::lowerCallTo(CallLoweringInfo &CLI) { // Set labels for heapallocsite call. if (CLI.CS && CLI.CS->getInstruction()->getMetadata("heapallocsite")) { - MDNode *MD = CLI.CS->getInstruction()->getMetadata("heapallocsite"); + const MDNode *MD = CLI.CS->getInstruction()->getMetadata("heapallocsite"); MF->addCodeViewHeapAllocSite(CLI.Call, MD); } |