Commit Graph

  • 1ec7ffcbab Turning on flto for all builds to produce target-independent core library. Ruben Ayrapetyan 2015-03-19 13:54:30 +03:00
  • d83d8e0b36 Removing build of multiple identical jerry-libc and plugins libraries copies. Fixing parallel build / precommit invocation without using the workaround. Ruben Ayrapetyan 2015-03-19 17:12:14 +03:00
  • 79695bf3cd Extension description syntax; extension instantiation, field values and calls with arguments (except strings); example of a simple extension. Ruben Ayrapetyan 2015-02-24 16:38:49 +03:00
  • 3d9635300b Moving ecma initialization/finalization from run_int to jerry_init/jerry_cleanup. Ruben Ayrapetyan 2015-02-24 15:12:47 +03:00
  • c12ec35b2d Extension API: description of structures used for describing extension object; jerry_extend_with - stub for extension interface routine. Ruben Ayrapetyan 2015-02-20 20:27:06 +03:00
  • d4af5702a4 Increasing heap size to 256K. Ruben Ayrapetyan 2015-02-19 17:18:37 +03:00
  • 4e93ef421d Support of ecma-value with compressed pointer of more than 14-bit size. Ruben Ayrapetyan 2015-02-19 17:16:45 +03:00
  • d0c62bb507 Storing named accessor property's pointer to getter and setter objects in separate pool chunk. Ruben Ayrapetyan 2015-02-19 14:55:01 +03:00
  • bb18970151 Changing GC mark phase to be non-recursive. It is noticeably slower on some test cases, but doesn't cause stack overflow. Ruben Ayrapetyan 2015-02-19 14:03:59 +03:00
  • a751ab4f9d Changing garbage collector to non-generational. Ruben Ayrapetyan 2015-02-18 20:16:35 +03:00
  • d1f6760f01 Accessing getter and setter fields of named data accessor property descriptor through ecma_{get,set}_named_accessor_property_{getter,setter}. Ruben Ayrapetyan 2015-02-18 17:38:46 +03:00
  • 8b38cd036b Enabling vera++ run during precommit testing. Ruben Ayrapetyan 2015-02-17 19:56:41 +03:00
  • ef004ef843 Revert "Enabling vera++ run during precommit testing." Ruben Ayrapetyan 2015-02-17 19:56:07 +03:00
  • 6379d8f4ad Enabling vera++ run during precommit testing. Ruben Ayrapetyan 2015-02-17 19:49:21 +03:00
  • f42faabe89 Fixing style according to rules defined in vera++ scripts. Ruben Ayrapetyan 2015-02-17 19:47:00 +03:00
  • 88353e93cf Renaming core -> jerry-core. Ruben Ayrapetyan 2015-02-17 19:00:34 +03:00
  • b6d018d019 Enable cppcheck run during precommit testing Ruben Ayrapetyan 2015-02-17 18:11:34 +03:00
  • a4155f7be8 Fixing cppcheck warnings. Ruben Ayrapetyan 2015-02-17 18:37:43 +03:00
  • 92a9d6db45 Moving precommit testing scripts from Makefile[.mk] to tools/runners/run-precommit-check-for-target.sh and tools/precommit.sh; deleting Makefile.mk. Ruben Ayrapetyan 2015-02-17 13:44:05 +03:00
  • 51088ff2cb Enable LTO for unit tests. Ruben Ayrapetyan 2015-02-16 19:31:49 +03:00
  • 03c81e96e9 Turning on unit tests build and run during precommit. Ruben Ayrapetyan 2015-02-16 19:18:30 +03:00
  • d50cff78ac Rename jrt_types.h to jrt-types.h e.gavrin 2015-02-16 19:32:55 +03:00
  • 86a5cc63c6 Turn off print of script source in release build (in --show-opcodes mode). Ruben Ayrapetyan 2015-02-16 14:54:19 +03:00
  • 2667281745 Adding VALGRIND={ON,OFF} make option. Ruben Ayrapetyan 2015-02-16 13:58:22 +03:00
  • 26288b6b1b Rename main_* to main-* e.gavrin 2015-02-13 22:31:49 +03:00
  • 8dc4950590 Renaming src directory to core; moving main modules to top-level directory. Ruben Ayrapetyan 2015-02-13 22:18:28 +03:00
  • b3cfd40478 Fix parse of "-v" option. Ruben Ayrapetyan 2015-02-13 22:12:07 +03:00
  • 32dc41e795 Remove stripping of debug binaries. Ruben Ayrapetyan 2015-02-13 22:11:38 +03:00
  • 43ea53b1d7 Jerry is now split to several components: core, libc, plugins. Ruben Ayrapetyan 2015-02-13 21:29:02 +03:00
  • 62a3ac93d9 Fix invocation of memcpy in add_current_token_to_string_cache (NULL pointer shouldn't be passed to memcpy). Ruben Ayrapetyan 2015-02-13 16:38:59 +03:00
  • 3755db04d2 Remove references to __TARGET_* defines from Jerry core. Ruben Ayrapetyan 2015-02-12 20:16:35 +03:00
  • 7e4c16e4e6 Rename Jerry's libc functions: __function_name -> function_name. Ruben Ayrapetyan 2015-02-12 20:15:56 +03:00
  • af77eac8e4 Move Jerry's libc to jerry-libc directory. Ruben Ayrapetyan 2015-02-11 21:33:45 +03:00
  • 6dfade808f Fix search of libc and libgcc in CMakeLists.txt Ruben Ayrapetyan 2015-02-11 21:24:13 +03:00
  • 17f51e0ba6 Refinement of completion status codes and fatal error handlers. Ruben Ayrapetyan 2015-02-11 20:53:14 +03:00
  • 398501afeb Remove CONFIG_ECMA_EXCEPTION_SUPPORT configuration flag. Ruben Ayrapetyan 2015-02-11 18:57:03 +03:00
  • 35fa39ceb8 Initial version of Embedded API. Ruben Ayrapetyan 2015-02-11 16:12:21 +03:00
  • ccc0453f34 Splitting main.cpp into jerry.cpp, main_linux.cpp and main_mcu.cpp; leaving __TARGET* defines usage only in jrt and plugins. Ruben Ayrapetyan 2015-02-11 14:10:14 +03:00
  • 145fba4109 Remove optimizer. Move literal to JS folder. e.gavrin 2015-02-11 12:49:09 +03:00
  • f3ff78b81b Refinement of tools directory. Ruben Ayrapetyan 2015-02-10 20:18:25 +03:00
  • d2459398f5 Refinement of build output structure. Ruben Ayrapetyan 2015-02-10 19:34:30 +03:00
  • 718bbe26f9 Refinement of project structure. Ruben Ayrapetyan 2015-02-10 14:45:40 +03:00
  • c104a58008 CMake: fixing search of gcc-ar and gcc-ranlib tools, linkage of libgcc; Makefile: replacing path to out with $(OUT_DIR). Jerry Deferred Test Account (ARM Linux Host) 2015-02-10 10:45:21 +00:00
  • b7e374fedc Switching to CMake for build. Ruben Ayrapetyan 2015-02-09 20:47:57 +03:00
  • fa6402334f Renaming sources *.c -> *.cpp. Ruben Ayrapetyan 2015-02-09 18:21:44 +03:00
  • ba348831ca Reverting changes related to on-stack GC-root introduction (except of passing ecma_value_t by const reference). Ruben Ayrapetyan 2015-02-09 17:06:34 +03:00
  • 35aa8238c2 Updating 'may reference younger object' in ecma_create_ for outer lexical environment / prototype objects; setting provideThis to false for declarative lexical environments. Ruben Ayrapetyan 2015-02-09 17:34:50 +03:00
  • 5a2d6f4308 Replacing JERRY_NVALGRIND with the opposite JERRY_VALGRIND. Ruben Ayrapetyan 2015-02-05 17:58:55 +03:00
  • fb6e205d0d Moving to replacement of on-stack ecma_object_t* with managed ecma_object_ptr_t. Ruben Ayrapetyan 2015-02-04 18:02:34 +03:00
  • e3f081ee84 Forbidding implicit template instantiation. Ruben Ayrapetyan 2015-02-04 17:33:24 +03:00
  • d627307010 Adding valgrind memory annotations for pool allocator. Ruben Ayrapetyan 2015-02-04 17:32:39 +03:00
  • be4567860c Turning on Wmissing-declaration warnings. Ruben Ayrapetyan 2015-02-04 15:14:51 +03:00
  • 34bff56d8a Removing pre-initialization of object container with zero. Ruben Ayrapetyan 2015-02-04 15:13:22 +03:00
  • c12659ba51 Introducing managed pointer class ecma_pointer_t, using it to store pointer in ecma_value_t. Ruben Ayrapetyan 2015-02-03 18:25:38 +03:00
  • 9cdc50c3ec Disabling Wattributes warnings (because always_inline is considered incorrect without inline specifier even in LTO mode); removing used attribute from always_inline functions; removing inline specifier from ecma_lcache_lookup and ecma_stack_top_value. Ruben Ayrapetyan 2015-02-03 18:05:14 +03:00
  • 3cb0b0a379 Revert "Introducing managed pointers classes (ecma_generic_ptr_t, ecma_pointer_t<T>); using ecma_generic_ptr_t to store pointer in ecma_value_t." Ruben Ayrapetyan 2015-02-03 16:50:21 +03:00
  • b0e4d2ece1 Introducing managed pointers classes (ecma_generic_ptr_t, ecma_pointer_t<T>); using ecma_generic_ptr_t to store pointer in ecma_value_t. Ruben Ayrapetyan 2015-02-03 14:55:14 +03:00
  • 55caaf7a88 Storing values in ecma_value_t in unpacked form (type + simple value / pointer to the heap). Ruben Ayrapetyan 2015-02-03 14:52:37 +03:00
  • f37a5085f6 Converting ecma_completion_value_t to class derived from ecma_value_t with additional field with for completion type and related operations. Ruben Ayrapetyan 2015-01-30 23:14:22 +03:00
  • a1f95048ae Removing label completion values. Ruben Ayrapetyan 2015-01-30 22:59:25 +03:00
  • 00afd4e0e2 Converting ecma_value_t to class that is used for on-stack storage of ecma-values. Ruben Ayrapetyan 2015-01-30 22:52:43 +03:00
  • 4cd7f96acc Suppressing 'member variable is not assigned in operator =' cppcheck warning, because of false positives. Ruben Ayrapetyan 2015-01-29 14:26:17 +03:00
  • 94cb1c0e67 Changing jerry_ref_unused_variables signature to take values by const reference. Ruben Ayrapetyan 2015-01-28 19:58:20 +03:00
  • 8b31156b5a Forbidding use of rbp for register allocation on x86-64 platform. Ruben Ayrapetyan 2015-01-28 17:43:04 +03:00
  • 0f487a0bb7 Returning ecma_value_t instead of ecma_completion_value_t from ECMA_TRY_CATCH for case when completion value is normal. Ruben Ayrapetyan 2015-01-27 22:07:26 +03:00
  • f231b9a0d2 Moving ecma_reference_t declaration to ecma-reference.h. Ruben Ayrapetyan 2015-01-27 17:18:53 +03:00
  • d1925ab882 Using static_cast instead of C-style cast in MEM_DEFINE_LOCAL_ARRAY. Ruben Ayrapetyan 2015-01-27 15:40:46 +03:00
  • 57f645c18c Passing ecma_value_t arguments by const reference instead of by value. Ruben Ayrapetyan 2015-01-22 18:43:17 +03:00
  • 11e37ad7f3 Switching cppcheck to c++11-compatible mode. Ruben Ayrapetyan 2015-01-22 18:07:56 +03:00
  • 005b5370fc Switching to g++ and corresponding changes according to C++ requirements. Ruben Ayrapetyan 2015-01-16 12:53:41 +03:00
  • 557df54f9d Registering temporary variables arrays in ecma-stack frames, starting mark traverse from them during GC. Ruben Ayrapetyan 2015-01-15 18:45:37 +03:00
  • eef966869a Revert "Switching get_variable_value to returning value through ecma-stack (stack convention)." Ruben Ayrapetyan 2015-01-15 17:26:08 +03:00
  • e570d18936 Switching get_variable_value to returning value through ecma-stack (stack convention). Ruben Ayrapetyan 2015-01-14 20:09:24 +03:00
  • e70626f92d Removing free of throw completion value in ECMA_TRY_CATCH macro, instead just copying it to the return value variable. Ruben Ayrapetyan 2015-01-14 18:14:28 +03:00
  • 917ebe4a83 Creating ecma-stack frames in run_int_from_pos. Ruben Ayrapetyan 2015-01-12 20:52:04 +03:00
  • b843167b91 Introducing ecma-stack structures and routines. Ruben Ayrapetyan 2015-01-12 19:31:24 +03:00
  • d03b2dafba Upon receiving 'give some memory back' request check if any corresponding callback set instead of asserting that. Ruben Ayrapetyan 2015-01-12 19:02:42 +03:00
  • f96770a811 Adding '-min' option to tools/perf.sh: the option switches to output of minimum instead of average of performance measurements. Ruben Ayrapetyan 2014-12-19 21:37:26 +03:00
  • 42c44830ce Removing trailing whitespace from sources. Ruben Ayrapetyan 2014-12-19 14:16:44 +03:00
  • 6bb39bb8ea Introducing 'try to give memory back' callback for heap allocator to use upon allocation request that can not be satisfied by the allocator. Ruben Ayrapetyan 2014-12-18 21:20:28 +03:00
  • 8febd2bae8 Increasing heap size from 8K to 16K for MCU targets. Ruben Ayrapetyan 2014-12-18 17:17:08 +03:00
  • 5539afc60e Adding #pragma GCC optimize "O0" to libperipherals' modules. Ruben Ayrapetyan 2014-12-18 17:16:33 +03:00
  • 5c4c47514a Fixing new line marks output in tools/generator.sh. Ruben Ayrapetyan 2014-12-18 14:05:22 +03:00
  • 84294018a3 Replacing dynamically sized on-stack arrays with heap allocated arrays defined through MEM_DEFINE_LOCAL_ARRAY. Ruben Ayrapetyan 2014-12-18 13:27:15 +03:00
  • 1e0eea3d73 Returning NULL from mem_heap_alloc_block if requested block size is zero. Ruben Ayrapetyan 2014-12-18 13:26:42 +03:00
  • 9b1fff1d8b Introducing MEM_DEFINE_LOCAL_ARRAY and MEM_FINALIZE_LOCAL_ARRAY to replace on-stack allocation of dynamic sized arrays. Ruben Ayrapetyan 2014-12-17 22:18:32 +03:00
  • 005fcb008e Changing dynamic sized (syntactically) array to constant-sized array in ecma_op_general_object_default_value. Ruben Ayrapetyan 2014-12-17 21:33:06 +03:00
  • 14620e30a6 Defining constant limit on magic string length instead of runtime calculation of maximum among magic strings' lengths. Ruben Ayrapetyan 2014-12-17 21:32:13 +03:00
  • c9b73da82d Changing dynamic sized (syntactically) array to constant-sized array in ecma_gc_run. Ruben Ayrapetyan 2014-12-17 21:29:45 +03:00
  • 001f262590 Limiting maximum command line arguments by CONFIG_JERRY_MAX_COMMAND_LINE_ARGS configuration option. Ruben Ayrapetyan 2014-12-17 21:28:27 +03:00
  • dd3271e35d Changing uint8_t* to void* in arguments and return values of mem_heap_alloc_block, mem_heap_free_block and mem_heap_try_resize_block operations. Ruben Ayrapetyan 2014-12-17 21:27:02 +03:00
  • 8349ad8ecf Inter-commit performance comparison script. Ruben Ayrapetyan 2014-12-17 19:16:16 +03:00
  • d836dc32af Introducing ECMA_OP_TO_NUMBER_TRY_CATCH and ECMA_OP_TO_NUMBER_FINALIZE macroses. Ruben Ayrapetyan 2014-12-15 22:52:07 +03:00
  • 386a530d4d Upon assignment of a number to a register variable reusing the variable's space if it already contains a number. Ruben Ayrapetyan 2014-12-15 22:51:17 +03:00
  • eb80e817d8 Removing trailing whitespace in src/libcoreint/opcodes.c. Ruben Ayrapetyan 2014-12-15 22:58:21 +03:00
  • 7e7bdc2aac Rework literal indexes hash table to simple array in order to improve performance Ilmir Usmanov 2014-12-15 22:48:27 +03:00
  • 864bd3de06 Fix comment. Ilmir Usmanov 2014-12-12 15:28:56 +03:00
  • ddac13f944 Fix parsing of empty file Ilmir Usmanov 2014-12-15 17:10:04 +03:00
  • c1ebb8db50 Fix expression statement parsing in case of statement starts with keyword Ilmir Usmanov 2014-12-12 16:35:46 +03:00
  • 6aee69d6df Fix native_call opcode dumping Ilmir Usmanov 2014-12-12 16:34:59 +03:00