Remember to print out the next instruction if stepping over an external method call
authorChris Lattner <sabre@nondot.org>
Mon, 29 Oct 2001 16:05:19 +0000 (16:05 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 29 Oct 2001 16:05:19 +0000 (16:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1028 91177308-0d34-0410-b5e6-96231b3b80d8

lib/ExecutionEngine/Interpreter/Execution.cpp

index 9d07d2dd1a72c16ab5b33dd41b107dd1c33a172c..60bd77bcca56efdfb971780419a5c90d21c3a43b 100644 (file)
@@ -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...