Skip to content

Commit

Permalink
flambda-backend: NO_PROFINFO is 0 (#2426)
Browse files Browse the repository at this point in the history
  • Loading branch information
ncik-roberts authored Apr 10, 2024
1 parent 0d9efda commit e90c817
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions runtime4/caml/mlvalues.h
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,7 @@ originally built for Spacetime profiling, hence the odd name.
#ifdef WITH_PROFINFO
#define PROFINFO_SHIFT (Gen_profinfo_shift(PROFINFO_WIDTH))
#define PROFINFO_MASK (Gen_profinfo_mask(PROFINFO_WIDTH))
/* Use NO_PROFINFO to debug problems with profinfo macros */
#define NO_PROFINFO 0xff
#define NO_PROFINFO 0
#define Hd_no_profinfo(hd) ((hd) & ~(PROFINFO_MASK << PROFINFO_SHIFT))
#define Wosize_hd(hd) ((mlsize_t) ((Hd_no_profinfo(hd)) >> 10))
#define Profinfo_hd(hd) (Gen_profinfo_hd(PROFINFO_WIDTH, hd))
Expand Down

0 comments on commit e90c817

Please sign in to comment.