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
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
b52ca8cca5
Fixing Number.prototype.toString.
2014-10-20 17:27:51 +04:00
Ilmir Usmanov
3f7fca4d39
Implement full support of strict mode in parser.
2014-10-20 16:54:40 +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
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
e54023caf2
Throwing CompactProfileError in cases required by Compact Profile.
2014-10-16 21:26:23 +04:00
Ilmir Usmanov
bd7fd40a32
Fix 'function' declaration parsing
2014-10-16 21:12:03 +04:00
Ilmir Usmanov
b1e6656fb4
Fix property increment
2014-10-16 20:32:19 +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
Ilmir Usmanov
90789453ba
Fix 'prototype' property.
2014-10-16 18:07:56 +04:00
Ilmir Usmanov
2637911b3e
Fix 'this_arg'
2014-10-16 16:05:48 +04:00
Ilmir Usmanov
16556eb830
Fix 'switch' bytecode generation. Remove __strtof. Fix opcodes pretty-printing.
2014-10-16 15:33:54 +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
Ilmir Usmanov
6b733b8cd2
Fix 'continue' bytecode generation. Fix tests.
2014-10-15 21:04:00 +04:00
Ruben Ayrapetyan
a66c175d98
Fixing 'delete_var' opcode handler.
2014-10-15 20:39:56 +04:00
Ilmir Usmanov
e1e7752a62
Fix bytecode generation of binary expressions. Fix bytecode generation of query operator. Fix tests.
2014-10-15 20:08:43 +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
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
Ilmir Usmanov
49d990ad32
Allow some of FutureReservedWords in non-strict mode
2014-10-15 17:53:19 +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
Ilmir Usmanov
77d56c5f93
Fix function end meta in property setter and getter
2014-10-15 17:15:43 +04:00
Ruben Ayrapetyan
b3f45c5c82
Fixing ecma_op_abstract_equality_compare.
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
Ilmir Usmanov
af5cf79d3c
Use tmps as property names
2014-10-15 16:40:56 +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
Ilmir Usmanov
a9856dcf9a
Add support of NaN in opfunc_unary_minus
2014-10-15 15:33:00 +04:00
Ilmir Usmanov
032031a861
Add unary_plus and unary_minus opcodes
2014-10-15 15:20:49 +04:00