Ruben Ayrapetyan
|
6801f22bd9
|
Introducing ECMA_FUNCTION_CALL helper macro for handling return completion values of function calls.
|
2014-08-22 20:26:23 +04:00 |
|
Ruben Ayrapetyan
|
80e6cd3a60
|
Fixing ecma_create_arguments_object: adding deref for allocated ecma-string
|
2014-08-22 18:47:46 +04:00 |
|
Ruben Ayrapetyan
|
077392e5c5
|
Fixing ecma_compare_zt_string_to_zt_string
|
2014-08-22 18:44:54 +04:00 |
|
Ruben Ayrapetyan
|
f266b84016
|
Adding configuration header file for engine's parameters/limitations
|
2014-08-22 18:29:39 +04:00 |
|
Ruben Ayrapetyan
|
dca9bcc387
|
Removing ECMA_TYPE__COUNT enum value; fixing comment to ecma_copy_value
|
2014-08-22 17:50:57 +04:00 |
|
Ruben Ayrapetyan
|
a8486b01ed
|
Partial implementation of 'Object' object construction routine
|
2014-08-22 17:18:29 +04:00 |
|
Ruben Ayrapetyan
|
3bcf02137e
|
Adding stub for Array construction routine
|
2014-08-22 17:17:17 +04:00 |
|
Ruben Ayrapetyan
|
5713373279
|
Partial implementation of [[Construct]] routine for Function objects
|
2014-08-22 16:56:00 +04:00 |
|
Ruben Ayrapetyan
|
50a1532801
|
Implementing opfunc_instanceof using ecma_op_has_instance for [[HasInstance]] call
|
2014-08-22 15:39:23 +04:00 |
|
Ruben Ayrapetyan
|
7a20454047
|
Using ToString for property name conversion in opfunc_in
|
2014-08-22 15:26:05 +04:00 |
|
Ruben Ayrapetyan
|
b1b6ae5a41
|
Partial implementation of [[HasInstance]] ecma-object's operation
|
2014-08-22 15:24:09 +04:00 |
|
Ruben Ayrapetyan
|
9cc27115fa
|
Using ToString for property name conversion in opfunc_getter, opfunc_setter
|
2014-08-22 15:07:21 +04:00 |
|
Ruben Ayrapetyan
|
f7cdb454ed
|
Implementing ToString operation (ecma_op_to_string)
|
2014-08-22 14:40:58 +04:00 |
|
Ruben Ayrapetyan
|
148d9c4cb6
|
Disabling creation of testing notes during pre-push testing
|
2014-08-21 20:14:54 +04:00 |
|
Ruben Ayrapetyan
|
7d38fee700
|
Implementing comparison of ecma-strings for different types of string containers.
|
2014-08-21 19:54:11 +04:00 |
|
Ruben Ayrapetyan
|
bb55d895c4
|
./tools/pull.sh: pulling notes with git pull --rebase. tools/push.sh: make pull just before pushing; pushing master and notes with one command.
|
2014-08-21 18:21:35 +04:00 |
|
Ruben Ayrapetyan
|
2851c59d97
|
Add noopt=1 option to override OPTION_OPTIMIZE to disable.
|
2014-08-21 17:48:26 +04:00 |
|
Ruben Ayrapetyan
|
902f8c3414
|
Reducing build time: make debug.linux 8.778s -> 6.426s; make unittests: 32.230s -> 9.259s.
|
2014-08-21 17:28:14 +04:00 |
|
Ruben Ayrapetyan
|
616c96d3bb
|
Implementing ecma_string_to_zt_string for number-represented string and strings that are stored in literal table
|
2014-08-21 16:46:45 +04:00 |
|
Ruben Ayrapetyan
|
a96705701d
|
Implementing prototype of ToString (Number) routine - ecma_number_to_zt_string; adding unit tests for the routine.
|
2014-08-21 14:43:43 +04:00 |
|
Ruben Ayrapetyan
|
5095bd31c9
|
Ecma-number decoding helpers
|
2014-08-20 19:20:03 +04:00 |
|
Ruben Ayrapetyan
|
284e7fc91b
|
Renaming prop_access opcode to prop_getter; introducing prop_setter opcode; implementing property getter/setter opcode handlers.
|
2014-08-20 16:34:03 +04:00 |
|
Ruben Ayrapetyan
|
fe34bf7e01
|
Fixing: deallocation of number-represented ecma-string; [[Get]] of Arguments object for index arguments.
|
2014-08-20 13:47:51 +04:00 |
|
Ruben Ayrapetyan
|
f9ff4e1ba3
|
Reducing includes of system headers in jerry-libc.c (LIBC_RAW).
|
2014-08-19 20:51:30 +04:00 |
|
Ruben Ayrapetyan
|
50554a81e4
|
Implementing Arguments object construction, [[Get]], [[GetOwnProperty]], [[DefineOwnProperty]], [[Delete]] routines.
|
2014-08-19 19:17:03 +04:00 |
|
Ruben Ayrapetyan
|
d5f50ebd04
|
Add dbgsyms=1 option to override OPTION_DEBUG_SYMS to enable, OPTION_STRIP to disable.
|
2014-08-19 19:17:03 +04:00 |
|
Ruben Ayrapetyan
|
d393d0c041
|
Fixing check of git push status code in tools/push.sh
|
2014-08-18 21:14:35 +04:00 |
|
Ruben Ayrapetyan
|
9d33a91822
|
Storing literals' indexes instead of literals' contents in ecma-strings if possible.
|
2014-08-18 20:52:02 +04:00 |
|
Ruben Ayrapetyan
|
8bc41358ec
|
Replacing const ecma_char_t* with ecma_string_t*; supporting number-represented string in ecma_string_t.
|
2014-08-18 18:34:34 +04:00 |
|
Ruben Ayrapetyan
|
15b65a27fb
|
Moving type conversion helpers from libecmaoperations to libecmaobjects.
|
2014-08-18 16:26:22 +04:00 |
|
Ruben Ayrapetyan
|
bcddffbefb
|
Preparations to lazy conversion of Number to String: introducing ECMA_STRING_CONTAINER_HEAP_NUMBER container type for ecma_string_t.
|
2014-08-18 16:10:54 +04:00 |
|
Ruben Ayrapetyan
|
471bbd9fc4
|
Test for function calls with args.
|
2014-08-15 20:14:02 +04:00 |
|
Ruben Ayrapetyan
|
04112c6fea
|
Implementing opfunc_call_1.
|
2014-08-15 20:10:22 +04:00 |
|
Ruben Ayrapetyan
|
116a80f8ae
|
Ilmir's fix of register variables counting.
|
2014-08-15 19:46:02 +04:00 |
|
Ruben Ayrapetyan
|
b582d56ecb
|
Implementing opfunc_decl_1, opfunc_decl_2.
|
2014-08-15 18:30:47 +04:00 |
|
Ruben Ayrapetyan
|
4de3da90a5
|
Implementing function's argument variables instantiation during function call. Implementing function declaration routine.
|
2014-08-15 17:30:11 +04:00 |
|
Ruben Ayrapetyan
|
04c6cb30c7
|
Adding ecma_is_lexical_environment_global helper.
|
2014-08-15 17:26:49 +04:00 |
|
Ruben Ayrapetyan
|
21a84afc4f
|
Adding ecma_is_property_enumerable, ecma_is_property_configurable helpers.
|
2014-08-15 17:22:29 +04:00 |
|
Ruben Ayrapetyan
|
8f08c1c70e
|
Fixing collections' construction and iteration routines.
|
2014-08-15 17:21:21 +04:00 |
|
Ruben Ayrapetyan
|
2a199cc6a7
|
Iterators for ecma-values collections
|
2014-08-15 15:58:34 +04:00 |
|
Ruben Ayrapetyan
|
cf098ad4ac
|
Adding missing 'break's in ecma_op_{create,initialize}_immutable_binding.
|
2014-08-14 21:36:33 +04:00 |
|
Ruben Ayrapetyan
|
f638c381a3
|
Introducing ecma-values collection. Implementing ecma-strings collection through ecma-values collection.
|
2014-08-14 21:19:56 +04:00 |
|
Ruben Ayrapetyan
|
3f01ac6c45
|
Removing commit notes if push failed in tools/push.sh
|
2014-08-14 20:11:30 +04:00 |
|
Ruben Ayrapetyan
|
1d70fe0a37
|
Fixing ecma_op_abstract_equality_compare
|
2014-08-14 20:03:50 +04:00 |
|
Ruben Ayrapetyan
|
0447d128d0
|
Implementing b_and, b_or, b_xor opcode handlers.
|
2014-08-14 19:56:55 +04:00 |
|
Ruben Ayrapetyan
|
86a0c701df
|
Partial stub for Int32 operation.
|
2014-08-14 19:15:25 +04:00 |
|
Ruben Ayrapetyan
|
85556504e4
|
Fixing exit code of tools/log.sh
|
2014-08-14 18:55:21 +04:00 |
|
Ruben Ayrapetyan
|
0cd5fbfd81
|
Adding src/main.c to cppcheck and vera++ source list.
|
2014-08-14 17:55:46 +04:00 |
|
Ruben Ayrapetyan
|
04dedd8f87
|
Adding 'make log' to list commits with commit testing notes.
|
2014-08-14 17:52:54 +04:00 |
|
Ruben Ayrapetyan
|
5bb76486b0
|
Fixing exit code of tools/push.sh
|
2014-08-14 17:38:31 +04:00 |
|
Ruben Ayrapetyan
|
5ebc744511
|
Logging performance and memory benchmarks to git notes during precommit testing.
|
2014-08-14 17:28:41 +04:00 |
|
Ruben Ayrapetyan
|
e25b1d0249
|
Performance measurement script tools/perf.sh
|
2014-08-14 16:52:45 +04:00 |
|
Ruben Ayrapetyan
|
6553daa22b
|
Limiting data and stack size by setrlimit.
|
2014-08-14 16:08:06 +04:00 |
|
Ruben Ayrapetyan
|
63133c247f
|
Initializing [[FormalParameters]] internal property of Function object in ecma_op_create_function_object.
|
2014-08-13 21:47:56 +04:00 |
|
Ruben Ayrapetyan
|
daf1cfc9e6
|
Introducing helpers for construction and freeing of ecma-strings' collections.
|
2014-08-13 21:36:36 +04:00 |
|
Ruben Ayrapetyan
|
eb7441198c
|
Commenting out performance and memory benchmarking in tools/push.sh
|
2014-08-13 20:59:39 +04:00 |
|
Ruben Ayrapetyan
|
507b91973a
|
Renaming ecma_array_first_chunk_t -> ecma_collection_header_t; ecma_array_non_first_chunk_t -> ecma_collection_chunk_t.
|
2014-08-13 20:58:17 +04:00 |
|
Ruben Ayrapetyan
|
25ae71353d
|
Removing print of opcode in optimizer_reorder_scope.
|
2014-08-13 20:28:12 +04:00 |
|
Ruben Ayrapetyan
|
613c43cc14
|
Fixing internal properties handling in ecma_gc_mark.
|
2014-08-13 20:18:41 +04:00 |
|
Ruben Ayrapetyan
|
4bacc6c957
|
Adding literal variable to tests/jerry/variables.js.
|
2014-08-13 19:30:37 +04:00 |
|
Ruben Ayrapetyan
|
c831912ae5
|
Replacing ecma_array_first_chunk_t with ecma_string_t for ecma-strings.
|
2014-08-13 19:21:25 +04:00 |
|
Ruben Ayrapetyan
|
b66981d19f
|
Introducing ecma_string_t type that will be used for ecma-strings instead of ecma_array_first_chunk_t.
|
2014-08-13 17:01:05 +04:00 |
|
Ruben Ayrapetyan
|
567d54f7e5
|
Move ecma-string helpers from ecma-helpers.c to ecma-helpers-string.c
|
2014-08-13 17:01:05 +04:00 |
|
Ruben Ayrapetyan
|
bd280df9bf
|
Making vera++ to stop compilation on style errors.
|
2014-08-13 16:50:44 +04:00 |
|
Ruben Ayrapetyan
|
a672807990
|
Style fix in stm32f4/jerry-libc.c.
|
2014-08-13 16:50:17 +04:00 |
|
Ruben Ayrapetyan
|
c3cc674fef
|
Definition of function object's 'length' property in ecma_op_create_function_object.
|
2014-08-13 15:17:12 +04:00 |
|
Ruben Ayrapetyan
|
4fe85cdd1a
|
Full implementation of [[DefineOwnProperty]] for array objects.
|
2014-08-13 14:55:40 +04:00 |
|
Ruben Ayrapetyan
|
3ae7a284dc
|
Partially implementing [[DefineOwnProperty]] for Array objects.
|
2014-08-12 21:45:11 +04:00 |
|
Ruben Ayrapetyan
|
eee1daec91
|
Introducing ecma_compare_zt_string_to_zt_string interface that is __strcmp for ecma_char_t* zero-terminated strings.
|
2014-08-12 18:51:49 +04:00 |
|
Ruben Ayrapetyan
|
389d88bbb8
|
Adding tools/some_style_fixes.sh script that makes some style fixes in code.
|
2014-08-12 18:18:50 +04:00 |
|
Ruben Ayrapetyan
|
a886053e54
|
Extracting ecma_op_object* routines to ecma_op_general_object_*. Redefining ecma_op_object* interface to be usable for all object types (not only for general objects).
|
2014-08-12 18:11:56 +04:00 |
|
Ruben Ayrapetyan
|
bc34fa3be6
|
Renaming src/libecmaoperations/ecma-objects-properties.[ch] -> src/libecmaoperations/ecma-objects.[ch].
|
2014-08-12 17:09:46 +04:00 |
|
Ruben Ayrapetyan
|
8bde4ecbf2
|
Implementing ecma_compare_ecma_string_to_ecma_string helper.
|
2014-08-12 16:56:35 +04:00 |
|
Ruben Ayrapetyan
|
b987bcc920
|
Compaction of heap block's header from 32 bytes to 8 bytes. ./benchmarks/jerry/loop_arithmetics_1kk.js: 2.77 -> 2.82.
|
2014-08-12 16:23:44 +04:00 |
|
Ruben Ayrapetyan
|
b4a29f754a
|
Style fixes in libruntime.
|
2014-08-12 14:16:05 +04:00 |
|
Ruben Ayrapetyan
|
aa43e06366
|
Style fixes in liballocator, libecmaobjects, libecmaoperations: putting else on separate line after closing brace of 'if' block.
|
2014-08-12 13:53:34 +04:00 |
|
Ruben Ayrapetyan
|
701f03309a
|
Replacing -O2 with -O3. ./benchmarks/jerry/loop_arithmetics_1kk.js: 2.97 -> 2.79.
|
2014-08-12 12:28:37 +04:00 |
|
Ruben Ayrapetyan
|
b260f2458e
|
Fixing debug.stm32f4 build.
|
2014-08-12 12:01:47 +04:00 |
|
Ruben Ayrapetyan
|
839ad7e4b4
|
Fixing cppcheck warning about comma in return statement (libecmaobjects/ecma-helpers-value.c).
|
2014-08-11 22:17:35 +04:00 |
|
Ruben Ayrapetyan
|
1b84ca8412
|
Style fix: indentation in src/libecmaoperations/ecma-objects-properties.c.
|
2014-08-11 22:10:55 +04:00 |
|
Ruben Ayrapetyan
|
48cff24f08
|
Styles fixes in libecmaobjects, libecmaoperations: indentation and braces rules.
|
2014-08-11 22:05:59 +04:00 |
|
Ruben Ayrapetyan
|
38c6c2357d
|
Styles fixes in liballocator: indentation and braces rules.
|
2014-08-11 21:10:06 +04:00 |
|
Ruben Ayrapetyan
|
59940fb648
|
Style fixes in liballocator, libecmaobjects, libecmaoperations: now lines are not longer than 120 characters.
|
2014-08-11 19:51:40 +04:00 |
|
Ruben Ayrapetyan
|
0b592470d5
|
Style fixes in libecmaoperations: space between function name and opening parenthesis, no space after opening parenthesis/before closing parenthesis. By mistake, the changes weren't commited with 8081e5cdb38ad0f9789a89c92362fc73a716d85c.
|
2014-08-11 19:34:49 +04:00 |
|
Ruben Ayrapetyan
|
b02eefd4ae
|
Style fixes in liballocator, libecmaobjects, libecmaoperations: space between function name and opening parenthesis, no space after opening parenthesis/before closing parenthesis.
|
2014-08-11 19:28:14 +04:00 |
|
Ruben Ayrapetyan
|
e53be2b441
|
Renaming ecma_get_pointer, ecma_set_pointer, ecma_set_pointer_non_null macroses to uppercase names.
|
2014-08-11 19:13:59 +04:00 |
|
Ruben Ayrapetyan
|
6564cbee76
|
Indentation checking rule for vera++.
|
2014-08-11 18:37:43 +04:00 |
|
Ruben Ayrapetyan
|
8ce1ef3c8b
|
Removing trailing whitespace in liballocator, libecmaobjects and libecmaoperations.
|
2014-08-11 15:59:19 +04:00 |
|
Ruben Ayrapetyan
|
8e87c8d3ed
|
Temporarily disabling error mode of vera++ style checker.
|
2014-08-11 14:55:02 +04:00 |
|
Ruben Ayrapetyan
|
4fb0080701
|
Adding test nested_function.js.
|
2014-08-08 23:20:34 +04:00 |
|
Ruben Ayrapetyan
|
7b04e9eaeb
|
Compacting pool header to 8 bytes. Replaced typed pool chunks with fixed-size untyped ones. loop_arithmetics_1kk.js benchmark: 2.98517 -> 2.9443.
|
2014-08-08 23:11:06 +04:00 |
|
Ruben Ayrapetyan
|
cd0246bedc
|
Changing size of ecma-array's chunk to fixed 8 bytes.
|
2014-08-08 18:23:02 +04:00 |
|
Ruben Ayrapetyan
|
1ab3eaa389
|
Optimizing ecma_get_pointer/ecma_set_pointer, introducing ecma_set_non_null_pointer. loop_arithmetics_1kk.js benchmark: 3.450 -> 3.025.
|
2014-08-08 15:22:05 +04:00 |
|
Ruben Ayrapetyan
|
0194e63331
|
Removing pool bitmaps; optimizing search for free pool chunks. loop_arithmetics_1kk.js benchmark: 4.134s -> 3.479s.
|
2014-08-08 14:26:28 +04:00 |
|
Ruben Ayrapetyan
|
b6d9ed42ec
|
Adding test_stability.sh to pre-commit testing.
|
2014-08-08 14:19:38 +04:00 |
|
Ruben Ayrapetyan
|
c688f27f62
|
Adding memmove (for compiler usage).
|
2014-08-08 12:42:57 +04:00 |
|
Ruben Ayrapetyan
|
f76795db8c
|
Replacing -Os wth -O2.
|
2014-08-08 12:42:19 +04:00 |
|
Ruben Ayrapetyan
|
5788ce1199
|
Fixing OPTION_OPTIMIZE setup in Makefile.
|
2014-08-08 12:41:56 +04:00 |
|
Ruben Ayrapetyan
|
7ad6c25bb2
|
Fix invocation of GC for non-zero generations.
|
2014-08-07 21:10:36 +04:00 |
|
Ruben Ayrapetyan
|
d7e28e3a28
|
Fixing memory leak in mem_pools_alloc.
|
2014-08-07 21:08:31 +04:00 |
|