diff options
| author | Ajax <commial@gmail.com> | 2018-06-22 16:10:51 +0200 |
|---|---|---|
| committer | Ajax <commial@gmail.com> | 2018-06-22 17:37:30 +0200 |
| commit | e334e25a848bf8311ff3cd0c00d2c5f471e007f5 (patch) | |
| tree | a4c3572b7ad861e7a188cc4e15aed7b81c6911bb /miasm2/arch/mips32/jit.py | |
| parent | 191a47a37880caecb47f9b47ddf71fede335d1a0 (diff) | |
| download | miasm-e334e25a848bf8311ff3cd0c00d2c5f471e007f5.tar.gz miasm-e334e25a848bf8311ff3cd0c00d2c5f471e007f5.zip | |
Jitters: use loc_key instead of names or offset for basic block labeling
Diffstat (limited to 'miasm2/arch/mips32/jit.py')
| -rw-r--r-- | miasm2/arch/mips32/jit.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/arch/mips32/jit.py b/miasm2/arch/mips32/jit.py index dad70de8..c637fb13 100644 --- a/miasm2/arch/mips32/jit.py +++ b/miasm2/arch/mips32/jit.py @@ -71,7 +71,7 @@ class mipsCGen(CGen): loc_key = self.get_block_post_label(block) offset = self.ir_arch.symbol_pool.loc_key_to_offset(loc_key) - out = (self.CODE_RETURN_NO_EXCEPTION % (self.loc_key_to_jitlabel(loc_key), + out = (self.CODE_RETURN_NO_EXCEPTION % (loc_key, self.C_PC, m2_expr.ExprId('branch_dst_irdst', 32), m2_expr.ExprId('branch_dst_irdst', 32), |