Граф коммитов

33 Коммитов

Автор SHA1 Сообщение Дата
rogerl%netscape.com d13899b06c New (incomplete but functional) implementation of operator overriding. 2001-01-11 00:03:05 +00:00
beard%netscape.com 2d8bdb7992 Use GC-safe vector of JSFunction* to hold getters/setters. 2000-12-30 07:46:18 +00:00
waldemar%netscape.com 157324e348 Converted to CodeWarrior 6 and fixed errors 2000-12-16 01:14:55 +00:00
rogerl%netscape.com d11b23802a Sweeping set of changes to implement closures. Also re-targetted entire
front-end to Cobol and back-end now generates pdp11 assembly code in
spanish.
2000-12-08 23:55:39 +00:00
rogerl%netscape.com e73ca123f0 Added notion of binding a 'this' to a method to construct a mini-closure
for call semantics. Fixed MSVC warnings from lexutils. Added BindThis
instructionand removed 'this' from Call instruction (is now extracted
from target argument).
2000-11-16 23:48:42 +00:00
rogerl%netscape.com 06dade6b2e Fixed adding setter to virtual inherited field. 2000-11-03 02:42:01 +00:00
rogerl%netscape.com 699cd8646f Changed ArgumentList to ArgumentList*. Changed ICodeGenerator to take a
Context instead of world & global pair. Connected to ICodeAssembler from
XMLParser.
2000-10-21 00:30:23 +00:00
rogerl%netscape.com 1db3618a98 Mods for getter/setter methods. 2000-10-09 22:21:26 +00:00
rogerl%netscape.com e9324adac8 Added getter/setter for names. 2000-09-11 22:10:44 +00:00
waldemar%netscape.com 8941a10acb Fixed Mac errors and warnings 2000-08-02 23:09:29 +00:00
rogerl%netscape.com 06f0a5261f Removed all xxxCall, using simple call for everything.
Changed methods to use mMethods vector instead.
Various other fixes etc.
2000-07-18 20:53:03 +00:00
rogerl%netscape.com daba9186aa Support for 'constructor'. 2000-07-08 01:08:29 +00:00
rogerl%netscape.com 1375151969 Removed preprocess step, consolidated identifier handling. 2000-07-06 18:26:26 +00:00
beard%netscape.com 97dfdc5f04 unused parameter warning 2000-06-29 05:48:09 +00:00
beard%netscape.com 8f4cadb250 complementary operator delete(void*, JSClass*). 2000-06-29 05:46:36 +00:00
rogerl%netscape.com 63744d7c1c Implicit this and class lookup stuff. 2000-06-29 01:21:41 +00:00
beard%netscape.com 237dd352ed implemented JSClass::printProperties(). 2000-06-28 19:46:13 +00:00
beard%netscape.com d9bf640477 Fixed dynamic lookup of static slots. Added code to compare strings. 2000-06-28 16:32:52 +00:00
beard%netscape.com 970477555f Static slots. 2000-06-28 16:11:54 +00:00
beard%netscape.com 7b2b4a1e2f addSlot -> defineSlot, added defineStatic. 2000-06-27 03:42:42 +00:00
rogerl%netscape.com fbdb3fe1c1 lots of stuff me and Patrick did 2000-06-27 02:39:32 +00:00
beard%netscape.com d6c6cc31bb check for non-null superClass 2000-06-25 16:43:25 +00:00
beard%netscape.com 5d311184e2 hooked up superClass' scope as the prototype of a class's scope, to do method inheritance, removed bogus JSInstance::getSlotCount(), which overcounted slots. 2000-06-25 16:35:33 +00:00
beard%netscape.com e41bd745dd JSInstance::getSlotCount() no longer recursive. 2000-06-24 22:42:15 +00:00
beard%netscape.com 7b76b9503a Beginning support for superclass slots. 2000-06-24 22:07:00 +00:00
beard%netscape.com 46c0a7c5a8 Experiment with looking up methods in the prototype chain. 2000-06-24 05:22:23 +00:00
beard%netscape.com 565b0389db Added JSClass::get/setConstructor(). 2000-06-24 02:51:03 +00:00
rogerl%netscape.com 432c8b3cdc Got newClass working, added printProperties for instances, some slot
stuff is happening.
2000-06-24 00:50:59 +00:00
rogerl%netscape.com e939fbddc4 Adding slot handling to code gen. 2000-06-23 23:43:24 +00:00
beard%netscape.com da108e7b96 Added JSClass::hasSlot, getSlotCount(), and JSInstance. 2000-06-23 23:25:55 +00:00
rogerl%netscape.com 89515e83dc Removed FUNCTION instruction, other class related junk. 2000-06-23 22:53:09 +00:00
beard%netscape.com 6ccb94e600 A JSClass is a JSType now, and has a JSScope. Added addSlot, getSlot, getScope. 2000-06-23 05:09:37 +00:00
beard%netscape.com 124280ce07 initial checkin, starting on a representation for JS2 classes. 2000-06-21 23:57:09 +00:00