Reverting changes related to on-stack GC-root introduction (except of passing ecma_value_t by const reference).

This reverts commits:
     31e1405f39d72f8b885e92256b0dc29ecab1a99,
     7cb43840b59c539d9b043990ed658ae15a9defc3,
     1ab57a4493689806035a9853b0030cc6fea65590,
     c24b511ca60587e0db12d46a7e7567c86c3649bc,
     b2caf3e8b31b4b6b16499108ee3aabdcb94f0717,
     44f9c307fb6204bfd2181b19a9d94cabddf04de9.
This commit is contained in:
Ruben Ayrapetyan
2015-02-09 17:06:34 +03:00
parent 35aa8238c2
commit ba348831ca
114 changed files with 4226 additions and 4916 deletions
+4 -5
View File
@@ -18,7 +18,6 @@
#include "ecma-globals.h"
#include "ecma-stack.h"
#include "ecma-value.h"
#include "globals.h"
/* Maximum opcodes number in bytecode. */
@@ -77,8 +76,8 @@ typedef enum
typedef struct
{
opcode_counter_t pos; /**< current opcode to execute */
const ecma_value_t* this_binding_p; /**< this binding for current context */
const ecma_object_ptr_t *lex_env_p; /**< current lexical environment */
ecma_value_t this_binding; /**< this binding for current context */
ecma_object_t *lex_env_p; /**< current lexical environment */
bool is_strict; /**< is current code execution mode strict? */
bool is_eval_code; /**< is current code executed with eval */
idx_t min_reg_num; /**< minimum idx used for register identification */
@@ -242,11 +241,11 @@ enum __opcode_idx
};
#undef __OP_ENUM_FIELD
#define __OP_FUNC_DECL(name, arg1, arg2, arg3) void opfunc_##name (ecma_completion_value_t &, opcode_t, int_data_t*);
#define __OP_FUNC_DECL(name, arg1, arg2, arg3) ecma_completion_value_t opfunc_##name (opcode_t, int_data_t*);
OP_LIST (OP_FUNC_DECL)
#undef __OP_FUNC_DECL
typedef void (*opfunc) (ecma_completion_value_t &, opcode_t, int_data_t *);
typedef ecma_completion_value_t (*opfunc) (opcode_t, int_data_t *);
#define GETOP_DECL_0(a, name) \
opcode_t getop_##name (void);