596 Commits

Author SHA1 Message Date
e.gavrin
7803e073c4 Add opfuncs for greater_or_equal_than and less_or_equal_than opcodes. Add test. 2014-08-14 16:36:53 +04:00
Ruben Ayrapetyan
4bacc6c957 Adding literal variable to tests/jerry/variables.js. 2014-08-13 19:30:37 +04:00
e.gavrin
871c36feb7 Enable variables.js test 2014-08-13 18:10:04 +04:00
Ilmir Usmanov
2e1da4cae5 Quickfix N2 2014-08-12 22:48:24 +04:00
e.gavrin
464bf578cc Remove unneeded test 2014-08-12 00:20:39 +04:00
Ilmir Usmanov
5373b60955 Reformat 2014-08-11 23:17:45 +04:00
e.gavrin
14d8b0d55e Add new runtime tests 2014-08-11 19:08:54 +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
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
4ff5042abc Enabling full testing mode during pre-commit. 2014-08-06 15:54:37 +04:00
Ilmir Usmanov
4a7bb710fa Add 'assert' intrinsic 2014-08-06 14:17:53 +04:00
Ilmir Usmanov
bfe2293d43 Replace repeated var_decls with nop 2014-08-05 14:52:03 +04:00
Ilmir Usmanov
3b624be051 Fix adjusting jumps 2014-08-05 11:51:49 +04:00
e.gavrin
b1f940c863 add new benchmark and new test 2014-07-31 23:44:18 +04:00
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
Ilmir Usmanov
1d41e8a355 Add 'exit' intrinsic 2014-07-31 21:52:25 +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
27f6d2b552 Fixing test_poolman that is failing after 6b050cc03719bfdb49b68eeb5deeed61bc51ff5a. 2014-07-25 20:23:34 +04:00
Ruben Ayrapetyan
09c1f91bb3 Printing heap's block headers before beginning of unit test. 2014-07-25 20:00:59 +04:00
e.gavrin
65b4968a69 fix text 2014-07-25 19:24:19 +04:00
Ruben Ayrapetyan
5e4078095a Print heap memory usage statistics before exit (host version). 2014-07-25 19:09:10 +04:00
Ruben Ayrapetyan
61550f2029 Fixing opcode unit tests. 2014-07-24 20:04:27 +04:00
Ruben Ayrapetyan
b7a3a13bc9 Implementing register variables. 2014-07-24 18:13:32 +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
e.gavrin
2ff5d14b06 new test 2014-07-23 19:44:29 +04:00
Ruben Ayrapetyan
0eea67ceb2 Renaming camelCase-named identifiers in unit tests' code. 2014-07-23 14:14:45 +04:00
Ruben Ayrapetyan
488ed41c2b Implementing 'substraction' opcode handler and, partially (except string operands), 'addition' opcode handler; adding unit tests for them. 2014-07-22 18:55:13 +04:00
Ruben Ayrapetyan
cbbd71588a Implementing 'division' and 'remainder' opcode handlers, adding unit tests for the opcodes. 2014-07-22 18:26:06 +04:00
Ruben Ayrapetyan
739d19be5b Implementing 'multiplication' opcode handler and unit test for the opcode. 2014-07-21 21:59:15 +04:00
Ruben Ayrapetyan
ff4d3e4af3 Implementing assignment of number literal values in 'assignment' opcode handler. 2014-07-21 19:22:25 +04:00
Ruben Ayrapetyan
30c383556d Unit test for 'assignment' opcode. 2014-07-21 18:09:05 +04:00
Ruben Ayrapetyan
0af0c86532 Unit test: single var_decl, followed by exitval. 2014-07-18 15:27:38 +04:00
Ruben Ayrapetyan
97a2776996 Deleting tests/jerry/*.exp. 2014-07-14 19:36:05 +04:00
Ruben Ayrapetyan
8641b79ed5 Fix type conversion warnings in unit tests for memory allocators. 2014-07-10 19:45:31 +04:00
Ruben Ayrapetyan
aaf2bc4f41 Fix mem-heap.c, mem-poolman.c and test_poolman.c compilation for '#ifndef MEM_STATS' case. 2014-07-09 19:43:50 +04:00
Ilmir Usmanov
a2350cb88e Change parser to stack-only version 2014-07-09 18:05:19 +04:00
Ilmir Usmanov
f46d5b440c Merge line-by-line parser 2014-07-09 16:17:42 +04:00
e.gavrin
823432664e Applied memory tests 2014-07-08 13:24:57 +04:00
e.gavrin
e4122522ae tests 2014-07-04 14:20:06 +04:00
e.gavrin
6e2e50aa9f renaimings 2014-07-04 14:17:57 +04:00
e.gavrin
eb38816fc4 new generated file + genscript + skeleton of interpreter 2014-07-02 16:42:03 +04:00
e.gavrin
9a63527b91 add parser tests + magic 2014-07-01 17:09:17 +04:00