[llvm-commits] [llvm] r48826 - /llvm/branches/ggreif/use-diet/lib/VMCore/BasicBlock.cpp
Gabor Greif
ggreif at gmail.com
Wed Mar 26 09:54:18 PDT 2008
Author: ggreif
Date: Wed Mar 26 11:54:18 2008
New Revision: 48826
URL: http://llvm.org/viewvc/llvm-project?rev=48826&view=rev
Log:
work around missing 'op new', for now
Modified:
llvm/branches/ggreif/use-diet/lib/VMCore/BasicBlock.cpp
Modified: llvm/branches/ggreif/use-diet/lib/VMCore/BasicBlock.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/ggreif/use-diet/lib/VMCore/BasicBlock.cpp?rev=48826&r1=48825&r2=48826&view=diff
==============================================================================
--- llvm/branches/ggreif/use-diet/lib/VMCore/BasicBlock.cpp (original)
+++ llvm/branches/ggreif/use-diet/lib/VMCore/BasicBlock.cpp Wed Mar 26 11:54:18 2008
@@ -287,7 +287,7 @@
assert(I != InstList.end() &&
"Trying to get me to create degenerate basic block!");
- BasicBlock *New = new BasicBlock(BBName, getParent(), getNext());
+ BasicBlock *New = new(0/*FIXME*/) BasicBlock(BBName, getParent(), getNext());
// Move all of the specified instructions from the original basic block into
// the new basic block.
More information about the llvm-commits
mailing list