Skip to content

Commit

Permalink
deprecates X86_env.nums in correct place (#864)
Browse files Browse the repository at this point in the history
just moved `[@@deprecated]` after `X86_env.nums`.
Previously we had in compile time the next warning
```
Warning 3: deprecated: CPU.r
[since 2018-01] user `r` instead
```
i.e. a new definition was deprecated, not a previous one.
  • Loading branch information
gitoleg authored and ivg committed Aug 29, 2018
1 parent 392c959 commit 74e06f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/x86_cpu/x86_env.mli
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,9 @@ module type ModeVars = sig
Due to a legacy issues r.(0) -> r8, r.(1) -> r8, ... *)
val r : var array

[@@deprecated "[since 2018-01] user `r` instead"]
(** Legacy version of the `r` array, use `r` instead. *)
(** Legacy version of the `r` array. *)
val nums : var array
[@@deprecated "[since 2018-01] use `r` instead"]

(** array of YMM registers *)
val ymms: var array
Expand Down

0 comments on commit 74e06f1

Please sign in to comment.