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

817 Коммитов

Автор SHA1 Сообщение Дата
waldemar%netscape.com 139931c770 Allowed multiple units in a unit expression 2000-10-28 05:55:47 +00:00
waldemar%netscape.com b65d4f2f46 Renamed OrdinaryInitialIdentifierCharacter and OrdinaryContinuingIdentifierCharacter to InitialIdentifierCharacter and ContinuingIdentifierCharacter 2000-10-28 05:55:19 +00:00
waldemar%netscape.com c8e5c8c645 Initial version 2000-10-28 05:54:44 +00:00
waldemar%netscape.com e25ff660ba Added JS20/Units 2000-10-28 05:53:23 +00:00
rogerl%netscape.com c93f2b6295 Fixed gcc whine about char16. 2000-10-28 00:07:36 +00:00
rogerl%netscape.com e89c1b85f2 Removed unused parameter. 2000-10-28 00:01:58 +00:00
rogerl%netscape.com 2c070bbf9e Named parameter work. 2000-10-27 23:55:31 +00:00
jeff.dyer%compilercompany.com 969051855b Added a couple missing redesignates. 2000-10-26 19:51:31 +00:00
beard%netscape.com a8b33eb1d5 adding nodefactory.h to dependency mix 2000-10-26 03:43:41 +00:00
beard%netscape.com 9adcc15ce8 fixing confusing code for linux, static Arena() -> getArena() 2000-10-26 03:40:51 +00:00
jeff.dyer%compilercompany.com 5e52ae4dac Added to FunctionDefinition a pointer that marks the position in the
parameter list that the named parameter marker occurs. The names at or
after that position may or may not have aliases associated with them.
2000-10-25 12:46:23 +00:00
jeff.dyer%compilercompany.com 22833e1539 Fix assertions that I missed in partial debug mode. Also fixed problem with
optional parameter after the named parameter marker.
2000-10-23 22:23:32 +00:00
jeff.dyer%compilercompany.com 73411c491c Parsing named parameters and arguments according to the Sep-23rd revision
of the grammar. WARNING: struct VariableBinding has grown. Recompile all
after getting this revision.
2000-10-23 19:39:55 +00:00
beard%netscape.com 5fa536e789 fixed some spacing problems, Makefiles use hard tabs! 2000-10-21 00:57:54 +00:00
beard%netscape.com 16f4fdae81 update depenencies for linux 2000-10-21 00:55:59 +00:00
beard%netscape.com 8f28eb5769 added xmlparser.cpp. 2000-10-21 00:51:32 +00:00
beard%netscape.com ee94aef90f fixing unsigned warnings, a leetle error checking. 2000-10-21 00:50:44 +00:00
beard%netscape.com 7f9bf0e529 fixing unsigned/signed conversion warnings. 2000-10-21 00:43:35 +00:00
rogerl%netscape.com acc5d653f4 Fixed signed/unsigned warning. 2000-10-21 00:38:59 +00:00
rogerl%netscape.com ee98657443 Changed ArgumentList to ArgumentList*. (Still need to handle the
destructor though).
2000-10-21 00:31:22 +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
rginda%netscape.com 25bccbbb49 fixups for lame windows parser, and multiple parse per instance issues. 2000-10-20 22:18:52 +00:00
rginda%netscape.com 2457927e68 lalala, things run, lalala. (well, kinda.) 2000-10-20 10:33:57 +00:00
rginda%netscape.com adcd95d4ac more work on producing real live instructionstreams 2000-10-20 03:33:37 +00:00
rginda%netscape.com 143404294d starting to turn the icode StatementNode vector into actual Instructions... 2000-10-20 01:13:03 +00:00
rogerl%netscape.com a9f2c3b79c changes to XMLLexer etc. 2000-10-19 23:07:58 +00:00
rogerl%netscape.com 5b3d409795 Adding xmlparser stuff 2000-10-19 22:34:23 +00:00
beard%netscape.com 34165f9eb4 More const String& happiness. 2000-10-19 03:37:02 +00:00
beard%netscape.com 91533bfcd5 const String& to soothe g++ 2000-10-19 03:33:51 +00:00
beard%netscape.com 592a474b0a Fixing linux breakage, incorrect constructor name. 2000-10-19 03:32:23 +00:00
rginda%netscape.com dbbc7dcf0e made (most) parse*operand functions do the right thing... the rest choke for now. 2000-10-19 00:03:12 +00:00
rogerl%netscape.com 5a461f3c89 More warning whining. 2000-10-19 00:02:37 +00:00
rogerl%netscape.com ab0a5b79b7 Quiet warnings 2000-10-18 23:55:47 +00:00
rogerl%netscape.com 797d199480 Added icodeasm & xmlparser to build 2000-10-18 23:46:39 +00:00
rogerl%netscape.com e30ce8373b Added XMLparsing to load a class. Fixed handling of forward references to
class methods/fields.
2000-10-18 23:37:44 +00:00
rginda%netscape.com ff3db92711 making argument name optional in argumetlists 2000-10-18 22:01:17 +00:00
rginda%netscape.com 1cb3536755 waugh, "..." isn't supported on windows. Added full icode map generated by the new perl script. Added a comment character to the assembler, and required newlines after instructions. 2000-10-18 20:44:14 +00:00
rginda%netscape.com 0f8daa3979 adding genmap.pl to generate the icode map 2000-10-18 20:41:03 +00:00
rginda%netscape.com 7ba55fdebd fixed testcase and icodemap size 2000-10-18 04:33:54 +00:00
rginda%netscape.com df1d06fc40 whee! the parse "tree" minimally "works" 2000-10-18 03:12:42 +00:00
rginda%netscape.com 335a61b469 more icodeasm work... parse "tree" is finally testable... it might even work. 2000-10-18 01:02:13 +00:00
rginda%netscape.com 8685390f44 working in labels 2000-10-17 08:02:16 +00:00
rginda%netscape.com 9b5fdfd8c2 icode assembler changes 2000-10-17 00:41:54 +00:00
rginda%netscape.com 534a67dfea guess what? yep, more icode asm hacking. 2000-10-14 00:06:42 +00:00
rginda%netscape.com 36bdf14e61 adding some comments 2000-10-12 23:59:25 +00:00
rginda%netscape.com 0d069aae17 icode assembler still in progress 2000-10-12 23:58:51 +00:00
rginda%netscape.com c43c176e8d move # to first column for Very Lame Compilers. 2000-10-12 23:58:30 +00:00
rginda%netscape.com 7d14c260a9 more icodeasm hacks 2000-10-12 07:55:13 +00:00
rginda%netscape.com b0f3d95321 more hacking (flailing, maybe) on the icode assembler 2000-10-12 01:32:01 +00:00
rginda%netscape.com f38bdbdbf3 initial checkin of simple query script for the icode hash 2000-10-12 01:31:33 +00:00
rginda%netscape.com 1863037f91 initial checkin of icode assembler 2000-10-11 02:44:14 +00:00
rginda%netscape.com e1e32378c7 seperate icode hash into module 2000-10-11 02:42:39 +00:00
waldemar%netscape.com 7442e0026e Added s flag 2000-10-11 02:28:13 +00:00
waldemar%netscape.com 8808f7286f Changed classof x to x.class. Removed eval. Made include be a non-reserved word. Changed syntax of import to allow an automatic use of selected namespaces. 2000-10-10 02:49:34 +00:00
waldemar%netscape.com 6f4582329f Removed "eval" and "include" keywords 2000-10-10 02:48:17 +00:00
rogerl%netscape.com 8141a721b4 Mods for getter/setter methods. 2000-10-09 22:21:26 +00:00
waldemar%netscape.com eded78869f Added void and classof operators 2000-09-24 06:08:53 +00:00
waldemar%netscape.com 0e94e874c9 Made implements clauses js2-only 2000-09-23 08:15:06 +00:00
waldemar%netscape.com e9fac36551 Major revisions for Sep 18 and 21 language changes 2000-09-22 08:16:22 +00:00
waldemar%netscape.com baf53149b3 Removed "constructor" keyword 2000-09-22 08:14:56 +00:00
rogerl%netscape.com 668c8ce522 Cleanup warning fix. 2000-09-19 20:56:49 +00:00
rogerl%netscape.com 9a22c0ee19 Fixed warnings for gcc build. 2000-09-19 20:35:05 +00:00
beard%netscape.com d99198e4bc Fixing scope problems on Linux 2000-09-12 00:53:33 +00:00
waldemar%netscape.com 7ee18425f8 Renamed target files 2000-09-11 23:49:53 +00:00
rogerl%netscape.com 871fb6eab9 Removed unnecessary arg. from Call instruction. 2000-09-11 22:11:55 +00:00
rogerl%netscape.com 68c488539e Added getter/setter for names. 2000-09-11 22:10:44 +00:00
waldemar%netscape.com 005c605136 Added support for highlights. Made @ operator js2-only. 2000-09-09 02:15:37 +00:00
waldemar%netscape.com 7223a2e334 Updated to correspond to js2 site 2000-09-09 02:15:06 +00:00
waldemar%netscape.com 6c173aab33 Added support for highlights. 2000-09-09 02:14:35 +00:00
beard%netscape.com 722dc39edf All JSValue constructors are explicit. 2000-09-08 01:16:03 +00:00
rogerl%netscape.com 7ca98a95c6 Added Branch_initialized for argument handling. 2000-09-07 19:23:24 +00:00
rogerl%netscape.com 3e08d30492 Named arguments. 2000-09-07 19:22:59 +00:00
rogerl%netscape.com 29c3f3caa8 Named arguments 2000-09-07 19:22:13 +00:00
rogerl%netscape.com 1c4303af1c copy non-named args through 2000-09-06 02:17:47 +00:00
rogerl%netscape.com d6618351c4 fix for redundancy 2000-09-06 02:17:18 +00:00
rogerl%netscape.com 0a5401ac02 Fix for empty function body 2000-09-06 02:16:51 +00:00
rogerl%netscape.com 35c2183566 Switch from RegisterList to ArgumentList to handle named args.
Optional & rest parameter support.
2000-09-02 01:01:41 +00:00
rogerl%netscape.com 8c56203872 Optional and rest parameters.
Named arguments (just begun).
2000-09-02 01:01:04 +00:00
rogerl%netscape.com cf4cfc6b82 Fixed printOperands to handle <NaR> 2000-08-23 01:07:19 +00:00
rogerl%netscape.com e66ddfe600 Fixed printOperand to handle <NaR> properly. Added missing 'return this' to
all constructors.
2000-08-23 01:06:52 +00:00
waldemar%netscape.com 0700924be5 Added arguments to attributes; made 'use', 'namespace', and 'constructor' into keywords and simplified resulting grammar; merged attribute definitions into const definitions; made eval use function call syntax; renamed 'language' to 'use'. 2000-08-22 04:31:37 +00:00
waldemar%netscape.com 5200b2308b Added \Q escape 2000-08-22 04:29:34 +00:00
waldemar%netscape.com b60ff5b98f Added line-break constraint 2000-08-22 04:29:01 +00:00
waldemar%netscape.com d502901d6a Made terminal constraint error message more detailed 2000-08-22 04:28:01 +00:00
waldemar%netscape.com 7bc998fc6f Updated to generate Netscape 6-compatible HTML 2000-08-11 06:27:55 +00:00
waldemar%netscape.com c99d99da39 Added attributes to for-initializers and no-line-breaks in a few places 2000-08-11 06:27:25 +00:00
waldemar%netscape.com 7c9cec02ab Updated to match documentation site 2000-08-11 06:24:57 +00:00
waldemar%netscape.com 917c30fb01 Updated to match styles.css on documentation site 2000-08-11 06:24:39 +00:00
rogerl%netscape.com f3529e06b0 Added 'static' to global object routines. 2000-08-04 20:54:24 +00:00
rogerl%netscape.com b7a244e864 Oops. Left icode output on by default, now off. 2000-08-04 20:37:42 +00:00
rogerl%netscape.com 54317af353 Prototype munging for built-in global properties, implemented Function
object & Boolean object.
2000-08-04 20:28:35 +00:00
waldemar%netscape.com 12dc591a84 Made link order consistent 2000-08-02 23:09:53 +00:00
waldemar%netscape.com 9e6ed90896 Fixed Mac errors and warnings 2000-08-02 23:09:29 +00:00
beard%netscape.com ee310fed4c fixing warnings, removing need for JStrings to be copied for mClass 2000-08-02 03:53:04 +00:00
rginda%netscape.com 10d5245302 shut up "unused param" warnings by only naming the register param if the icode uses a RegisterList operand. 2000-07-29 02:00:12 +00:00
rogerl%netscape.com 4105edc56c Function prototype objects etc. 2000-07-26 01:56:47 +00:00
rogerl%netscape.com 785fb348fd More ECMA 3 mucking about to support constructors etc. 2000-07-25 22:58:04 +00:00
beard%netscape.com 02fe5b2d84 added jsmath.cpp/h 2000-07-21 05:07:29 +00:00
beard%netscape.com e7b6d31185 XML project file. 2000-07-21 05:07:05 +00:00
beard%netscape.com e67d7257c7 update dependencies to include jsmath.o 2000-07-21 05:01:10 +00:00
beard%netscape.com ec770e5462 add jsmath.cpp to the build. 2000-07-21 05:00:43 +00:00
beard%netscape.com a915099fef scope of loop variables fix 2000-07-21 05:00:10 +00:00
rogerl%netscape.com 4ae568de5e Implementing Object.prototype object and global object for ECMA 3
Adding Math class support.
2000-07-21 01:16:49 +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
beard%netscape.com a831464e86 cleaned up by removing widenCString() calls when using world.identifiers 2000-07-17 20:39:19 +00:00
rginda%netscape.com 5873d1f4ef removing bogus assert (per rogerl) 2000-07-15 00:01:25 +00:00
beard%netscape.com 793761a64f added operator[](const char*) to StringAtomTable. 2000-07-14 23:10:02 +00:00
rogerl%netscape.com 3efd4c7ae7 Fixed slots for non-function vars, plus bug in slot xcrement. 2000-07-14 22:23:20 +00:00
rogerl%netscape.com 394eae2d67 Backed out time() 2000-07-14 01:46:14 +00:00
rogerl%netscape.com 9d9a2397fe Type targetted binary operators.
Added 'time()' function as native.
2000-07-14 01:00:53 +00:00
beard%netscape.com c85b319f3b need <stdio.h> for fopen on the Mac. 2000-07-13 02:23:55 +00:00
beard%netscape.com 7d2456d02a fixing readEvalFile to save off important Context data members. implemented identical_Default for string 2000-07-13 01:35:57 +00:00
beard%netscape.com 4a274478e3 fixing readEvalFile() by creating another Context 2000-07-13 00:44:30 +00:00
rogerl%netscape.com bc2242f4d4 Switching to generic binary operator in order to distinguish situation
where Operators package had been loaded and be able to generate typed
versions of the binary operators otherwise.
2000-07-13 00:14:54 +00:00
rogerl%netscape.com 6982a7a85f Implemented Import -only it's not in the parser yet.
Added missing defineXXX functions.
2000-07-11 23:49:20 +00:00
rginda%netscape.com 0521d8724e cleaned up linux warnings, minor debugger tweaks 2000-07-11 23:08:03 +00:00
rogerl%netscape.com 892b3e4cff More on @ operator. Fixed R 4billion print bug. 2000-07-11 20:54:06 +00:00
rogerl%netscape.com aa83a57078 Some parts of x@<name> working. 2000-07-10 23:18:07 +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 ae75194337 Fix build bustage. 2000-06-29 18:40:58 +00:00
rogerl%netscape.com 289a28647c use handleDot for call, too. 2000-06-29 18:30:47 +00:00
beard%netscape.com 14a33e366c delete property support. 2000-06-29 18:14:14 +00:00
beard%netscape.com 6cbfacc80c DELETE_PROP 2000-06-29 18:13:46 +00:00
beard%netscape.com 9d7d45fa72 DELETE_PROP 2000-06-29 17:14:56 +00:00
beard%netscape.com b713041cec added DELETE_PROP instruction to implement the "delete" operation. 2000-06-29 17:11:50 +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
beard%netscape.com b3c8568faa some classes to test js2 with. 2000-06-29 04:49:48 +00:00
beard%netscape.com 4db6e8e886 updated dependencies 2000-06-29 04:25:10 +00:00
beard%netscape.com ac2fd0c4c1 Changed StaticCall to use static slot. 2000-06-29 04:23:56 +00:00
beard%netscape.com 5cfc10557a Fixing static dotted expressions. 2000-06-29 04:23:20 +00:00
beard%netscape.com aef07e6b97 now uses conditional compilation #if defined(OPCODE_NAMES), so that a simple "icode.h" can be included by vmtypes.h and vmtypes.cpp. 2000-06-29 04:21:00 +00:00
beard%netscape.com d059b655ef moved all machine generated classes, etc. to icode.h. 2000-06-29 04:19:19 +00:00
beard%netscape.com da44337f32 Generated by tools/gencode.pl. 2000-06-29 04:18:16 +00:00
beard%netscape.com ea4574b835 fixed static calls. 2000-06-29 03:15:52 +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 3436603e6b Enhanced printing of types. 2000-06-28 19:45:44 +00:00
beard%netscape.com d2acc1ba67 Type of a JSType* is Type_Type (wow, recursive). Changed mBaseType to be JSType* instead of const JSType*. 2000-06-28 19:45:09 +00:00
rogerl%netscape.com b5f49320b8 First set of unified 'dot' handling changes for statics. 2000-06-28 18:41:30 +00:00
beard%netscape.com a18901a26b added jsclasses.h 2000-06-28 18:10:04 +00:00
beard%netscape.com c1a38ed9f4 Fix string <. 2000-06-28 16:38:20 +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 33919341f2 GET_STATIC/SET_STATIC/STATIC_XCR now use an index rather than a name. Implemented GET_PROP/SET_PROP for class objects (looks up slot dynamically, etc.) 2000-06-28 16:15:06 +00:00
beard%netscape.com c9b03781ae GET_STATIC/SET_STATIC/STATIC_XCR now use an index rather than a name. Now using JSClass::hasStatic() rather than looking up statics in class' scope. 2000-06-28 16:14:18 +00:00
beard%netscape.com 9755202d7e GET_STATIC/SET_STATIC/STATIC_XCR now use an index rather than a name. 2000-06-28 16:13:12 +00:00
beard%netscape.com b3b52a1138 Static slots. 2000-06-28 16:11:54 +00:00
beard%netscape.com b76277c865 Win-specific operator== noise. 2000-06-27 03:52:56 +00:00
beard%netscape.com 42f735d5df Fixed unitialized static class members. 2000-06-27 03:43:40 +00:00
beard%netscape.com cda9175d80 addSlot -> defineSlot, added defineStatic. 2000-06-27 03:42:42 +00:00
beard%netscape.com 6bc554cd25 Fixed type management. 2000-06-27 03:21:33 +00:00
rogerl%netscape.com b3fecb38fa lots of stuff me and Patrick did 2000-06-27 02:39:32 +00:00
beard%netscape.com b3158ce94f JSValue::operator==: added CASE(type) to fix warning. 2000-06-26 17:47:07 +00:00
beard%netscape.com 5c98bc5892 added JSObject::deleteProperty(), and changed mName in JSType to be a JSString. Need to revisit other uses of String soon. 2000-06-26 17:42:20 +00:00
beard%netscape.com f7dd6dbe83 simplified string addition 2000-06-26 17:25:25 +00:00
beard%netscape.com 65ba0e5b4c defined JSStringBase, and constructors from in JSString 2000-06-26 17:24:57 +00:00
beard%netscape.com 6a014e14e7 String addition: don't share structure with LHS. 2000-06-26 17:09:27 +00:00
beard%netscape.com 8df08ef410 added constructor from JSString&. 2000-06-26 16:55:01 +00:00
beard%netscape.com ef32468a54 Reset register usage after generating each initializer statement. 2000-06-26 15:19:45 +00:00
beard%netscape.com 0b99360f25 Simplified NEW_CLASS, using a single do .. while loop, introducing nextPC instruction iterator to simplify initial case. now calls all defined constructors. 2000-06-26 15:06:36 +00:00
beard%netscape.com 75649210c7 Only call non-null constructors. 2000-06-25 17:04:38 +00:00
beard%netscape.com d02dfb7e9d Conditionally set constructor, if it has any instructions. 2000-06-25 17:04:01 +00:00
beard%netscape.com 1ad57a537f updated dependencies 2000-06-25 16:44:29 +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 c06681035f Added calls to superClass constructors. 2000-06-24 22:42:43 +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 c8cdd76d90 Added emptyArgs, removed unused return value in readEvalFile 2000-06-24 05:42:51 +00:00
beard%netscape.com 196dfcb773 enable RTTI 2000-06-24 05:36:52 +00:00
beard%netscape.com 0dcdb5889f VC++ doesn't like local classes in templates. 2000-06-24 05:36:09 +00:00
beard%netscape.com 5d6bcd66f6 major surgery to enable the "load()" native function. 2000-06-24 05:25:33 +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 d16865cfcb Always use the target object, regardless of where a method property is found along the prototype chain. 2000-06-24 05:21:49 +00:00
beard%netscape.com b8667057a3 When generating a reference to "this" use the current code generator's mClass when appropriate. 2000-06-24 05:21:03 +00:00
rginda%netscape.com 5159f8b51d fixing source stepping (opcode stepping to come back later)
debugger is now quiet by default.
2000-06-24 02:53:29 +00:00
beard%netscape.com 6519ffb31d Removed JSType::isClassType(). 2000-06-24 02:51:34 +00:00
beard%netscape.com be1f23517c Added JSClass::get/setConstructor(). 2000-06-24 02:51:03 +00:00
beard%netscape.com 83ca8f326d Added call to constructor when executing NEW_CLASS. 2000-06-24 02:50:23 +00:00
beard%netscape.com cb43927903 Generating default constructor to run slot initializers. 2000-06-24 02:49:45 +00:00
beard%netscape.com db5e4eeed7 testCompile() is static 2000-06-24 01:04:58 +00:00
rogerl%netscape.com 1f65c8a44c typing 'this' 2000-06-24 01:02:34 +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
beard%netscape.com 69d8a01263 added NEW_CLASS instruction, to instantiate classes. 2000-06-23 23:49:48 +00:00
beard%netscape.com 24a81ca7ca added NEW_CLASS instruction. 2000-06-23 23:49:17 +00:00
rogerl%netscape.com 3930dfffb9 Adding slot handling to code gen. 2000-06-23 23:43:24 +00:00
beard%netscape.com 2be0b299fc added NEW_CLASS instruction. 2000-06-23 23:41:27 +00:00
beard%netscape.com a313672e06 Added JSClass::hasSlot, getSlotCount(), and JSInstance. 2000-06-23 23:25:55 +00:00
beard%netscape.com 8132a040d4 JSValue::type now JSType* instead of const JSType*, all predefined JSType objects no longer const as well. 2000-06-23 23:25:14 +00:00
rogerl%netscape.com 9d4fb54c88 Removed FUNCTION instruction, other class related junk. 2000-06-23 22:53:09 +00:00
rginda%netscape.com b4077ed50c Added debugger opcode, change InstructionMap to a std::map, print source lines while tracing 2000-06-23 22:27:17 +00:00
rogerl%netscape.com a03db28a3b Add return statement if the function doesn't end with one 2000-06-23 21:20:03 +00:00
beard%netscape.com 0b87b860eb added assertion to ensure that mPC is always valid before fetching the next instruction. 2000-06-23 06:10:14 +00:00
beard%netscape.com 107dbc95b6 Additional JSClass processing: defining slots, generating methods. 2000-06-23 05:13:04 +00:00
beard%netscape.com ff711f4a8f When using a JSScope that has a parent scope, don't bother defining the standard properties, they will be shared. 2000-06-23 05:10:46 +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 e03ab761d7 remove unused file. 2000-06-23 04:10:04 +00:00
beard%netscape.com 585fef1917 putting the JSClass* in the current global scope, and looking up superclass rereferences. 2000-06-23 02:22:55 +00:00
rogerl%netscape.com 1a2c265dd0 Added support for 'debugger' as a statement. (Rob made me) 2000-06-23 00:08:10 +00:00