File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ let is_tmc_attribute =
45
45
[ [" tail_mod_cons" ; " ocaml.tail_mod_cons" ], true ]
46
46
47
47
let is_poll_attribute =
48
- [ [" poll" ], true ]
48
+ [ [" poll" ; " ocaml.poll " ], true ]
49
49
50
50
let find_attribute p attributes =
51
51
let inline_attribute = Builtin_attributes. filter_attributes p attributes in
Original file line number Diff line number Diff line change @@ -49,6 +49,8 @@ let warn_unused () =
49
49
let builtin_attrs =
50
50
[ " inline" ; " ocaml.inline"
51
51
; " inlined" ; " ocaml.inlined"
52
+ ; " specialise" ; " ocaml.specialise"
53
+ ; " specialised" ; " ocaml.specialised"
52
54
; " tailcall" ; " ocaml.tailcall"
53
55
; " unrolled" ; " ocaml.unrolled"
54
56
; " error" ; " ocaml.error"
@@ -79,6 +81,7 @@ let builtin_attrs =
79
81
; " include_functor" ; " ocaml.include_functor" ; " extension.include_functor"
80
82
; " noalloc" ; " ocaml.noalloc"
81
83
; " untagged" ; " ocaml.untagged"
84
+ ; " poll" ; " ocaml.poll"
82
85
]
83
86
84
87
let builtin_attrs =
You can’t perform that action at this time.
0 commit comments