diff options
| author | Chris Lattner <sabre@nondot.org> | 2004-12-10 20:35:47 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2004-12-10 20:35:47 +0000 |
| commit | 45c62511406fc8165a1bae0720388ba08fa63807 (patch) | |
| tree | 547440a64a945fc2bf35803565ad68f14e5e34ef | |
| parent | b7f5916e01d5a345395cf8cd3c0daa3100cd52f0 (diff) | |
| download | bcm5719-llvm-45c62511406fc8165a1bae0720388ba08fa63807.tar.gz bcm5719-llvm-45c62511406fc8165a1bae0720388ba08fa63807.zip | |
Add missing accessor.
llvm-svn: 18775
| -rw-r--r-- | llvm/include/llvm/Instructions.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/include/llvm/Instructions.h b/llvm/include/llvm/Instructions.h index 62e6022ce1a..58cc1ee4f15 100644 --- a/llvm/include/llvm/Instructions.h +++ b/llvm/include/llvm/Instructions.h @@ -982,6 +982,8 @@ public: // inline const Value *getCondition() const { return Operands[0]; } inline Value *getCondition() { return Operands[0]; } + void setCondition(Value *V) { Operands[0] = V; } + inline const BasicBlock *getDefaultDest() const { return cast<BasicBlock>(Operands[1].get()); } |

