From bf7d463da9d22168cf6e2c5b48f7d8bfa5a5734c Mon Sep 17 00:00:00 2001
From: an7s <an7s@git.zephyr-software.com>
Date: Sat, 7 May 2016 00:16:50 +0000
Subject: [PATCH] added ret+pop to FII

Former-commit-id: 900adba8d8f5df61174f92e5c554bbc824994b41
---
 libIRDB/test/fill_in_indtargs.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libIRDB/test/fill_in_indtargs.cpp b/libIRDB/test/fill_in_indtargs.cpp
index dc7aa59f4..037fe4064 100644
--- a/libIRDB/test/fill_in_indtargs.cpp
+++ b/libIRDB/test/fill_in_indtargs.cpp
@@ -2092,7 +2092,7 @@ void setup_icfs(FileIR_t* firp)
 		// disassemble the instruction, and figure out which type of hell node we need.
 		DISASM d;
 		insn->Disassemble(d);
-		if(string("ret ")==d.Instruction.Mnemonic)
+		if(string("ret ")==d.Instruction.Mnemonic || string("retn ")==d.Instruction.Mnemonic)
 		{
 			if(getenv("IB_VERBOSE")!=0)
 				cout<<"using ret hell node for "<<hex<<insn->GetAddress()->GetVirtualOffset()<<endl;
-- 
GitLab