[llvm-commits] CVS: llvm/lib/Transforms/Utils/ValueMapper.cpp
Chris Lattner
sabre at nondot.org
Fri Feb 23 11:54:47 PST 2007
Changes in directory llvm/lib/Transforms/Utils:
ValueMapper.cpp updated: 1.30 -> 1.31
---
Log message:
fix an obscure and tricky bug the inliner can hit sometimes.
---
Diffs of the changes: (+1 -1)
ValueMapper.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Transforms/Utils/ValueMapper.cpp
diff -u llvm/lib/Transforms/Utils/ValueMapper.cpp:1.30 llvm/lib/Transforms/Utils/ValueMapper.cpp:1.31
--- llvm/lib/Transforms/Utils/ValueMapper.cpp:1.30 Wed Feb 14 20:26:10 2007
+++ llvm/lib/Transforms/Utils/ValueMapper.cpp Fri Feb 23 13:54:30 2007
@@ -95,7 +95,7 @@
return VM[V] = ConstantVector::get(Values);
}
}
- return VMSlot = C;
+ return VM[V] = C;
} else {
assert(0 && "Unknown type of constant!");
More information about the llvm-commits
mailing list