Change parser to stack-only version
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#endif
|
||||
|
||||
#include "opcodes.h"
|
||||
#include "ecma-globals.h"
|
||||
|
||||
OPCODE __program[128];
|
||||
|
||||
@@ -31,11 +32,13 @@ opfunc __opfuncs[LAST_OP];
|
||||
struct __int_data
|
||||
{
|
||||
int pos;
|
||||
ecma_Object_t *pThisBinding; /**< this binding for current context */
|
||||
ecma_Object_t *pLexEnv; /**< current lexical environment */
|
||||
int *root_op_addr;
|
||||
};
|
||||
|
||||
void gen_bytecode ();
|
||||
void run_int ();
|
||||
void gen_bytecode (void);
|
||||
void run_int (void);
|
||||
void run_int_from_pos (struct __int_data *);
|
||||
|
||||
#endif /* INTERPRETER_H */
|
||||
|
||||
Reference in New Issue
Block a user