Skip to content

Commit 5dfac12

Browse files
committed
CHB: remove unused variables
1 parent 7e53e43 commit 5dfac12

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

CodeHawk/CHB/bchlibarm32/bCHTranslateARMToCHIF.ml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ open BCHCPURegisters
5050
open BCHDoubleword
5151
open BCHFloc
5252
open BCHFtsParameter
53-
open BCHFunctionData
5453
open BCHFunctionInfo
5554
open BCHFunctionInterface
5655
open BCHLibTypes
@@ -493,7 +492,6 @@ let translate_arm_instruction
493492
~(funloc:location_int)
494493
~(codepc:arm_code_pc_int)
495494
~(blocklabel:symbol_t)
496-
~(exitlabel:symbol_t)
497495
~(cmds:cmd_t list) =
498496
let (ctxtiaddr, instr) = codepc#get_next_instruction in
499497
let faddr = funloc#f in
@@ -4042,8 +4040,7 @@ object (self)
40424040
let rec aux cmds =
40434041
let (nodes,edges,newcmds) =
40444042
try
4045-
translate_arm_instruction
4046-
~funloc ~codepc ~blocklabel ~exitlabel ~cmds
4043+
translate_arm_instruction ~funloc ~codepc ~blocklabel ~cmds
40474044
with
40484045
| BCH_failure p ->
40494046
let msg =

CodeHawk/CHB/bchlibarm32/bCHTranslateARMToCHIF.mli

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ val translate_arm_instruction:
4040
funloc:location_int
4141
-> codepc:arm_code_pc_int
4242
-> blocklabel:symbol_t
43-
-> exitlabel:symbol_t
4443
-> cmds:cmd_t list
4544
-> ((symbol_t
4645
* (code_t, 'a) command_t list) list

0 commit comments

Comments
 (0)