From 069aa256afa781b05665f7e5d2acdb4641d6d560 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 29 Oct 2001 16:05:19 +0000 Subject: [PATCH] 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 --- lib/ExecutionEngine/Interpreter/Execution.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/ExecutionEngine/Interpreter/Execution.cpp b/lib/ExecutionEngine/Interpreter/Execution.cpp index 9d07d2dd1a7..60bd77bcca5 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...