Switch to pre-initialized stacks. Drop frame clearing in interpreter.

This commit is contained in:
Mike Pall
2010-02-11 01:21:40 +01:00
parent bb0384c366
commit ab90b8fc2b
7 changed files with 2707 additions and 2696 deletions

View File

@@ -9,7 +9,9 @@
#include "lj_obj.h"
/* Garbage collector states. Order matters. */
enum { GCSpause, GCSpropagate, GCSsweepstring, GCSsweep, GCSfinalize };
enum {
GCSpause, GCSpropagate, GCSatomic, GCSsweepstring, GCSsweep, GCSfinalize
};
/* Bitmasks for marked field of GCobj. */
#define LJ_GC_WHITE0 0x01