Ilmir Usmanov
|
3b624be051
|
Fix adjusting jumps
|
2014-08-05 11:51:49 +04:00 |
|
Ilmir Usmanov
|
fb86387675
|
Merge branch 'geppetto'
|
2014-08-04 22:56:41 +04:00 |
|
Ilmir Usmanov
|
557100059a
|
Add bytecode pretty-printing
|
2014-08-04 22:56:26 +04:00 |
|
Ruben Ayrapetyan
|
ac35a4ebf2
|
Fixing cppcheck warnings in mem-heap.c (appeared when valgrind=1) and in jerry-libc.c (appeared libc_raw=1).
|
2014-08-04 18:42:40 +04:00 |
|
Ilmir Usmanov
|
039efcc3ae
|
Merge branch 'geppetto'
|
2014-08-04 17:09:22 +04:00 |
|
Ilmir Usmanov
|
eee88ffdc2
|
Add basic support of 'break' and 'continue' statements (without identifiers)
|
2014-08-04 17:09:02 +04:00 |
|
Ruben Ayrapetyan
|
a16c1a0597
|
Reducing scope of 'data' variable in deserialize_num_by_id.
|
2014-08-04 16:57:28 +04:00 |
|
Ruben Ayrapetyan
|
61dd7a5dd9
|
nostdlib under libc_raw=1 option.
|
2014-08-01 15:49:27 +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 |
|
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
|
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 |
|
Ilmir Usmanov
|
e497875c06
|
Change strings offset size from 8 bits to 16 bits
|
2014-07-29 17:49: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 |
|
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 |
|
Ilmir Usmanov
|
c9c26251a4
|
Add savings bytecode in memory on target
|
2014-07-25 12:37:29 +04:00 |
|
Ilmir Usmanov
|
1f3b5a4c29
|
Merge
|
2014-07-24 19:50:37 +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
|
ed4e2a20e4
|
Add deserializer
|
2014-07-23 22:55:45 +04:00 |
|
Ilmir Usmanov
|
db9d18bd26
|
Don't dump trash
|
2014-07-23 21:34:25 +04:00 |
|
Ilmir Usmanov
|
764efa41b8
|
Fix parsing of for-loops.
|
2014-07-23 20:47:31 +04:00 |
|
Ruben Ayrapetyan
|
26c00acd50
|
Refinement of src/main.c.
|
2014-07-23 19:08:06 +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
|
f264d24b5a
|
Rewrite serializer and lexer: adjust nums' ids, dump strings, nums and rewrites
|
2014-07-23 17:36:11 +04:00 |
|
Ruben Ayrapetyan
|
79f3d97434
|
Renaming jerry_* identifiers from 'camelCase' to 'underscore_naming'.
|
2014-07-23 13:03:30 +04:00 |
|
Ilmir Usmanov
|
efb7009cfb
|
Generate bytecode while parsing
|
2014-07-22 20:49:51 +04:00 |
|
Ilmir Usmanov
|
0647cdd4f1
|
Add bytecode generator
|
2014-07-15 19:32:26 +04:00 |
|
Ruben Ayrapetyan
|
25ad63c9be
|
Adding forgotten jerry-libc.c for linux and stm32f4 targets.
|
2014-07-10 22:20:31 +04:00 |
|
Ruben Ayrapetyan
|
5b48cb1a37
|
Move src/libruntime/{linux,stm32f4} to src/libruntime/target.
|
2014-07-10 22:17:33 +04:00 |
|