summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/Interpreter
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
commit13babb6805df90714476483cc3eeef6dc3582ed1 (patch)
treedaa0e517cd1a8c5252d0a5967275413c13c0dcff /llvm/lib/ExecutionEngine/Interpreter
parent689049e1cdef49cad844e1ff5bfe34ab80df69e9 (diff)
downloadbcm5719-llvm-13babb6805df90714476483cc3eeef6dc3582ed1.tar.gz
bcm5719-llvm-13babb6805df90714476483cc3eeef6dc3582ed1.zip
Remember to print out the next instruction if stepping over an external method call
llvm-svn: 1028
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter')
-rw-r--r--llvm/lib/ExecutionEngine/Interpreter/Execution.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp b/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
index 9d07d2dd1a7..60bd77bcca5 100644
--- a/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
+++ b/llvm/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...
OpenPOWER on IntegriCloud