diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2006-12-13 00:50:17 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2006-12-13 00:50:17 +0000 |
commit | 7b06bd532d3324a2f76bbc856ae20ff89d8e0e92 (patch) | |
tree | cbd629912f00b8d9d35e320842aca7e1cded803e /lib/Transforms/Instrumentation/ProfilingUtils.cpp | |
parent | 31b628ba6096d2b0bb5591b1231a8e4df4f6c8b8 (diff) |
Replace CastInst::createInferredCast calls with more accurate cast
creation calls.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32521 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Instrumentation/ProfilingUtils.cpp')
-rw-r--r-- | lib/Transforms/Instrumentation/ProfilingUtils.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Transforms/Instrumentation/ProfilingUtils.cpp b/lib/Transforms/Instrumentation/ProfilingUtils.cpp index 887de5bfe2..274275a689 100644 --- a/lib/Transforms/Instrumentation/ProfilingUtils.cpp +++ b/lib/Transforms/Instrumentation/ProfilingUtils.cpp @@ -67,6 +67,7 @@ void llvm::InsertProfilingInitCall(Function *MainFn, const char *FnName, } else { InitCall->setOperand(2, AI); } + /* FALL THROUGH */ case 1: AI = MainFn->arg_begin(); |