diff options
-rw-r--r-- | src/disasm.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/disasm.cpp b/src/disasm.cpp index bf72674..847d11d 100644 --- a/src/disasm.cpp +++ b/src/disasm.cpp @@ -195,9 +195,6 @@ void DisasmMap::Disasm( } } inside_code_span = s.walk && IsNextLikelyAnInstruction(node->op); - if (nested && !inside_code_span) { - return; - } at += node->size; // NOTE: There is not much information about a reference passed further, // so just don't add a reference of immediate if s.imm_labels is false @@ -236,6 +233,9 @@ void DisasmMap::Disasm( } } } + if (nested && !inside_code_span) { + return; + } } } |