321 Commits

Author SHA1 Message Date
Ilmir Usmanov
dd5f90d50f Merge branch 'master' of git-server:jerry 2014-07-31 23:16:45 +04:00
Ilmir Usmanov
3f108ec1e7 Add asserts for testing and add test for 'for' loops 2014-07-31 23:16:24 +04:00
e.gavrin
0518c41121 refine tests 2014-07-31 22:45:59 +04:00
Ruben Ayrapetyan
779fe64161 Introducing ERR_SYSCALL that should be used on failures during syscalls execution. 2014-07-31 22:31:47 +04:00
Ruben Ayrapetyan
5c72a30228 Adding ./src/libruntime/target/linux/asm_{x86,x64}.h for architecture specific assembler blocks. 2014-07-31 22:26:01 +04:00
Ruben Ayrapetyan
020325d199 __HOST -> __TARGET_HOST_X64 2014-07-31 22:23:05 +04:00
e.gavrin
7ba8167591 Add exports 2014-07-31 22:11:46 +04:00
e.gavrin
c2ad77b2b5 Add sanitize=1 flag to enable build with address sanitizer, while disabling it from default build 2014-07-31 22:04:42 +04:00
e.gavrin
3a53cc406b Merge branch 'master' of git-server:jerry 2014-07-31 21:59:44 +04:00
e.gavrin
2c193c1e2b Rename Makefile.mak -> Makefile.mk; Replace -O0 -> -Og 2014-07-31 21:59:35 +04:00
Ilmir Usmanov
420d3bf8f5 Merge branch 'master' of git-server:jerry 2014-07-31 21:52:33 +04:00
Ilmir Usmanov
1d41e8a355 Add 'exit' intrinsic 2014-07-31 21:52:25 +04:00
e.gavrin
7a076c3624 Remove PID printing 2014-07-31 21:26:27 +04:00
Ilmir Usmanov
2e0a3d4aca Add support of input several files 2014-07-31 21:23:29 +04:00
Ilmir Usmanov
14f0563d1a Fix couple of bugs show-opcodes: lexer should not dump lines, serializer must not rewrite a single opcode when dumping 2014-07-31 21:09:42 +04:00
Ilmir Usmanov
0d1935e3a8 Merge 2014-07-31 20:11:31 +04:00
Ilmir Usmanov
2809ffb36d Add scope reordering ("use strict" -> func_decl -> var_decl -> other opcodes); Add --show-opcodes console parameter 2014-07-31 19:30:27 +04:00
e.gavrin
7ff82e63c4 fix stm build 2014-07-31 17:58:29 +04:00
e.gavrin
cf613ad594 Merge branch 'master' of git-server:jerry 2014-07-31 17:56:29 +04:00
e.gavrin
6f7e2ecdbc add --mem-stats flag to print memory usage statistics at exit 2014-07-31 17:56:17 +04:00
Ruben Ayrapetyan
f177633622 Decreasing array chunk size to 8 bytes. 2014-07-31 17:53:43 +04:00
Ruben Ayrapetyan
4d7f14d059 Fixing ecma_compare_zt_string_to_ecma_string routine. 2014-07-31 17:52:10 +04:00
Ruben Ayrapetyan
9fd708eabe Revert "Fixing ecma_compare_zt_string_to_ecma_string routine."
This reverts commit c6e955aa2b231076b3ec70c55b38084afb4d01d2.
2014-07-31 17:51:40 +04:00
Ruben Ayrapetyan
d327bf5682 Fixing ecma_compare_zt_string_to_ecma_string routine. 2014-07-31 17:49:16 +04:00
Ruben Ayrapetyan
2c85a55c85 Introducing Global Environment constructor; using Global Environment as starting lexical environment. 2014-07-31 17:21:47 +04:00
Ruben Ayrapetyan
bfad8e897d Implementing ECMA-262 v5 10.2.1.2 operations (object environment record's CreateMutableBinding, SetMutableBinding, etc.). 2014-07-31 17:13:20 +04:00
Ruben Ayrapetyan
f8ef3deaf3 Full implementation of general objects' [[DefineOwnProperty]]. 2014-07-31 17:07:21 +04:00
Ruben Ayrapetyan
a084273286 Minor style fixes. 2014-07-31 17:05:51 +04:00
Ruben Ayrapetyan
9610680e3c Fix ecma_create_object_lex_env: increasing binding object's reference counter. 2014-07-31 14:56:22 +04:00
Ruben Ayrapetyan
c364461b80 Splitting ecma_create_lexical_environment to ecma_create_decl_lex_env and ecma_create_object_lex_env. 2014-07-31 14:48:28 +04:00
Ruben Ayrapetyan
16cab18ae9 Introducing partially implemented Global object constructor. 2014-07-31 14:26:24 +04:00
Ruben Ayrapetyan
e25e4d6cab Introducing constructor for ecma_property_descriptor_t. 2014-07-31 14:03:11 +04:00
e.gavrin
0709c3d07c fix main 2014-07-31 13:35:41 +04:00
e.gavrin
454744d816 add counters to MCU version 2014-07-31 00:26:58 +04:00
e.gavrin
dba333c2c4 add timers 2014-07-30 23:49:49 +04:00
e.gavrin
1b47f87c5f Merge branch 'master' of git-server:jerry 2014-07-30 21:57:53 +04:00
e.gavrin
c25db6d7b9 refine peripherals processing. Use libs 2014-07-30 21:57:41 +04:00
Ruben Ayrapetyan
b50e091b08 Renaming opcode_idx_t to opcode_counter_t. 2014-07-30 21:54:53 +04:00
Ruben Ayrapetyan
4ebf551525 Renaming interp_bytecode_idx to op_idx_t. 2014-07-30 21:52:17 +04:00
Ruben Ayrapetyan
c344cc7422 Correct implementation of opfunc_call_0 that was commited in c8dc00f4558efeb4bc0c2cd5d21e778294cb0d3a. The comment to that revision is incorrect: it specifies that opfunc_func_decl_0 should be rewritten; it is mistake, really it was about opfunc_call_0. 2014-07-30 21:46:02 +04:00
Ruben Ayrapetyan
e540590ddd Partial implementation of function call routine ([[Call]]). 2014-07-30 20:34:04 +04:00
Ruben Ayrapetyan
221fb47a77 Implementing steps 16 - 19 of 'Function object creation' routine; creating ecma_op_get_throw_type_error stub. 2014-07-30 18:27:48 +04:00
Ruben Ayrapetyan
45a3d52d70 Fixing [[DefineOwnProperty]]: correctly setting up value of data named property; correctly increasing reference counters of getter and setter. 2014-07-30 18:24:14 +04:00
Ruben Ayrapetyan
df224408fc Introducing ecma_get_magic_string that returns pointer to requested magic string that is used in an ECMA routine. 2014-07-30 17:56:53 +04:00
Ruben Ayrapetyan
b059212e32 Implementing IsCallable operation. 2014-07-30 17:48:28 +04:00
Ruben Ayrapetyan
d4d446cd4f Temporary implementation of 'func_decl_0' opcode handler. Should be rewritten from scratch after 'Function object creation' routine is fully implemented. 2014-07-30 15:44:28 +04:00
Ruben Ayrapetyan
ccb0701469 Removing 'ret' opcode from unimplemented opcodes' list. 2014-07-30 15:42:32 +04:00
Ruben Ayrapetyan
fe54e4dfd8 Implementation of 'ret' opcode handler. 2014-07-30 15:41:47 +04:00
Ruben Ayrapetyan
e6f0057456 Partial implementation of func_decl_0 opcode handler. 2014-07-30 15:40:41 +04:00
Ruben Ayrapetyan
f05719d622 Partial implementation of ECMA Function object creation routine. 2014-07-30 15:36:21 +04:00