From 2a0b0f48dcb26acb933bc204fe21148bf25b3195 Mon Sep 17 00:00:00 2001 From: clc5q <clc5q@git.zephyr-software.com> Date: Fri, 21 Jul 2017 18:54:52 +0000 Subject: [PATCH] Fix RTL building for into and int3 opcodes, which have no operands. Former-commit-id: 4c643be0e465cc036dbe2bcd76b91b8fabd35f43 --- src/base/SMPInstr.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/base/SMPInstr.cpp b/src/base/SMPInstr.cpp index e7a8a668..0a6d2d12 100644 --- a/src/base/SMPInstr.cpp +++ b/src/base/SMPInstr.cpp @@ -19886,7 +19886,8 @@ bool SMPInstr::BuildCallRTL(void) { std::size_t OpNum; bool SourceFound = false; uint16_t opcode = this->GetIDAOpcode(); - bool ParameterlessCall = ((opcode == STARS_NN_syscall) || (opcode == STARS_NN_sysenter)); + bool ParameterlessCall = ((opcode == STARS_NN_syscall) || (opcode == STARS_NN_sysenter) + || (opcode == STARS_NN_into) || (opcode == STARS_NN_int3)); STARSOpndTypePtr VoidOp = this->STARSInstPtr->MakeVoidOpnd(); SMPRegTransfer *TempRT = NULL; -- GitLab