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

33 Коммитов

Автор SHA1 Сообщение Дата
rogerl%netscape.com bd632f75f4 New (incomplete but functional) implementation of operator overriding. 2001-01-11 00:03:05 +00:00
beard%netscape.com df3abcca9b Use GC-safe vector of JSFunction* to hold getters/setters. 2000-12-30 07:46:18 +00:00
waldemar%netscape.com e1b29f5bf1 Converted to CodeWarrior 6 and fixed errors 2000-12-16 01:14:55 +00:00
rogerl%netscape.com 069e9baacd 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 8ccb885553 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 7b8898dcf1 Fixed adding setter to virtual inherited field. 2000-11-03 02:42:01 +00:00
rogerl%netscape.com 8e8a28606a 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 8141a721b4 Mods for getter/setter methods. 2000-10-09 22:21:26 +00:00
rogerl%netscape.com 68c488539e Added getter/setter for names. 2000-09-11 22:10:44 +00:00
waldemar%netscape.com 9e6ed90896 Fixed Mac errors and warnings 2000-08-02 23:09:29 +00:00
rogerl%netscape.com cfd4e435be 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 0d7c4bc5c1 Support for 'constructor'. 2000-07-08 01:08:29 +00:00
rogerl%netscape.com f677b9a1dd Removed preprocess step, consolidated identifier handling. 2000-07-06 18:26:26 +00:00
beard%netscape.com 9a805c2a95 unused parameter warning 2000-06-29 05:48:09 +00:00
beard%netscape.com cbf9cb60d0 complementary operator delete(void*, JSClass*). 2000-06-29 05:46:36 +00:00
rogerl%netscape.com 8d0b4fe645 Implicit this and class lookup stuff. 2000-06-29 01:21:41 +00:00
beard%netscape.com 6df39dd186 implemented JSClass::printProperties(). 2000-06-28 19:46:13 +00:00
beard%netscape.com 9be70600fd Fixed dynamic lookup of static slots. Added code to compare strings. 2000-06-28 16:32:52 +00:00
beard%netscape.com b3b52a1138 Static slots. 2000-06-28 16:11:54 +00:00
beard%netscape.com cda9175d80 addSlot -> defineSlot, added defineStatic. 2000-06-27 03:42:42 +00:00
rogerl%netscape.com b3fecb38fa lots of stuff me and Patrick did 2000-06-27 02:39:32 +00:00
beard%netscape.com 26e7244738 check for non-null superClass 2000-06-25 16:43:25 +00:00
beard%netscape.com 85c8c4b500 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 7b4f21e16e JSInstance::getSlotCount() no longer recursive. 2000-06-24 22:42:15 +00:00
beard%netscape.com 8127cef905 Beginning support for superclass slots. 2000-06-24 22:07:00 +00:00
beard%netscape.com 7b61502b1e Experiment with looking up methods in the prototype chain. 2000-06-24 05:22:23 +00:00
beard%netscape.com be1f23517c Added JSClass::get/setConstructor(). 2000-06-24 02:51:03 +00:00
rogerl%netscape.com ac7b311416 Got newClass working, added printProperties for instances, some slot
stuff is happening.
2000-06-24 00:50:59 +00:00
rogerl%netscape.com 3930dfffb9 Adding slot handling to code gen. 2000-06-23 23:43:24 +00:00
beard%netscape.com a313672e06 Added JSClass::hasSlot, getSlotCount(), and JSInstance. 2000-06-23 23:25:55 +00:00
rogerl%netscape.com 9d4fb54c88 Removed FUNCTION instruction, other class related junk. 2000-06-23 22:53:09 +00:00
beard%netscape.com 03ee321bef 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 d193ec4ea0 initial checkin, starting on a representation for JS2 classes. 2000-06-21 23:57:09 +00:00