diff options
Diffstat (limited to 'src/lj_obj.h')
-rw-r--r-- | src/lj_obj.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lj_obj.h b/src/lj_obj.h index 7cdc4a1a..afb29d0f 100644 --- a/src/lj_obj.h +++ b/src/lj_obj.h | |||
@@ -441,9 +441,9 @@ enum { | |||
441 | #endif | 441 | #endif |
442 | 442 | ||
443 | #define MMDEF(_) \ | 443 | #define MMDEF(_) \ |
444 | _(index) _(newindex) _(gc) _(mode) _(eq) \ | 444 | _(index) _(newindex) _(gc) _(mode) _(eq) _(len) \ |
445 | /* Only the above (fast) metamethods are negative cached (max. 8). */ \ | 445 | /* Only the above (fast) metamethods are negative cached (max. 8). */ \ |
446 | _(len) _(lt) _(le) _(concat) _(call) \ | 446 | _(lt) _(le) _(concat) _(call) \ |
447 | /* The following must be in ORDER ARITH. */ \ | 447 | /* The following must be in ORDER ARITH. */ \ |
448 | _(add) _(sub) _(mul) _(div) _(mod) _(pow) _(unm) \ | 448 | _(add) _(sub) _(mul) _(div) _(mod) _(pow) _(unm) \ |
449 | /* The following are used in the standard libraries. */ \ | 449 | /* The following are used in the standard libraries. */ \ |
@@ -455,7 +455,7 @@ MMDEF(MMENUM) | |||
455 | #undef MMENUM | 455 | #undef MMENUM |
456 | MM__MAX, | 456 | MM__MAX, |
457 | MM____ = MM__MAX, | 457 | MM____ = MM__MAX, |
458 | MM_FAST = MM_eq | 458 | MM_FAST = MM_len |
459 | } MMS; | 459 | } MMS; |
460 | 460 | ||
461 | /* GC root IDs. */ | 461 | /* GC root IDs. */ |