Branch: Tag:

2021-12-30

2021-12-30 09:31:47 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler [Typechecker]: Add PT_FLAG_REMAP_INEXACT.

This flag causes type_binop() to cheat a bit, and is useful if
its result is only going to be used to compare against NULL.
This speeds up pike_types_le() quite a bit for some cases.

82:    PT_FLAG_REMAP_BOTH_MARKERS_MASK = 0x06, /* Mask for the above */    PT_FLAG_REMAP_EVAL_MARKERS = 0x08, /* Eval marker assignments */    -  +  PT_FLAG_REMAP_INEXACT = 0x20, /* Result is used as flag */    PT_FLAG_REMAP_INHIBIT = 0x40, /* Inhibit remapping */    PT_FLAG_REMAP_TRACE = 0x80, /* Trace the operations */    };