diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-09-20 02:20:51 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-09-20 02:20:51 +0000 |
commit | 7d6781b0fe034557269fbd67238da2c374a7df9b (patch) | |
tree | f126c319251f0a8917802f4ee946635f9df2ed17 /llvm/lib/VMCore/Instruction.cpp | |
parent | 0f899601f3aebd7738258048d4243fd84214ed4f (diff) | |
download | bcm5719-llvm-7d6781b0fe034557269fbd67238da2c374a7df9b.tar.gz bcm5719-llvm-7d6781b0fe034557269fbd67238da2c374a7df9b.zip |
Tabs -> spaces, and remove trailing whitespace.
llvm-svn: 82355
Diffstat (limited to 'llvm/lib/VMCore/Instruction.cpp')
-rw-r--r-- | llvm/lib/VMCore/Instruction.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/VMCore/Instruction.cpp b/llvm/lib/VMCore/Instruction.cpp index efa80d16ef9..35fb47a5ffb 100644 --- a/llvm/lib/VMCore/Instruction.cpp +++ b/llvm/lib/VMCore/Instruction.cpp @@ -292,11 +292,11 @@ bool Instruction::isUsedOutsideOfBlock(const BasicBlock *BB) const { return true; continue; } - + if (PN->getIncomingBlock(UI) != BB) return true; } - return false; + return false; } /// mayReadFromMemory - Return true if this instruction may read memory. @@ -380,8 +380,8 @@ bool Instruction::isCommutative(unsigned op) { static bool isMalloc(const Value* I) { const CallInst *CI = dyn_cast<CallInst>(I); if (!CI) { - const BitCastInst *BCI = dyn_cast<BitCastInst>(I); - if (!BCI) return false; + const BitCastInst *BCI = dyn_cast<BitCastInst>(I); + if (!BCI) return false; CI = dyn_cast<CallInst>(BCI->getOperand(0)); } |