Commit Graph

  • 2d9a8da5c2 Fixing some tests from internal test suite. Ruben Ayrapetyan 2014-10-15 16:10:26 +04:00
  • efe713f2a9 Fixing memory leak in ecma_op_function_construct. Ruben Ayrapetyan 2014-10-15 15:55:07 +04:00
  • 2a8adf7698 Fixing memory leak in ecma_op_string_object_get_own_property. Ruben Ayrapetyan 2014-10-15 14:51:42 +04:00
  • 7dcbeec487 Fixing typeof with null argument. Ruben Ayrapetyan 2014-10-15 14:19:23 +04:00
  • a9856dcf9a Add support of NaN in opfunc_unary_minus Ilmir Usmanov 2014-10-15 15:33:00 +04:00
  • 032031a861 Add unary_plus and unary_minus opcodes Ilmir Usmanov 2014-10-15 15:20:49 +04:00
  • 819361c234 Fix postfix expression parsing Ilmir Usmanov 2014-10-15 14:33:30 +04:00
  • 391b6caebe Fixing this_arg handling in opfunc_call_n. Ruben Ayrapetyan 2014-10-15 13:57:26 +04:00
  • a49b52105e Fix generation of this_arg. Fix pretty-printing of retval, prop_setter, prop_getter and string assignments Ilmir Usmanov 2014-10-15 12:57:11 +04:00
  • c8686d9d9b Fix test Ilmir Usmanov 2014-10-15 10:52:53 +04:00
  • 7a156334bb Fix vargs pretty-printing Ilmir Usmanov 2014-10-15 10:52:08 +04:00
  • 948c74b4b9 Os by default. Ilmir Usmanov 2014-10-14 22:06:04 +04:00
  • 562f877328 Remove end-of-file marker and fix lsr's operands. Ilmir Usmanov 2014-10-14 22:01:21 +04:00
  • e9a632ea4e Fixing sign of converted number in ecma_zt_string_to_number. Ruben Ayrapetyan 2014-10-14 19:11:04 +04:00
  • 427dd83d99 Fixing postfix increment and postfix decrement opcodes handlers. Ruben Ayrapetyan 2014-10-14 18:48:22 +04:00
  • ab5a66cebe Implementing __aeabi_llsr (ARM Runtime ABI: long long right shift). Ruben Ayrapetyan 2014-10-14 18:08:46 +04:00
  • 4689f6c3c5 Handling elements bigger than 8 bytes in linked_list_set_element. Ruben Ayrapetyan 2014-10-14 17:35:07 +04:00
  • 004541fdc4 loop_demo.js in 'generated_source' as modifiable characters array. Ruben Ayrapetyan 2014-10-14 16:54:13 +04:00
  • 05103b1ecc Reducing waitTime in loop_demo.js Ruben Ayrapetyan 2014-10-14 16:52:47 +04:00
  • 7d27375860 Representing script as modifiable characters array for MCU. Ruben Ayrapetyan 2014-10-14 16:51:18 +04:00
  • 9be0a85c1c Fix 'while' bytecode generation Ilmir Usmanov 2014-10-14 16:55:09 +04:00
  • 78367993db Replacing -O3 optimization option with -Os. Ruben Ayrapetyan 2014-10-14 15:05:07 +04:00
  • d49dfd3956 Implementing __aeabi_llsl (ARM Runtime ABI: long long left shift). Ruben Ayrapetyan 2014-10-14 15:04:17 +04:00
  • 64e286f766 Enable pretty-printer only on host and debug Ilmir Usmanov 2014-10-14 15:05:48 +04:00
  • 053cbc769f Fix alignment: part 2 Ilmir Usmanov 2014-10-14 14:26:52 +04:00
  • c4ba033970 Renaming ERR_MEMORY -> ERR_OUT_OF_MEMORY. Ruben Ayrapetyan 2014-10-14 14:08:38 +04:00
  • 85ad5f8350 Fix alignment Ilmir Usmanov 2014-10-13 21:42:25 +04:00
  • 38b47eaba7 Reducing number of iterations in nested_function.js: 1000 -> 100. Ruben Ayrapetyan 2014-10-13 19:34:10 +04:00
  • d2ceca87d2 Enabling jerry/sunspider/controlflow-recursive and jerry/sunspider/math-spectral-norm benchmarks. Ruben Ayrapetyan 2014-10-13 19:09:09 +04:00
  • 6430a104b3 ecma_ref_ecma_string -> ecma_copy_or_ref_ecma_string: copying ecma-string when the string's reference counter reaches maximum value. Ruben Ayrapetyan 2014-10-13 18:59:07 +04:00
  • 9a15286aad Fixing ecma_gc_is_object_may_ref_younger_objects. Ruben Ayrapetyan 2014-10-13 18:34:23 +04:00
  • 8a517ab03e Add support of octal integer literals Ilmir Usmanov 2014-10-13 17:45:20 +04:00
  • c33afca360 Add support of 'default' clause in 'switch' statement Ilmir Usmanov 2014-10-13 16:28:36 +04:00
  • 9f6ebb310b Removing test suite for Compact Profile. Ruben Ayrapetyan 2014-10-13 16:27:16 +04:00
  • 211ea32dbf Fixing jrt_set_mem_limits. Ruben Ayrapetyan 2014-10-13 15:53:04 +04:00
  • ee0d800b82 Copying and reducing test suite for Compact profile. Ruben Ayrapetyan 2014-10-13 14:59:33 +04:00
  • db6b12f958 Fixing two tests in Jerry test suite. Ruben Ayrapetyan 2014-10-13 14:58:46 +04:00
  • 7819adcf99 Implementing ToObject routine for case argument is string literal. Ruben Ayrapetyan 2014-10-13 11:22:56 +04:00
  • fc69e52ca3 Fixing memory leak in ecma_op_string_object_get_own_property. Ruben Ayrapetyan 2014-10-13 11:22:15 +04:00
  • 76bebfc532 Fixing GetValue / PutValue routines for primitive base values (access after ToObject). Ruben Ayrapetyan 2014-10-13 11:20:17 +04:00
  • 18618c6501 Freaking FINALLY: postparser Ilmir Usmanov 2014-10-12 20:33:37 +04:00
  • 63662dfb35 Postparser landing patch: add tree of scopes Ilmir Usmanov 2014-10-12 17:53:02 +04:00
  • cb7e54fe22 Preparser landing patch: refactor linked-list Ilmir Usmanov 2014-10-11 22:57:37 +04:00
  • ff935ea417 Add support scripts for testing and becnmarking e.gavrin 2014-10-11 19:09:21 +04:00
  • cd67b69bf9 Fix integer overflow while parsing numbers Ilmir Usmanov 2014-10-10 20:22:08 +04:00
  • 5c6dbd1466 Allow absent of semicolon before '}' token Ilmir Usmanov 2014-10-10 19:05:15 +04:00
  • 19d0690586 Support properties named 'get' and 'set' Ilmir Usmanov 2014-10-10 18:27:28 +04:00
  • e91cb75dcc Fix locus of strings Ilmir Usmanov 2014-10-10 17:14:48 +04:00
  • 64a0d8a8b0 Fix error message on for-in loops Ilmir Usmanov 2014-10-10 14:57:56 +04:00
  • 2c90f8a7f1 Fix break and continue generation Ilmir Usmanov 2014-10-09 20:55:16 +04:00
  • 9cd4344c4e Fix for loop parsing Ilmir Usmanov 2014-10-09 19:58:13 +04:00
  • eeb497b84b Fix if-else without braces Ilmir Usmanov 2014-10-09 19:41:42 +04:00
  • 29c734d95d Reuse tmps in vargs Ilmir Usmanov 2014-10-09 18:28:01 +04:00
  • 1590fe6180 Add benchmarks e.gavrin 2014-10-09 18:18:26 +04:00
  • a902a97025 Add another 'out of memory' error message Ilmir Usmanov 2014-10-09 17:48:36 +04:00
  • d272a36acc Fix benchmarks e.gavrin 2014-10-09 16:24:51 +04:00
  • 130238b01c Add tests for chapter 11 e.gavrin 2014-10-09 15:41:15 +04:00
  • bfa186d43a Generate only one var_decl opcodes for each variable declared in a scope Ilmir Usmanov 2014-10-09 15:30:30 +04:00
  • 29ffa6f777 Pretty-printer refactoring. Add pretty-printing of metas. Ilmir Usmanov 2014-10-09 13:19:36 +04:00
  • 1dd94c12b2 Fix insert_semicolon Ilmir Usmanov 2014-10-08 19:15:25 +04:00
  • 24920cba57 Fix property names parsing Ilmir Usmanov 2014-10-08 17:09:02 +04:00
  • 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. Ilmir Usmanov 2014-10-08 16:31:50 +04:00
  • f2760fdac6 Add test from chapter 11. Part2. e.gavrin 2014-10-08 15:05:37 +04:00
  • 3c815cc68a Add test from chapter 11. Part1. e.gavrin 2014-10-08 13:57:50 +04:00
  • 9775d23274 Support 'delete' and 'void' operators in parser. Ilmir Usmanov 2014-10-08 14:50:23 +04:00
  • 2ebc8ef6fd Fix tests e.gavrin 2014-10-07 22:28:15 +04:00
  • 3d3da5d481 Preparser: new pass to order var_decls prior to parser Ilmir Usmanov 2014-10-07 20:14:41 +04:00
  • 7f8f03ad20 Add test on chapter 15 e.gavrin 2014-10-07 17:43:18 +04:00
  • 62cc3cc604 Fix && and || parsing Ilmir Usmanov 2014-10-05 21:39:15 +04:00
  • 17ee2eca50 Warn on escape sequences Ilmir Usmanov 2014-10-05 20:09:50 +04:00
  • 3d5fd214f3 Add switch-case Ilmir Usmanov 2014-10-05 19:53:35 +04:00
  • 8c7daf4850 Print ERR_MEMORY on stack Ilmir Usmanov 2014-10-05 17:22:52 +04:00
  • d3dc64ca53 Pretty-print native_calls Ilmir Usmanov 2014-10-05 17:13:34 +04:00
  • a79c816553 Add jerry-test-suite for chapters 7,8,10,12,13 e.gavrin 2014-10-05 20:34:47 +04:00
  • 3819883f80 Add human-readable syntax errors Ilmir Usmanov 2014-10-03 19:01:45 +04:00
  • c4c713535e Fix insert_semicolon Ilmir Usmanov 2014-10-02 21:35:39 +04:00
  • af00691d1d Add this_arg dumping in parser Ilmir Usmanov 2014-10-02 19:30:36 +04:00
  • eff5e1a80b Fix stack operations in parser Ilmir Usmanov 2014-10-02 15:04:00 +04:00
  • c8b97214fe Parse undefined as simple Ilmir Usmanov 2014-10-01 14:30:04 +04:00
  • 6561c3fe6c Add support of array initialization like [1,,,'4'] Ilmir Usmanov 2014-09-30 19:44:45 +04:00
  • 9d129e15dc Allocate stack memory by chunks Ilmir Usmanov 2014-09-30 18:40:24 +04:00
  • 1c3bf4951d Add working benchmark tests e.gavrin 2014-09-29 14:27:38 +04:00
  • 47d384c565 Partial implementation of the Array.prototype built-in object. Ruben Ayrapetyan 2014-09-26 20:07:45 +04:00
  • 0e22967653 Fixing Arguments object construction routine. Ruben Ayrapetyan 2014-09-26 19:36:09 +04:00
  • add24b93fe Fixing various FIXMEs that depend on Function.prototype built-in. Ruben Ayrapetyan 2014-09-26 19:31:25 +04:00
  • bef5289cb6 Adding stubs for Function and Function.prototype built-ins. Ruben Ayrapetyan 2014-09-26 19:26:17 +04:00
  • 2d332bc98b Implementing 'Object.prototype.toString' and 'Object.prototype.valueOf' built-ins. Ruben Ayrapetyan 2014-09-26 18:50:46 +04:00
  • f82ae90040 Fixing various FIXMEs that depend on built-in Object constructor and Object.prototype. Ruben Ayrapetyan 2014-09-26 18:33:50 +04:00
  • a0a2ec2cea Replacing items of ecma_object_class_t with corresponding ecma magic strings. Ruben Ayrapetyan 2014-09-26 18:04:42 +04:00
  • 897ed2d5c2 Adding stubs for Object.prototype routines. Ruben Ayrapetyan 2014-09-26 17:47:53 +04:00
  • 508573b398 Compacting declaration of dispatch routines for built-in objects. Ruben Ayrapetyan 2014-09-26 17:07:04 +04:00
  • 6b02835547 Refactoring 'call_n' opcode handler so that it looks for meta 'this_arg' at start of argument list. Ruben Ayrapetyan 2014-09-26 15:13:43 +04:00
  • 24c75a5707 Add config for doxygen. e.gavrin 2014-09-26 08:01:43 +04:00
  • ba2eeb84af Implementing String.prototype.toString and String.prototype.valueOf built-in routines. Ruben Ayrapetyan 2014-09-25 21:04:13 +04:00
  • 5bee6cad0f Adding stubs for String.prototype routines. Ruben Ayrapetyan 2014-09-25 20:39:00 +04:00
  • caa2663b28 Adding magic strings for property names of built-in prototype objects. Ruben Ayrapetyan 2014-09-25 19:23:22 +04:00
  • c235021147 Implementing [[DefaultValue]] general objects' method. Ruben Ayrapetyan 2014-09-25 18:37:38 +04:00
  • cde880b1cf Fix 'break' parsing Ilmir Usmanov 2014-09-25 18:06:21 +04:00
  • f380b30e75 Fixing 'print' native call. Ruben Ayrapetyan 2014-09-25 16:08:48 +04:00
  • 42876bdc8f Add support of native calls Ilmir Usmanov 2014-09-25 15:57:18 +04:00