[llvm-commits] [llvm] r49620 - /llvm/branches/ggreif/use-diet/include/llvm/Instructions.h
Gabor Greif
ggreif at gmail.com
Sun Apr 13 13:56:58 PDT 2008
Author: ggreif
Date: Sun Apr 13 15:56:57 2008
New Revision: 49620
URL: http://llvm.org/viewvc/llvm-project?rev=49620&view=rev
Log:
debugging
Modified:
llvm/branches/ggreif/use-diet/include/llvm/Instructions.h
Modified: llvm/branches/ggreif/use-diet/include/llvm/Instructions.h
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/ggreif/use-diet/include/llvm/Instructions.h?rev=49620&r1=49619&r2=49620&view=diff
==============================================================================
--- llvm/branches/ggreif/use-diet/include/llvm/Instructions.h (original)
+++ llvm/branches/ggreif/use-diet/include/llvm/Instructions.h Sun Apr 13 15:56:57 2008
@@ -25,7 +25,6 @@
namespace llvm {
-class BasicBlock;
class ConstantInt;
class PointerType;
class VectorType;
@@ -1650,7 +1649,8 @@
DEFINE_TRANSPARENT_OPERAND_ACCESSORS(ReturnInst, Value)
void ReturnInst::operator delete(void *it) {
- OperandTraits<ReturnInst>::op_begin(static_cast<ReturnInst*>(it));
+ assert(0 && "ReturnInst::operator delete");
+ ::operator delete(OperandTraits<ReturnInst>::op_begin(static_cast<ReturnInst*>(it)));
}
//===----------------------------------------------------------------------===//
@@ -1695,6 +1695,8 @@
return new(3) BranchInst(IfTrue, IfFalse, Cond, InsertAtEnd);
}
+ // not yet ~BranchInst();
+
/// Transparently provide more efficient getOperand methods.
DECLARE_TRANSPARENT_OPERAND_ACCESSORS(Value);
More information about the llvm-commits
mailing list