diff options
author | Jay Foad <jay.foad@gmail.com> | 2011-02-01 09:22:34 +0000 |
---|---|---|
committer | Jay Foad <jay.foad@gmail.com> | 2011-02-01 09:22:34 +0000 |
commit | 0faa60938a66a09820ca21d55e7b5926bc58d59d (patch) | |
tree | c4b5f8b562a2285ad657aeb7c7f104112242d46c /include/llvm/Instructions.h | |
parent | f9e4a986c03fe3af7dbc9de0b0a9251280fbdf41 (diff) | |
download | external_llvm-0faa60938a66a09820ca21d55e7b5926bc58d59d.zip external_llvm-0faa60938a66a09820ca21d55e7b5926bc58d59d.tar.gz external_llvm-0faa60938a66a09820ca21d55e7b5926bc58d59d.tar.bz2 |
Make SwitchInst::removeCase() more efficient.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124659 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Instructions.h')
-rw-r--r-- | include/llvm/Instructions.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Instructions.h b/include/llvm/Instructions.h index c79fda0..17ff763 100644 --- a/include/llvm/Instructions.h +++ b/include/llvm/Instructions.h @@ -2247,7 +2247,8 @@ public: /// removeCase - This method removes the specified successor from the switch /// instruction. Note that this cannot be used to remove the default - /// destination (successor #0). + /// destination (successor #0). Also note that this operation may reorder the + /// remaining cases at index idx and above. /// void removeCase(unsigned idx); |