Introducing "on-stack" ecma-string descriptors and using them in get_variable_value / set_variable_value.

This commit is contained in:
Ruben Ayrapetyan
2014-11-21 12:56:45 +03:00
parent 14ab1b3355
commit 036521627e
6 changed files with 220 additions and 73 deletions
+4
View File
@@ -730,6 +730,10 @@ typedef struct
/** Where the string's data is placed (ecma_string_container_t) */
unsigned int container : 3;
/** Flag indicating whether the string descriptor is placed
* in a stack variable (not in the heap) */
unsigned int is_stack_var : 1;
/** String's length */
ecma_length_t length;