Introduce for-in opcode; implement handler for the opcode.

JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
This commit is contained in:
Ruben Ayrapetyan
2015-06-23 19:03:21 +03:00
parent 6c6e740c7a
commit b988fe2fce
6 changed files with 293 additions and 6 deletions
+5
View File
@@ -793,6 +793,11 @@ typedef uint32_t ecma_magic_string_ex_id_t;
*/
typedef uint8_t ecma_string_hash_t;
/**
* Length of string hash, in bits
*/
#define ECMA_STRING_HASH_BITS (sizeof (ecma_string_hash_t) * JERRY_BITSINBYTE)
/**
* Number of string's last characters to use for hash calculation
*/