about summary refs log tree commit diff stats
path: root/miasm2/jitter/jitcore.py
diff options
context:
space:
mode:
Diffstat (limited to 'miasm2/jitter/jitcore.py')
-rw-r--r--miasm2/jitter/jitcore.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/miasm2/jitter/jitcore.py b/miasm2/jitter/jitcore.py
index ecf55bd5..b0f911eb 100644
--- a/miasm2/jitter/jitcore.py
+++ b/miasm2/jitter/jitcore.py
@@ -128,12 +128,12 @@ class JitCore(object):
 
     def disbloc(self, addr, vm):
         """Disassemble a new block and JiT it
-        @addr: address of the block to disassemble (asm_label or int)
+        @addr: address of the block to disassemble (AsmLabel or int)
         @vm: VmMngr instance
         """
 
         # Get the block
-        if isinstance(addr, asmbloc.asm_label):
+        if isinstance(addr, asmbloc.AsmLabel):
             addr = addr.offset
 
         # Prepare disassembler