Ruben Ayrapetyan
feedb37b20
Replacing way to specify ecma-char encoding and ecma-number type: instead of defining it like CONFIG_ECMA_NUMBER_FLOAT32 now it should be defined like CONFIG_ECMA_NUMBER_TYPE=CONFIG_ECMA_NUMBER_FLOAT32.
2014-10-23 18:33:10 +04:00
Ruben Ayrapetyan
e4a7d1c8ac
Introducing nostaticcheck=1 build option for disabling cppcheck and vera++ checks during the build.
2014-10-23 16:55:59 +04:00
Ruben Ayrapetyan
33aeac458a
Removing tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.02/15.07.03.02-002.js and tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.02/15.07.03.02-003.js from tests/jerry-test-suite/float_precision_exceptions_list.
2014-10-23 15:46:46 +04:00
Ruben Ayrapetyan
7f4a70ccb5
Improving precision of zt-string to ecma-number conversion.
2014-10-23 15:46:42 +04:00
Ruben Ayrapetyan
ae048a7630
Running internal test suite during precommit testing.
2014-10-20 21:45:21 +04:00
Ruben Ayrapetyan
2d032a30dc
Extracting ecma_number_trunc helper from ecma_op_number_remainder.
2014-10-20 20:48:36 +04:00
Ruben Ayrapetyan
42abd7d63a
Moving ecma-number mathematical constants to src/libecmaobjects/ecma-globals.h.
2014-10-20 20:48:36 +04:00
Ruben Ayrapetyan
491893efb9
Fixing ecma_number_substract.
2014-10-20 20:44:58 +04:00
Ruben Ayrapetyan
3eed2d0d4c
Renaming ecma_op_number_{add,subtract,multiply,divide} -> ecma_number_{add,subtract,multiply,divide}.
...
Moving ecma_number_{add,subtract,multiply,divide} to src/libecmaobjects/ecma-helpers-number.c.
Moving abs, sqrt, ln, exp, calculation helpers from src/libecmabuiltins/ecma-builtin-math-object.c to src/libecmaobjects/ecma-helpers-number.c.
2014-10-20 18:48:10 +04:00
Ruben Ayrapetyan
a8ed76591a
Removing tests/jerry-test-suite/15/15.03/15.03.04/15.03.04.02/15.03.04.02-002.js that depends on
...
TypeErro built-in support from CompactProfile-compatible test list (tests/jerry-test-suite/compact_profile_list)
and adding it to tests/jerry-test-suite/unsupported_list.
2014-10-20 17:31:41 +04:00
Ruben Ayrapetyan
1796138a27
Fixing some tests from internal test suite.
2014-10-20 17:31:41 +04:00
Ruben Ayrapetyan
512d816568
Fixing Number.MIN_VALUE and Number.MAX_VALUE values for CONFIG_ECMA_NUMBER_FLOAT64 mode.
2014-10-20 17:31:41 +04:00
Ruben Ayrapetyan
3f54dc16e0
Removing tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.07/15.05.04.07-003.js that depends on String.prototype.indexOf support from
...
CompactProfile-compatible test list (tests/jerry-test-suite/compact_profile_list)
and adding it to tests/jerry-test-suite/unsupported_list.
2014-10-20 17:31:40 +04:00
Ruben Ayrapetyan
9c20969cfc
Fixing some tests from internal test suite.
2014-10-20 17:31:40 +04:00
Ruben Ayrapetyan
c7f1e6b007
Adding three tests that depend on Number.prototype.toString support to tests/jerry-test-suite/unsupported_list and removing them from CompactProfile compatible tests list (tests/jerry-test-suite/compact_profile_list).
2014-10-20 17:31:40 +04:00
Ruben Ayrapetyan
b52ca8cca5
Fixing Number.prototype.toString.
2014-10-20 17:27:51 +04:00
Ruben Ayrapetyan
8f5160d6bf
Implementing ToObject for number arguments.
2014-10-20 15:39:09 +04:00
Ruben Ayrapetyan
1b74687989
Implementing ToObject for boolean arguments.
2014-10-20 15:26:24 +04:00
Ruben Ayrapetyan
f666750ce7
List of internal tests suite's tests that are not excluded by Compact Profile.
2014-10-20 14:38:41 +04:00
Ruben Ayrapetyan
ba4dca2e98
Fixing some tests from internal test suite.
2014-10-20 14:15:01 +04:00
Ruben Ayrapetyan
69a1cab26b
Update unsupported_list: removed 'float32 precision' block and added 'other built-ins' block.
2014-10-20 13:55:49 +04:00
Ruben Ayrapetyan
2d5a5c37b0
Fixing number bitwise operations.
2014-10-20 13:47:21 +04:00
Ruben Ayrapetyan
9e890827f7
Fixing build in CONFIG_ECMA_NUMBER_FLOAT64 mode.
2014-10-20 13:46:41 +04:00
Ruben Ayrapetyan
6ebd96f903
Improving precision of string to number conversion in ecma_zt_string_to_number.
2014-10-20 13:46:13 +04:00
Ruben Ayrapetyan
8e1156bd9e
Support of STM32F3 board.
2014-10-17 21:48:09 +04:00
Ruben Ayrapetyan
9c1428de29
Implementing instantiation of prototype property Object built-in object.
2014-10-16 21:47:25 +04:00
Ruben Ayrapetyan
03df80efe0
Fixing a test from internal test suite.
2014-10-16 21:46:37 +04:00
Ruben Ayrapetyan
e54023caf2
Throwing CompactProfileError in cases required by Compact Profile.
2014-10-16 21:26:23 +04:00
Ruben Ayrapetyan
dce3e5db59
Removing assertions about fitting of uint32_t and int32_t to ecma_number_t as they are incorrect under CONFIG_ECMA_NUMBER_FLOAT32.
2014-10-16 20:24:05 +04:00
Ruben Ayrapetyan
6520779f46
Initialization of [[PrimitiveValue]] properties of built-in String.prototype, Number.prototype and Boolean.prototype objects.
2014-10-16 20:17:29 +04:00
Ruben Ayrapetyan
ed960b78db
Introducing CompactProfileError built-in object.
2014-10-16 19:49:47 +04:00
Ruben Ayrapetyan
fce52b42c5
Fixing incorrect comments in src/libecmabuiltins/ecma-builtin-boolean-object.c.
2014-10-16 19:46:07 +04:00
Ruben Ayrapetyan
18f442b09d
Disabling output of file name, function name and line on abnormal engine termination under JERRY_NDEBUG.
2014-10-16 18:47:59 +04:00
Ruben Ayrapetyan
9c3c835a7e
Implementing syscall invocation sequence for ARMv7 architecture.
...
Removing dependencies to third-party libc routine implementations.
Introducing __TARGET_HOST define for host (non-MCU) builds.
2014-10-16 18:39:56 +04:00
Ruben Ayrapetyan
8a58e0b9d5
Implementation of Boolean and Boolean.prototype built-in objects.
2014-10-16 14:45:55 +04:00
Ruben Ayrapetyan
c231893b28
Implementation of Number built-in object and partial implementation of Number.prototype built-in object.
...
Fixing [[Prototype]] and [[Class]] properties of Array and String built-in objects.
2014-10-16 13:25:47 +04:00
Ruben Ayrapetyan
e25f1297ff
Adding a test that is not working due to insufficient float32 precision to corresponding section of tests/jerry-test-suite/unsupported_list.
2014-10-16 11:37:24 +04:00
Ruben Ayrapetyan
b98363ce05
Adding rest tests with for-in loops to tests/jerry-test-suite/unsupported_list.
2014-10-16 11:27:28 +04:00
Ruben Ayrapetyan
5b242d6cc5
Fixing some tests from internal test suite.
2014-10-16 11:23:34 +04:00
Ruben Ayrapetyan
2eedfdc334
Fixing some tests from internal test suite.
2014-10-16 11:01:39 +04:00
Ruben Ayrapetyan
1de6eb8707
Fixing paths in tests/jerry-test-suite/unsupported_list.
2014-10-16 10:46:53 +04:00
Ruben Ayrapetyan
a975e53f49
List of test with features, which are now unsupported and will not be supported before next release.
2014-10-15 21:15:51 +04:00
Ruben Ayrapetyan
a66c175d98
Fixing 'delete_var' opcode handler.
2014-10-15 20:39:56 +04:00
Ruben Ayrapetyan
b7ad84c76a
Fixing a test from internal test suite.
2014-10-15 20:32:19 +04:00
Ruben Ayrapetyan
8088163d04
Fixing some tests in internal test suite.
2014-10-15 20:22:05 +04:00
Ruben Ayrapetyan
aaadfec530
Fixing assertion checks in 'try' opcode handler.
2014-10-15 19:40:46 +04:00
Ruben Ayrapetyan
c7eec63e28
Fixing array instance construction routine: setting prototype to Array.prototype built-in object.
2014-10-15 19:31:30 +04:00
Ruben Ayrapetyan
9b178f5ab0
Implementing 'length' property of String instances.
2014-10-15 19:02:41 +04:00
Ruben Ayrapetyan
5d874596ec
Fixing 'instanceof' opcode handler.
2014-10-15 18:46:40 +04:00
Ruben Ayrapetyan
9bafe2a2ae
Fixing a test from internal test suite.
2014-10-15 18:44:35 +04:00
Ruben Ayrapetyan
b7df625666
Fixing a test from internal test suite.
2014-10-15 18:12:46 +04:00
Ruben Ayrapetyan
11252394a5
Fixing 'delete_prop' opcode handler.
2014-10-15 18:11:45 +04:00
Ruben Ayrapetyan
0c9f03c313
Fixing opfunc_delete_var.
2014-10-15 18:02:29 +04:00
Ruben Ayrapetyan
e8d728f8ce
Fixing typeof for boolean arguments.
2014-10-15 18:02:10 +04:00
Ruben Ayrapetyan
41b7ca2faa
Fixing 'in' opcode handler.
2014-10-15 17:41:48 +04:00
Ruben Ayrapetyan
47ed774232
Fixing obj_decl opcode handler to handle property name argument as index of register variable containing a declared property's name.
2014-10-15 17:33:58 +04:00
Ruben Ayrapetyan
b3f45c5c82
Fixing ecma_op_abstract_equality_compare.
2014-10-15 16:56:58 +04:00
Ruben Ayrapetyan
f4ff85e861
Fixing test 11/11.02/11.02.02/11.02.02-008.js from internal test suite.
2014-10-15 16:56:58 +04:00
Ruben Ayrapetyan
e5b0bb1a0d
Fixing ecma_op_abstract_equality_compare.
2014-10-15 16:56:58 +04:00
Ruben Ayrapetyan
4e9958edb5
Fixing mistype in 12.06.02-005.js.
2014-10-15 16:56:58 +04:00
Ruben Ayrapetyan
2d9a8da5c2
Fixing some tests from internal test suite.
2014-10-15 16:11:05 +04:00
Ruben Ayrapetyan
efe713f2a9
Fixing memory leak in ecma_op_function_construct.
2014-10-15 16:11:04 +04:00
Ruben Ayrapetyan
2a8adf7698
Fixing memory leak in ecma_op_string_object_get_own_property.
2014-10-15 16:11:04 +04:00
Ruben Ayrapetyan
7dcbeec487
Fixing typeof with null argument.
2014-10-15 16:11:04 +04:00
Ruben Ayrapetyan
391b6caebe
Fixing this_arg handling in opfunc_call_n.
2014-10-15 13:57:26 +04:00
Ruben Ayrapetyan
e9a632ea4e
Fixing sign of converted number in ecma_zt_string_to_number.
2014-10-14 19:11:11 +04:00
Ruben Ayrapetyan
427dd83d99
Fixing postfix increment and postfix decrement opcodes handlers.
2014-10-14 18:52:06 +04:00
Ruben Ayrapetyan
ab5a66cebe
Implementing __aeabi_llsr (ARM Runtime ABI: long long right shift).
2014-10-14 18:09:11 +04:00
Ruben Ayrapetyan
4689f6c3c5
Handling elements bigger than 8 bytes in linked_list_set_element.
2014-10-14 17:35:07 +04:00
Ruben Ayrapetyan
004541fdc4
loop_demo.js in 'generated_source' as modifiable characters array.
2014-10-14 17:23:11 +04:00
Ruben Ayrapetyan
05103b1ecc
Reducing waitTime in loop_demo.js
2014-10-14 17:23:11 +04:00
Ruben Ayrapetyan
7d27375860
Representing script as modifiable characters array for MCU.
2014-10-14 17:23:11 +04:00
Ruben Ayrapetyan
78367993db
Replacing -O3 optimization option with -Os.
2014-10-14 15:13:16 +04:00
Ruben Ayrapetyan
d49dfd3956
Implementing __aeabi_llsl (ARM Runtime ABI: long long left shift).
2014-10-14 15:13:16 +04:00
Ruben Ayrapetyan
c4ba033970
Renaming ERR_MEMORY -> ERR_OUT_OF_MEMORY.
2014-10-14 14:08:38 +04:00
Ruben Ayrapetyan
38b47eaba7
Reducing number of iterations in nested_function.js: 1000 -> 100.
2014-10-13 19:34:16 +04:00
Ruben Ayrapetyan
d2ceca87d2
Enabling jerry/sunspider/controlflow-recursive and jerry/sunspider/math-spectral-norm benchmarks.
2014-10-13 19:09:09 +04:00
Ruben Ayrapetyan
6430a104b3
ecma_ref_ecma_string -> ecma_copy_or_ref_ecma_string: copying ecma-string when the string's reference counter reaches maximum value.
2014-10-13 18:59:07 +04:00
Ruben Ayrapetyan
9a15286aad
Fixing ecma_gc_is_object_may_ref_younger_objects.
2014-10-13 18:35:27 +04:00
Ruben Ayrapetyan
9f6ebb310b
Removing test suite for Compact Profile.
2014-10-13 16:27:16 +04:00
Ruben Ayrapetyan
211ea32dbf
Fixing jrt_set_mem_limits.
2014-10-13 15:53:04 +04:00
Ruben Ayrapetyan
ee0d800b82
Copying and reducing test suite for Compact profile.
2014-10-13 14:59:33 +04:00
Ruben Ayrapetyan
db6b12f958
Fixing two tests in Jerry test suite.
2014-10-13 14:58:46 +04:00
Ruben Ayrapetyan
7819adcf99
Implementing ToObject routine for case argument is string literal.
2014-10-13 13:29:29 +04:00
Ruben Ayrapetyan
fc69e52ca3
Fixing memory leak in ecma_op_string_object_get_own_property.
2014-10-13 13:29:29 +04:00
Ruben Ayrapetyan
76bebfc532
Fixing GetValue / PutValue routines for primitive base values (access after ToObject).
2014-10-13 13:29:29 +04:00
Ruben Ayrapetyan
47d384c565
Partial implementation of the Array.prototype built-in object.
2014-09-26 20:07:45 +04:00
Ruben Ayrapetyan
0e22967653
Fixing Arguments object construction routine.
2014-09-26 19:36:14 +04:00
Ruben Ayrapetyan
add24b93fe
Fixing various FIXMEs that depend on Function.prototype built-in.
2014-09-26 19:36:14 +04:00
Ruben Ayrapetyan
bef5289cb6
Adding stubs for Function and Function.prototype built-ins.
2014-09-26 19:26:17 +04:00
Ruben Ayrapetyan
2d332bc98b
Implementing 'Object.prototype.toString' and 'Object.prototype.valueOf' built-ins.
2014-09-26 18:50:46 +04:00
Ruben Ayrapetyan
f82ae90040
Fixing various FIXMEs that depend on built-in Object constructor and Object.prototype.
2014-09-26 18:33:50 +04:00
Ruben Ayrapetyan
a0a2ec2cea
Replacing items of ecma_object_class_t with corresponding ecma magic strings.
2014-09-26 18:04:42 +04:00
Ruben Ayrapetyan
897ed2d5c2
Adding stubs for Object.prototype routines.
2014-09-26 17:47:53 +04:00
Ruben Ayrapetyan
508573b398
Compacting declaration of dispatch routines for built-in objects.
2014-09-26 17:07:04 +04:00
Ruben Ayrapetyan
6b02835547
Refactoring 'call_n' opcode handler so that it looks for meta 'this_arg' at start of argument list.
2014-09-26 15:13:43 +04:00
Ruben Ayrapetyan
ba2eeb84af
Implementing String.prototype.toString and String.prototype.valueOf built-in routines.
2014-09-25 21:04:24 +04:00
Ruben Ayrapetyan
5bee6cad0f
Adding stubs for String.prototype routines.
2014-09-25 20:39:00 +04:00
Ruben Ayrapetyan
caa2663b28
Adding magic strings for property names of built-in prototype objects.
2014-09-25 19:23:22 +04:00
Ruben Ayrapetyan
c235021147
Implementing [[DefaultValue]] general objects' method.
2014-09-25 18:37:38 +04:00