595 Commits

Author SHA1 Message Date
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
Ilmir Usmanov
e91cb75dcc Fix locus of strings 2014-10-10 17:14:48 +04:00
Ilmir Usmanov
64a0d8a8b0 Fix error message on for-in loops 2014-10-10 14:57:56 +04:00
Ilmir Usmanov
2c90f8a7f1 Fix break and continue generation 2014-10-09 20:55:16 +04:00
Ilmir Usmanov
9cd4344c4e Fix for loop parsing 2014-10-09 19:58:13 +04:00
Ilmir Usmanov
eeb497b84b Fix if-else without braces 2014-10-09 19:41:42 +04:00
Ilmir Usmanov
29c734d95d Reuse tmps in vargs 2014-10-09 18:28:28 +04:00
e.gavrin
1590fe6180 Add benchmarks 2014-10-09 18:18:26 +04:00
Ilmir Usmanov
a902a97025 Add another 'out of memory' error message 2014-10-09 17:49:02 +04:00
Ilmir Usmanov
bfa186d43a Generate only one var_decl opcodes for each variable declared in a scope 2014-10-09 15:30:30 +04:00
Ilmir Usmanov
29ffa6f777 Pretty-printer refactoring. Add pretty-printing of metas. 2014-10-09 13:19:36 +04:00
Ilmir Usmanov
1dd94c12b2 Fix insert_semicolon 2014-10-08 19:15:25 +04:00
Ilmir Usmanov
24920cba57 Fix property names parsing 2014-10-08 17:09:02 +04:00
Ilmir Usmanov
c3f493c693 Some minor fixes in parser: Do not warn on escape sequences. Allow 'new' operator without parens. Fix 'var' parsing in preparser. Fix a test. 2014-10-08 16:32:36 +04:00
Ilmir Usmanov
9775d23274 Support 'delete' and 'void' operators in parser. 2014-10-08 14:52:38 +04:00
Ilmir Usmanov
3d3da5d481 Preparser: new pass to order var_decls prior to parser 2014-10-07 20:14:41 +04:00
Ilmir Usmanov
62cc3cc604 Fix && and || parsing 2014-10-06 14:35:26 +04:00
Ilmir Usmanov
17ee2eca50 Warn on escape sequences 2014-10-06 14:35:26 +04:00
Ilmir Usmanov
3d5fd214f3 Add switch-case 2014-10-06 14:35:26 +04:00
Ilmir Usmanov
8c7daf4850 Print ERR_MEMORY on stack 2014-10-06 14:35:26 +04:00
Ilmir Usmanov
d3dc64ca53 Pretty-print native_calls 2014-10-06 14:35:26 +04:00
Ilmir Usmanov
3819883f80 Add human-readable syntax errors 2014-10-03 19:01:45 +04:00
Ilmir Usmanov
c4c713535e Fix insert_semicolon 2014-10-02 21:35:39 +04:00
Ilmir Usmanov
af00691d1d Add this_arg dumping in parser 2014-10-02 19:31:29 +04:00