Add support for --debug-only=interpreter, to print out instrs before
authorBrian Gaeke <gaeke@uiuc.edu>
Thu, 11 Dec 2003 00:22:59 +0000 (00:22 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Thu, 11 Dec 2003 00:22:59 +0000 (00:22 +0000)
commit63438cc9b02d715ef2ef470c5a4a6282c5fef406
tree186c8fee252761a053227babe4f5b9a6067e2550
parentf5ba89df1fb9d52bf6b7ba1def6bd00b8b668336
Add support for --debug-only=interpreter, to print out instrs before
interpreting them.

Move support for getting the value of a ConstantExpr into
getConstantExprValue(), and add support for the rest of the different
kinds of ConstantExprs.  (I don't think I like ConstantExprs!)
This requires separate procedures executeShlInst() and executeShrInst().

Reduce the number of references to TheEE.

Get rid of an old comment mentioning annotations.

Fix exitCalled(), which was crashing the Interpreter. This was a
leftover from the return-value code refactoring.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10389 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ExecutionEngine/Interpreter/Execution.cpp