summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/ValueMapper.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-01-13 00:52:25 +0000
committerChris Lattner <sabre@nondot.org>2003-01-13 00:52:25 +0000
commit803c66bc6411b84ce315408e38ff00053f23846a (patch)
tree503b54f963d858f8f6d26a1f3d2a51ec702ada5e /llvm/lib/Transforms/Utils/ValueMapper.cpp
parentb9636a70e5ce0f19f7bf4c4a81b36c1be4cc8f15 (diff)
downloadbcm5719-llvm-803c66bc6411b84ce315408e38ff00053f23846a.tar.gz
bcm5719-llvm-803c66bc6411b84ce315408e38ff00053f23846a.zip
Add debugging helper
llvm-svn: 5235
Diffstat (limited to 'llvm/lib/Transforms/Utils/ValueMapper.cpp')
-rw-r--r--llvm/lib/Transforms/Utils/ValueMapper.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/ValueMapper.cpp b/llvm/lib/Transforms/Utils/ValueMapper.cpp
index 517a3523389..b54a1a0e42a 100644
--- a/llvm/lib/Transforms/Utils/ValueMapper.cpp
+++ b/llvm/lib/Transforms/Utils/ValueMapper.cpp
@@ -81,7 +81,8 @@ Value *MapValue(const Value *V, std::map<const Value*, Value*> &VM) {
assert(0 && "Unknown type of constant!");
}
}
-
+
+ V->dump();
assert(0 && "Unknown value type: why didn't it get resolved?!");
return 0;
}
OpenPOWER on IntegriCloud