Ruben Ayrapetyan
f6e7621d3f
Adding __always_inline attribute to some value handling helpers.
2014-11-27 19:40:14 +03:00
Ruben Ayrapetyan
9f7e17e9fd
Removing musl libc usage. Linking to libgcc (for __aeabi_* routines on ARM target).
2014-11-18 21:17:31 +03:00
Ruben Ayrapetyan
44eca8e207
Fixing JERRY_ASSERT macro for JERRY_NDEBUG build mode.
...
The macro under !JERRY_NDEBUG was evaluting it's argument and called jerry_assert_fail
if the argument was evaluated to false. Under JERRY_NDEBUG the macro still
was evaluating it's argument but jerry_assert_fail wasn't called anyway.
Now macro doesn't evaluate it's argument under JERRY_NDEBUG build.
2014-11-17 12:52:43 +03:00
Ruben Ayrapetyan
afe242e7a3
Adding __attribute_pure__ and __attribute_const__ to some routines that operate on bit-fields.
2014-11-11 19:25:49 +03:00
Ruben Ayrapetyan
fc751b0f15
Arranging JERRY_UNIMPLEMENTED macro usages and adding comments to each invocation of the macro.
2014-10-27 19:48:03 +03:00
Ruben Ayrapetyan
8e1156bd9e
Support of STM32F3 board.
2014-10-17 21:48:09 +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
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
64e286f766
Enable pretty-printer only on host and debug
2014-10-14 15:06:21 +04:00
Ruben Ayrapetyan
c4ba033970
Renaming ERR_MEMORY -> ERR_OUT_OF_MEMORY.
2014-10-14 14:08:38 +04:00
Ilmir Usmanov
3819883f80
Add human-readable syntax errors
2014-10-03 19:01:45 +04:00
Ruben Ayrapetyan
d9e0f2936d
Adding jerry_unreachable and jerry_unimplemented routines that print file name and line for corresponding unreachable, unimplemented marks.
2014-09-18 17:08:32 +04:00
Ruben Ayrapetyan
30008f8dc5
Splitting ERR_GENERAL error code in ERR_FAILED_INTERNAL_ASSERTION and ERR_UNIMPLEMENTED_CASE; introducing ERR_FAILED_ASSERTION_IN_SCRIPT error code for handling non-zero script's exit values.
2014-09-18 14:02:34 +04:00
Ruben Ayrapetyan
813831a23b
Decimal conversion of Number to zt-string (still not precise enough). Zt-string copy and length calculation helpers.
2014-09-01 21:12:02 +04:00
Ruben Ayrapetyan
1d02085dc6
Packing ecma_object_t to 8 bytes.
2014-08-29 17:38:05 +04:00
Ruben Ayrapetyan
b529fc2da9
Processing unhandled exception by exiting engine with ERR_UNHANDLED_EXCEPTION; determining if function's code is strict by checking for appearance of 'meta' opcode of OPCODE_META_TYPE_STRICT_CODE type at the beginning of the function's code.
2014-08-28 20:21:47 +04:00
Ruben Ayrapetyan
9d45f68370
Introducing 'opcode counter' type for 'meta' opcode; replacing 'jmp_down' opcodes that are used as pointers only with 'meta' opcodes of the introduced type.
2014-08-28 15:17:49 +04:00
Ruben Ayrapetyan
7d38fee700
Implementing comparison of ecma-strings for different types of string containers.
2014-08-21 19:54:11 +04:00
e.gavrin
0fb8076d2a
fix formatting issues in src/*. Ignore #define.. in jerry_funcname_space_parentheses.tcl
2014-08-19 15:03:05 +04:00
Ruben Ayrapetyan
779fe64161
Introducing ERR_SYSCALL that should be used on failures during syscalls execution.
2014-07-31 22:31:47 +04:00
Ruben Ayrapetyan
8d387cd32f
Introducing make parameters todo, fixme and echo: todo/fixme enable printing of todo/fixme pragma messages if set to 1 (that are disabled by default after this commit); echo enables compilation/linking command line echoing if set to 1.
2014-07-29 14:52:42 +04:00
Ilmir Usmanov
1b6638f073
Add ERR_MEMORY exit code to show that there was not enough memory; fix debug.stm build
2014-07-28 19:39:11 +04:00
Ruben Ayrapetyan
1796b9d903
Renaming rest camelCase-named identifiers according to underscore_named_value-naming.
2014-07-23 14:07:45 +04:00
Ruben Ayrapetyan
79f3d97434
Renaming jerry_* identifiers from 'camelCase' to 'underscore_naming'.
2014-07-23 13:03:30 +04:00
Ruben Ayrapetyan
f0abfbb31b
Refinement of exception handling code in 'multiplication' and 'assignment' opcode handlers.
2014-07-22 17:23:29 +04:00
Ruben Ayrapetyan
2615f28700
Adding JERRY_UNIMPLEMENTED_REF_UNUSED_VARS(...) macros that allow referencing variables that are unused due to partial implementation.
2014-07-15 18:56:09 +04:00
Ruben Ayrapetyan
dfb9441e8c
Removed typedefs for basic int types and bool, definition of NULL from globals.h. Included <stdint.h>, <stdbool.h>, <stddef.h> in that header.
2014-07-14 19:59:29 +04:00
Ruben Ayrapetyan
e6b3be5dfc
jerry_Exit - exit function that under !JERRY_NDEBUG, in case status code is non-zero, prints exit status as string and calls handler of failed assertion.
2014-07-10 21:52:15 +04:00
Ruben Ayrapetyan
76e579d4e1
Remove inclusion of std headers to our headers; move fatal from src/error.h to src/libjsparser/parser.c.
2014-07-10 19:46:24 +04:00
Ruben Ayrapetyan
c132f6aa3c
Creating libruntime, moving jerry-libc and pretty-printer to libruntime, creating platform-dependent handlers of failed assertions.
2014-07-10 19:46:23 +04:00
e.gavrin
80ee7731e3
Add TODO and FIXME macroses
2014-07-09 19:47:35 +04:00
Ruben Ayrapetyan
6dc72837ba
Remove ';' from JERRY_STATIC_ASSERT.
2014-07-09 19:12:41 +04:00
Ruben Ayrapetyan
0163425208
Fix JERRY_STATIC_ASSERT: add __unused attribute to defined type.
2014-07-09 19:03:42 +04:00
Ilmir Usmanov
f46d5b440c
Merge line-by-line parser
2014-07-09 16:17:42 +04:00
e.gavrin
e3e0167249
remove output from lexer, fixes
2014-07-04 17:11:06 +04:00
e.gavrin
604771248f
renamed ecma-defs.h -> src/ecma-globals.h
2014-07-02 14:20:54 +04:00
e.gavrin
5923418e69
renamed _ -> -
2014-07-02 13:54:22 +04:00