summaryrefslogtreecommitdiff
path: root/test/testinterp/t092-pushacc0.ml
blob: ffdc3b0404763e13a1f6680f6bad71ac86cda987 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
open Lib;;
let x = false in
if x then raise Not_found
;;

(**
       0 CONSTINT 42
       2 PUSHACC0 
       3 MAKEBLOCK1 0
       5 POP 1
       7 SETGLOBAL Lib
       9 CONST0 
      10 PUSHACC0 
      11 BRANCHIFNOT 18
      13 GETGLOBAL Not_found
      15 MAKEBLOCK1 0
      17 RAISE 
      18 POP 1
      20 ATOM0 
      21 SETGLOBAL T092-pushacc0
      23 STOP 
**)