Commit Graph

29 Commits

Author SHA1 Message Date
Roberto Raggi fc6f96166f Refactored Object 2012-05-25 13:43:30 +02:00
Roberto Raggi a5229e821d Propagate exceptions 2012-05-25 11:55:50 +02:00
Roberto Raggi 3bc997b2e3 Throw exceptions in the ecma library 2012-05-24 10:01:24 +02:00
Roberto Raggi 86183598a3 Throw exceptions 2012-05-23 18:50:24 +02:00
Roberto Raggi 0388eb704a Initial work on the Function prototype. 2012-05-21 14:58:23 +02:00
Roberto Raggi 945c988b45 Initial support for Array objects. 2012-05-21 09:52:55 +02:00
Roberto Raggi 860bd23e4d Improve [[DefaultValue]] 2012-05-18 15:28:59 +02:00
Roberto Raggi ccebbc0641 Implemented the ecma Date object. 2012-05-18 14:10:02 +02:00
Roberto Raggi 086e775da6 Some refactoring and some initial work on the Date object. 2012-05-18 10:10:36 +02:00
Roberto Raggi 41d4ac6294 Refactored the stack frames.
The new layout should simplify the use of static context
environments while compiling the code.
2012-05-16 16:29:07 +02:00
Roberto Raggi 37290dc90e checkpoint 2012-05-16 11:58:07 +02:00
Roberto Raggi 3dd5bfc0fd Add the Boolean Object. 2012-05-15 11:19:10 +02:00
Roberto Raggi a909c67279 Remove String::get() 2012-05-15 10:58:22 +02:00
Roberto Raggi 6ffb058b18 Cleanup function prototypes. 2012-05-15 10:53:33 +02:00
Roberto Raggi d9c263385c Add methods to allocate JS entities. 2012-05-15 10:35:19 +02:00
Roberto Raggi acc535d18f Initial implementation of the Math Object. 2012-05-14 17:38:53 +02:00
Roberto Raggi 4d77fb3a9b Introduce the ExecutionEngine. 2012-05-14 17:12:25 +02:00
Roberto Raggi 3a7f8a31ed Initial work on the String object. 2012-05-14 16:03:10 +02:00
Roberto Raggi c996f53bed Store the actual arguments in TEMPs with negative indices.
This should make it possible to optimize function calls.
2012-05-14 14:34:36 +02:00
Roberto Raggi a97bc91c7f Fix nested functions 2012-05-14 10:43:36 +02:00
Roberto Raggi 14ce5bb389 Fix constructors and some work on the String prototype. 2012-05-10 12:14:20 +02:00
Roberto Raggi c75421ee43 Add the String object constructor. 2012-05-10 10:56:02 +02:00
Roberto Raggi 908cc65547 Add callValue. 2012-05-09 15:47:55 +02:00
Roberto Raggi 08c29dabd8 Improve frame instantiations. 2012-05-08 11:13:02 +02:00
Roberto Raggi 02abaa637c Make Context a POD value. 2012-05-08 10:35:09 +02:00
Roberto Raggi dc716f8d37 Add naive support for function calls. 2012-05-07 17:38:17 +02:00
Roberto Raggi 81825142d4 Put the code in namespaces. 2012-05-04 15:28:04 +02:00
Roberto Raggi 1318bda1b2 Remove boehm GC 2012-05-04 15:23:18 +02:00
Roberto Raggi 47062ff244 Initial import 2012-05-03 17:08:41 +02:00