aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2012-04-24 17:56:40 +0000
committerSean Callanan <scallanan@apple.com>2012-04-24 17:56:40 +0000
commit4538aa25bd38a1804e62968e840916ba73491805 (patch)
treef6bd0a65e216a1f1fbd5916b1afdf31a877a875e /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent3cd53a1a52812f4ad0c998b8b8380030b57045f4 (diff)
downloadllvm-4538aa25bd38a1804e62968e840916ba73491805.zip
llvm-4538aa25bd38a1804e62968e840916ba73491805.tar.gz
llvm-4538aa25bd38a1804e62968e840916ba73491805.tar.bz2
Fixed a crasher that occurs when an expression
doesn't return a result. If that expression can't be run in the current context (for example, if it uses a function and there is no running process) then we used to try to destroy the nonexistent result variable. We now only destroy the result variable if we actually made one. llvm-svn: 155455
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions