Adding is_strict flag to interpreter context.

This commit is contained in:
Ruben Ayrapetyan
2014-07-21 20:24:48 +04:00
parent 7e87a1fde0
commit 7a0612d441
3 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ struct __int_data
int pos; /**< current opcode to execute */
ecma_Object_t *this_binding_p; /**< this binding for current context */
ecma_Object_t *lex_env_p; /**< current lexical environment */
int *root_op_addr; /**< pointer to first opcode saved */
bool is_strict; /**< is current code execution mode strict? */
};
void init_int (const OPCODE* program_p);