[llvm-commits] [llvm] r49601 - /llvm/branches/ggreif/use-diet/include/llvm/Instructions.h
Gabor Greif
ggreif at gmail.com
Sat Apr 12 18:08:55 PDT 2008
Author: ggreif
Date: Sat Apr 12 20:08:54 2008
New Revision: 49601
URL: http://llvm.org/viewvc/llvm-project?rev=49601&view=rev
Log:
BBs are Values. tell this fact to the compiler too.
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=49601&r1=49600&r2=49601&view=diff
==============================================================================
--- llvm/branches/ggreif/use-diet/include/llvm/Instructions.h (original)
+++ llvm/branches/ggreif/use-diet/include/llvm/Instructions.h Sat Apr 12 20:08:54 2008
@@ -21,6 +21,7 @@
#include "llvm/InstrTypes.h"
#include "llvm/DerivedTypes.h"
#include "llvm/ParameterAttributes.h"
+#include "llvm/BasicBlock.h"
namespace llvm {
@@ -1509,7 +1510,7 @@
// Initialize some new operands.
NumOperands = OpNo+2;
OperandList[OpNo].init(V, this);
- OperandList[OpNo+1].init(reinterpret_cast<Value*>(BB), this);
+ OperandList[OpNo+1].init(BB, this);
}
/// removeIncomingValue - Remove an incoming value. This is useful if a
More information about the llvm-commits
mailing list