Skip to content

Commit

Permalink
Fix comments about IndirectBrInst in Instructions.h
Browse files Browse the repository at this point in the history
Patch by yo (Chiang, Yi-Yo) <[email protected]>.
Differential Revision: https://reviews.llvm.org/D23982

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@280241 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
Chad Rosier committed Aug 31, 2016
1 parent 7ae397d commit bafb383
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions include/llvm/IR/Instructions.h
Original file line number Diff line number Diff line change
Expand Up @@ -3270,10 +3270,8 @@ DEFINE_TRANSPARENT_OPERAND_ACCESSORS(SwitchInst, Value)
class IndirectBrInst : public TerminatorInst {
void *operator new(size_t, unsigned) = delete;
unsigned ReservedSpace;
// Operand[0] = Value to switch on
// Operand[1] = Default basic block destination
// Operand[2n ] = Value to match
// Operand[2n+1] = BasicBlock to go to on match
// Operand[0] = Address to jump to
// Operand[n+1] = n-th destination
IndirectBrInst(const IndirectBrInst &IBI);
void init(Value *Address, unsigned NumDests);
void growOperands();
Expand Down

0 comments on commit bafb383

Please sign in to comment.