618 Commits

Author SHA1 Message Date
Ilmir Usmanov
e1e7752a62 Fix bytecode generation of binary expressions. Fix bytecode generation of query operator. Fix tests. 2014-10-15 20:08:43 +04:00
Ruben Ayrapetyan
aaadfec530 Fixing assertion checks in 'try' opcode handler. 2014-10-15 19:40:46 +04:00
Ruben Ayrapetyan
c7eec63e28 Fixing array instance construction routine: setting prototype to Array.prototype built-in object. 2014-10-15 19:31:30 +04:00
Ruben Ayrapetyan
9b178f5ab0 Implementing 'length' property of String instances. 2014-10-15 19:02:41 +04:00
Ruben Ayrapetyan
5d874596ec Fixing 'instanceof' opcode handler. 2014-10-15 18:46:40 +04:00
Ruben Ayrapetyan
11252394a5 Fixing 'delete_prop' opcode handler. 2014-10-15 18:11:45 +04:00
Ruben Ayrapetyan
0c9f03c313 Fixing opfunc_delete_var. 2014-10-15 18:02:29 +04:00
Ruben Ayrapetyan
e8d728f8ce Fixing typeof for boolean arguments. 2014-10-15 18:02:10 +04:00
Ilmir Usmanov
49d990ad32 Allow some of FutureReservedWords in non-strict mode 2014-10-15 17:53:19 +04:00
Ruben Ayrapetyan
41b7ca2faa Fixing 'in' opcode handler. 2014-10-15 17:41:48 +04:00
Ruben Ayrapetyan
47ed774232 Fixing obj_decl opcode handler to handle property name argument as index of register variable containing a declared property's name. 2014-10-15 17:33:58 +04:00
Ilmir Usmanov
77d56c5f93 Fix function end meta in property setter and getter 2014-10-15 17:15:43 +04:00
Ruben Ayrapetyan
b3f45c5c82 Fixing ecma_op_abstract_equality_compare. 2014-10-15 16:56:58 +04:00
Ruben Ayrapetyan
e5b0bb1a0d Fixing ecma_op_abstract_equality_compare. 2014-10-15 16:56:58 +04:00
Ilmir Usmanov
af5cf79d3c Use tmps as property names 2014-10-15 16:40:56 +04:00
Ruben Ayrapetyan
efe713f2a9 Fixing memory leak in ecma_op_function_construct. 2014-10-15 16:11:04 +04:00
Ruben Ayrapetyan
2a8adf7698 Fixing memory leak in ecma_op_string_object_get_own_property. 2014-10-15 16:11:04 +04:00
Ruben Ayrapetyan
7dcbeec487 Fixing typeof with null argument. 2014-10-15 16:11:04 +04:00
Ilmir Usmanov
a9856dcf9a Add support of NaN in opfunc_unary_minus 2014-10-15 15:33:00 +04:00
Ilmir Usmanov
032031a861 Add unary_plus and unary_minus opcodes 2014-10-15 15:20:49 +04:00
Ilmir Usmanov
819361c234 Fix postfix expression parsing 2014-10-15 14:33:39 +04:00
Ruben Ayrapetyan
391b6caebe Fixing this_arg handling in opfunc_call_n. 2014-10-15 13:57:26 +04:00
Ilmir Usmanov
a49b52105e Fix generation of this_arg. Fix pretty-printing of retval, prop_setter, prop_getter and string assignments 2014-10-15 12:57:11 +04:00
Ilmir Usmanov
7a156334bb Fix vargs pretty-printing 2014-10-15 10:53:40 +04:00
Ilmir Usmanov
562f877328 Remove end-of-file marker and fix lsr's operands. 2014-10-14 22:02:02 +04:00
Ruben Ayrapetyan
e9a632ea4e Fixing sign of converted number in ecma_zt_string_to_number. 2014-10-14 19:11:11 +04:00
Ruben Ayrapetyan
427dd83d99 Fixing postfix increment and postfix decrement opcodes handlers. 2014-10-14 18:52:06 +04:00
Ruben Ayrapetyan
ab5a66cebe Implementing __aeabi_llsr (ARM Runtime ABI: long long right shift). 2014-10-14 18:09:11 +04:00
Ruben Ayrapetyan
4689f6c3c5 Handling elements bigger than 8 bytes in linked_list_set_element. 2014-10-14 17:35:07 +04:00
Ruben Ayrapetyan
004541fdc4 loop_demo.js in 'generated_source' as modifiable characters array. 2014-10-14 17:23:11 +04:00
Ilmir Usmanov
9be0a85c1c Fix 'while' bytecode generation 2014-10-14 16:55:09 +04:00
Ruben Ayrapetyan
d49dfd3956 Implementing __aeabi_llsl (ARM Runtime ABI: long long left shift). 2014-10-14 15:13:16 +04:00
Ilmir Usmanov
64e286f766 Enable pretty-printer only on host and debug 2014-10-14 15:06:21 +04:00
Ilmir Usmanov
053cbc769f Fix alignment: part 2 2014-10-14 15:06:21 +04:00
Ruben Ayrapetyan
c4ba033970 Renaming ERR_MEMORY -> ERR_OUT_OF_MEMORY. 2014-10-14 14:08:38 +04:00
Ilmir Usmanov
85ad5f8350 Fix alignment 2014-10-13 21:42:25 +04:00
Ruben Ayrapetyan
6430a104b3 ecma_ref_ecma_string -> ecma_copy_or_ref_ecma_string: copying ecma-string when the string's reference counter reaches maximum value. 2014-10-13 18:59:07 +04:00
Ruben Ayrapetyan
9a15286aad Fixing ecma_gc_is_object_may_ref_younger_objects. 2014-10-13 18:35:27 +04:00
Ilmir Usmanov
8a517ab03e Add support of octal integer literals 2014-10-13 17:45:20 +04:00
Ilmir Usmanov
c33afca360 Add support of 'default' clause in 'switch' statement 2014-10-13 16:32:17 +04:00
Ruben Ayrapetyan
211ea32dbf Fixing jrt_set_mem_limits. 2014-10-13 15:53:04 +04:00
Ruben Ayrapetyan
7819adcf99 Implementing ToObject routine for case argument is string literal. 2014-10-13 13:29:29 +04:00
Ruben Ayrapetyan
fc69e52ca3 Fixing memory leak in ecma_op_string_object_get_own_property. 2014-10-13 13:29:29 +04:00
Ruben Ayrapetyan
76bebfc532 Fixing GetValue / PutValue routines for primitive base values (access after ToObject). 2014-10-13 13:29:29 +04:00
Ilmir Usmanov
18618c6501 Freaking FINALLY: postparser 2014-10-12 20:34:23 +04:00
Ilmir Usmanov
63662dfb35 Postparser landing patch: add tree of scopes 2014-10-12 20:34:23 +04:00
Ilmir Usmanov
cb7e54fe22 Preparser landing patch: refactor linked-list 2014-10-12 20:34:22 +04:00
Ilmir Usmanov
cd67b69bf9 Fix integer overflow while parsing numbers 2014-10-10 20:22:08 +04:00
Ilmir Usmanov
5c6dbd1466 Allow absent of semicolon before '}' token 2014-10-10 19:05:37 +04:00
Ilmir Usmanov
19d0690586 Support properties named 'get' and 'set' 2014-10-10 18:27:28 +04:00