Skip to content

Commit

Permalink
Fix IRXLOAD_* mode bits description.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Pall committed Jul 19, 2021
1 parent 3a0cf69 commit 1d5ef35
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lj_ir.h
Original file line number Diff line number Diff line change
Expand Up @@ -232,10 +232,10 @@ IRFLDEF(FLENUM)
#define IRSLOAD_READONLY 0x10 /* Read-only, omit slot store. */
#define IRSLOAD_INHERIT 0x20 /* Inherited by exits/side traces. */

/* XLOAD mode, stored in op2. */
#define IRXLOAD_READONLY 1 /* Load from read-only data. */
#define IRXLOAD_VOLATILE 2 /* Load from volatile data. */
#define IRXLOAD_UNALIGNED 4 /* Unaligned load. */
/* XLOAD mode bits, stored in op2. */
#define IRXLOAD_READONLY 0x01 /* Load from read-only data. */
#define IRXLOAD_VOLATILE 0x02 /* Load from volatile data. */
#define IRXLOAD_UNALIGNED 0x04 /* Unaligned load. */

/* BUFHDR mode, stored in op2. */
#define IRBUFHDR_RESET 0 /* Reset buffer. */
Expand Down

0 comments on commit 1d5ef35

Please sign in to comment.