2382 Commits

Author SHA1 Message Date
e.gavrin
78f92d8377 fix generated with appropriate example, limit ram with 48KB 2014-07-25 18:34:13 +04:00
Ruben Ayrapetyan
222e9e680c Adding assertion checks in serializer_dump_opcode and serializer_rewrite_opcode to avoid buffer overrun. 2014-07-25 18:20:54 +04:00
Ruben Ayrapetyan
ff2609eb88 Implementing {pre,post}_{incr,decr} opcodes. 2014-07-25 18:07:18 +04:00
Ruben Ayrapetyan
cfdef23303 Adding compilation flag '-Wfatal-errors'. 2014-07-25 18:06:45 +04:00
e.gavrin
43a8bbd576 fixed led processing and wait 2014-07-25 17:47:09 +04:00
e.gavrin
5da1df37de add led_on, led_off, led_toggle, led_blink_one to lib 2014-07-25 16:29:12 +04:00
Ilmir Usmanov
8745c47192 Merge branch 'geppetto' 2014-07-25 14:16:52 +04:00
Ilmir Usmanov
40007126fa Fix memory corruptions in lexer, which occured while parsing cse.js; remove lexer.log and parser.log files 2014-07-25 14:16:29 +04:00
Ruben Ayrapetyan
361e5a6f38 Use -gdwarf-3 by default, -gdwarf-4 if dwarf4=1 option is passed to make. 2014-07-25 13:51:35 +04:00
e.gavrin
1d42426fa4 Merge branch 'master' of git-server:jerry 2014-07-25 13:18:44 +04:00
e.gavrin
8094de86d1 add wait for stm, move fake_exit to peripheraks 2014-07-25 13:18:31 +04:00
Ilmir Usmanov
c9c26251a4 Add savings bytecode in memory on target 2014-07-25 12:37:29 +04:00
Ilmir Usmanov
518ff9a864 Merge branch 'master' into geppetto 2014-07-24 21:51:17 +04:00
Ruben Ayrapetyan
7077e42c85 Improving performance of building unittests. 2014-07-24 21:41:04 +04:00
Ilmir Usmanov
8fadaf5277 Merge branch 'master' into geppetto 2014-07-24 21:40:59 +04:00
Ilmir Usmanov
c6c2abce0e Merge 2014-07-24 21:40:30 +04:00
Ruben Ayrapetyan
7f918612c1 Removing 'dev.*' targets. 2014-07-24 21:19:34 +04:00
Ruben Ayrapetyan
6301cba0c3 Implementing equal_value, not_equal_value, less_than, greater_than opcodes. 2014-07-24 21:09:02 +04:00
Ruben Ayrapetyan
20b04a5ed7 Adding ecma-try-catch-macro.h that should have been a part of previous commit. 2014-07-24 20:33:58 +04:00
Ruben Ayrapetyan
b2ae827fbd Partially implementing ECMA 'Absract relational comparison' (11.8.5). 2014-07-24 20:31:57 +04:00
Ruben Ayrapetyan
61550f2029 Fixing opcode unit tests. 2014-07-24 20:04:27 +04:00
Ilmir Usmanov
1f3b5a4c29 Merge 2014-07-24 19:50:37 +04:00
Ilmir Usmanov
3b0fef6e04 Add opcodes for increment and decrement; add optimizer 2014-07-24 19:27:58 +04:00
e.gavrin
c2f82eefc0 add blink_toggle_once 2014-07-24 19:27:19 +04:00
Ruben Ayrapetyan
89834cd616 Printing of called function's name in 'call_1' opcode handler. 2014-07-24 18:30:49 +04:00
Ruben Ayrapetyan
63a757a5a7 Connecting try_get_str_by_idx with deserialize_string_by_id and get_number_by_idx with deserialize_num_by_id. 2014-07-24 18:28:46 +04:00
Ruben Ayrapetyan
b7a3a13bc9 Implementing register variables. 2014-07-24 18:13:32 +04:00
Ilmir Usmanov
c837c7d435 Optimize reg_var_decl memory usage 2014-07-24 16:54:59 +04:00
e.gavrin
389cd34bc0 Enable address sanitizer + color output 2014-07-24 15:57:10 +04:00
Ilmir Usmanov
1790739b93 Add 'reg_var_decl' opcode 2014-07-24 15:45:55 +04:00
Ilmir Usmanov
b4404578ca Lazy initialization in deserializer 2014-07-24 15:24:51 +04:00
Ilmir Usmanov
ea4278184c Rename deserializer_get_* -> deserialize_* 2014-07-24 12:17:59 +04:00
Ilmir Usmanov
60fa1d1178 Add checks of dumped literals and identifiers. Fix deserializer and serializer. 2014-07-24 11:55:14 +04:00
Ilmir Usmanov
597b5fe5c2 Merge branch 'master' of git-server:jerry 2014-07-23 22:56:06 +04:00
Ilmir Usmanov
ed4e2a20e4 Add deserializer 2014-07-23 22:55:45 +04:00
Ruben Ayrapetyan
2718d8e918 Fixing is_false_jmp, is_true_jmp opcodes; adding them to var_decl and assignment unit tests as partial checks. 2014-07-23 22:22:50 +04:00
Ruben Ayrapetyan
d659b703a1 Style fix in ecma_make_reference. 2014-07-23 21:59:32 +04:00
Ruben Ayrapetyan
826c6aeca2 Implementing is_false_jmp, is_true_jmp opcodes. 2014-07-23 21:58:15 +04:00
Ilmir Usmanov
b923468720 Merge branch 'geppetto' 2014-07-23 21:34:43 +04:00
Ilmir Usmanov
db9d18bd26 Don't dump trash 2014-07-23 21:34:25 +04:00
Ruben Ayrapetyan
13b6d13c3c Implementing jmp_down, jmp_up opcodes. 2014-07-23 21:00:03 +04:00
Ilmir Usmanov
f1dd405933 Merge 2014-07-23 20:50:29 +04:00
Ilmir Usmanov
764efa41b8 Fix parsing of for-loops. 2014-07-23 20:47:31 +04:00
Ruben Ayrapetyan
8d180e9be1 Minor style fixes. 2014-07-23 20:41:21 +04:00
e.gavrin
2ff5d14b06 new test 2014-07-23 19:44:29 +04:00
Ruben Ayrapetyan
26c00acd50 Refinement of src/main.c. 2014-07-23 19:08:06 +04:00
e.gavrin
0b76dfb6df Merge branch 'master' of git-server:jerry 2014-07-23 18:59:21 +04:00
Ilmir Usmanov
e5cdf93d2d Dump script line before bytecode (Only on host). Fix parsing literals: assing literal to temp before usage. 2014-07-23 18:43:03 +04:00
Ilmir Usmanov
d57da2aa8a Num literals outside of assignments (in lists) are not allowed 2014-07-23 17:52:02 +04:00
Ilmir Usmanov
b3b1d485ab Merge 2014-07-23 17:37:49 +04:00