Ruben Ayrapetyan
da7e9d9871
Fixing retrieval of [[Class]] properties for built-in function objects, optimizing memory related to [[Class]] property.
...
- introduced ecma_object_get_class_name interface;
- removed creation of [[Class]] internal property for types of objects that unambiguously determine the [[Class]] value.
Related issue: #112
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
2015-05-29 12:52:24 +03:00
Ruben Ayrapetyan
d4537eb0d1
Instantiation of Arguments object.
...
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
2015-05-28 19:12:54 +03:00
Ruben Ayrapetyan
ed4ff8e5bb
Introducing a function object's flag indicating whether Arguments object should be instantiated upon call of the function.
...
The Arguments object is supposed to be unnecessary if function's code:
- doesn't reference 'arguments' identifier;
- doesn't reference 'eval' identifier (so, it doesn't perform direct call to eval).
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
2015-05-28 19:12:54 +03:00
Ruben Ayrapetyan
3a9bf24001
Update of several 'vm' component interfaces naming.
...
init_int -> vm_init;
run_int -> vm_run_global;
run_int_loop -> vm_loop;
run_int_from_pos -> vm_run_from_pos;
read_opcode -> vm_get_opcode.
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
2015-05-28 19:12:54 +03:00
Peter Gal
b614c0bd9a
Implement Array.prototype.join
...
JerryScript-DCO-1.0-Signed-off-by: Peter Gal pgal.u-szeged@partner.samsung.com
2015-05-21 16:22:48 +02:00
Peter Gal
7d703040d0
Implement Object.prototype.isPrototypeOf
...
JerryScript-DCO-1.0-Signed-off-by: Peter Gal pgal.u-szeged@partner.samsung.com
2015-05-19 16:02:39 +02:00
Ruben Ayrapetyan
5c76b3f558
Fixing ecma_op_from_property_descriptor semantics (type check for input property descriptor was implemented incorrectly).
...
Related issue: https://github.com/Samsung/jerryscript/issues/70
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
2015-05-15 19:18:19 +03:00
Andrey Shitov
9763a93df3
Add new coding style rules and fix appeared issues.
...
JerryScript-DCO-1.0-Signed-off-by: Andrey Shitov a.shitov@samsung.com
2015-05-14 14:44:57 +03:00
Ruben Ayrapetyan
b05d239cf7
Supplementing ECMA_TRY_CATCH with assertion that 'return_value' contains empty completion value prior to execution of ECMA_TRY_CATCH statement.
...
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
2015-05-08 22:34:57 +03:00
Ruben Ayrapetyan
3899fe9096
Stub for eval operation with partial implementation.
2015-04-18 21:48:54 +03:00
Ruben Ayrapetyan
175f8912b2
Passing ecma_value_t by value instead of by reference.
2015-04-18 21:46:13 +03:00
Ruben Ayrapetyan
b81e535e1c
Providing interface for getting reference to Global lexical environment.
2015-04-18 21:46:13 +03:00
Ruben Ayrapetyan
8ee3ee5e4c
Fix of exit completion value handling in ECMA_TRY_CATCH.
2015-04-10 11:36:01 +03:00
Ruben Ayrapetyan
469ef4e622
Implementing API for associating native handle (uintptr_t) values with JS objects.
2015-04-07 13:01:01 +03:00
Ruben Ayrapetyan
4dbc6a9d1a
Implementing [[Construct]] for external function objects.
2015-04-06 12:31:29 +03:00
Ruben Ayrapetyan
83730cd6bb
Implementing dispatcher for calling native handlers associated with external function objects; implementing interface for unified storage of native pointers in ecma objects.
2015-04-03 23:38:52 +03:00
Ilyong Cho
23ade8f4ff
wip: Implementing external function api
2015-04-03 18:11:21 +09:00
Ilyong Cho
7b5764c445
Storing global envorinment on global object's SCOPE internal property
2015-04-03 16:11:03 +09:00
Ruben Ayrapetyan
c81651dbe9
Introducing mem_cpointer_t type for compressed pointers.
2015-04-02 16:56:36 +03:00
Ruben Ayrapetyan
3da56908aa
Fixing ecma_builtin_jerry_dispatch_routine: returning 'undefined' instead of 'empty' completion value.
2015-04-02 16:27:16 +03:00
Ruben Ayrapetyan
c8f78c5d28
Nuttx build support.
2015-03-23 12:10:27 +03:00
Ruben Ayrapetyan
79695bf3cd
Extension description syntax; extension instantiation, field values and calls with arguments (except strings); example of a simple extension.
...
String arguments support is supposed to be added in a subsequent commit.
2015-02-25 16:51:21 +03:00
Ruben Ayrapetyan
a751ab4f9d
Changing garbage collector to non-generational.
2015-02-18 20:22:38 +03:00
Ruben Ayrapetyan
d1f6760f01
Accessing getter and setter fields of named data accessor property descriptor through ecma_{get,set}_named_accessor_property_{getter,setter}.
2015-02-18 17:38:46 +03:00
Ruben Ayrapetyan
88353e93cf
Renaming core -> jerry-core.
2015-02-17 19:08:55 +03:00