aboutsummaryrefslogtreecommitdiff
path: root/lib/ExecutionEngine/Interpreter/Execution.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-10-29 16:05:19 +0000
committerChris Lattner <sabre@nondot.org>2001-10-29 16:05:19 +0000
commit069aa256afa781b05665f7e5d2acdb4641d6d560 (patch)
tree4f5a5c7ecf80d6c94894eef954dd04a5dfb324a4 /lib/ExecutionEngine/Interpreter/Execution.cpp
parenta74a6b5fdf35f011ca38e219e3728ca74fc5ea04 (diff)
Remember to print out the next instruction if stepping over an external method call
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1028 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/Interpreter/Execution.cpp')
-rw-r--r--lib/ExecutionEngine/Interpreter/Execution.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ExecutionEngine/Interpreter/Execution.cpp b/lib/ExecutionEngine/Interpreter/Execution.cpp
index 9d07d2dd1a..60bd77bcca 100644
--- a/lib/ExecutionEngine/Interpreter/Execution.cpp
+++ b/lib/ExecutionEngine/Interpreter/Execution.cpp
@@ -907,6 +907,8 @@ void Interpreter::nextInstruction() { // Do the 'next' command
// able the step into a function, if it's external for example.
if (ECStack.size() != StackSize)
finish(); // Finish executing the function...
+ else
+ printCurrentInstruction();
} else {
// Normal instruction, just step...