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

48 Коммитов

Автор SHA1 Сообщение Дата
rogerl%netscape.com bd632f75f4 New (incomplete but functional) implementation of operator overriding. 2001-01-11 00:03:05 +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 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 29c3f3caa8 Named arguments 2000-09-07 19:22:13 +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 e66ddfe600 Fixed printOperand to handle <NaR> properly. Added missing 'return this' to
all constructors.
2000-08-23 01:06:52 +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 892b3e4cff More on @ operator. Fixed R 4billion print bug. 2000-07-11 20:54:06 +00:00
rogerl%netscape.com 0d7c4bc5c1 Support for 'constructor'. 2000-07-08 01:08:29 +00:00
beard%netscape.com d059b655ef moved all machine generated classes, etc. to icode.h. 2000-06-29 04:19:19 +00:00
rogerl%netscape.com 8d0b4fe645 Implicit this and class lookup stuff. 2000-06-29 01:21:41 +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 9755202d7e GET_STATIC/SET_STATIC/STATIC_XCR now use an index rather than a name. 2000-06-28 16:13:12 +00:00
rogerl%netscape.com b3fecb38fa lots of stuff me and Patrick did 2000-06-27 02:39:32 +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
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 3783f2c99e Work to support 'this'. 2000-06-21 22:32:21 +00:00
rogerl%netscape.com 0bb6f588ba Changed use of Register to TypedRegister throughout. 2000-06-20 22:45:45 +00:00
rogerl%netscape.com dae9b1607b Adding support for Functions and Vars, preXcrement, object literals. 2000-06-14 23:26:15 +00:00
rogerl%netscape.com a7d428fee6 Statement fun 2000-05-26 22:33:05 +00:00
rogerl%netscape.com 8bde6514f2 Added operator overloading support 2000-05-23 00:08:29 +00:00
rogerl%netscape.com 4ec5cba5d9 Moved genExpr to ICodeGenerator - added most expression ops. 2000-05-18 00:03:23 +00:00
rogerl%netscape.com 33370b0248 Added post inc/dec for properties & names. 2000-05-11 00:35:06 +00:00
beard%netscape.com 2a42ae2d9b LoadString now has JSString* as second operand 2000-05-09 05:38:48 +00:00
waldemar%netscape.com 7ec407aaec Reordered includes to ensure that systemtypes.h is always included first; that's needed for Visual C++ 2000-05-06 03:47:13 +00:00
waldemar%netscape.com f92842a971 Fixed syntax error 2000-05-06 03:31:50 +00:00
rogerl%netscape.com 25d9160b79 Basic string literal & value support 2000-05-05 23:22:31 +00:00
rogerl%netscape.com 0abfa73fd7 New arithmetic ops. 2000-05-05 21:38:16 +00:00
rginda%netscape.com ace8bcaf1e much debugger spankage; parse and execute step, continue, set, and print (kind-of) commands.
push implementation details of ICodeGenerator::print() into InstructionStream so they can be shared with ICodeModule.

copy variableList from ICodeGenerator to ICodeModule.

s/ScringAtom/const StringAtom/ in gencode.pl, regenerate vmtypes.h
2000-05-04 22:42:49 +00:00
beard%netscape.com dce8602831 added WITHIN, WITHOUT instructions. 2000-04-29 14:10:53 +00:00
rginda%netscape.com c9f14ba1b4 somewhat weak debugger console hookup.
build shouldn't *look* different yet.

Moved Context::interpret() local vars into Context private, added accessors for
stuff, using JavaScript::Lexer to lex debugger commands.

Fixed sign comparison warning in icg.cpp
2000-04-29 00:23:06 +00:00
beard%netscape.com 8ff65a3852 tightened up spacing in printOperands(), changed GenericBranch.printOperands() to conditionally print condition register contents. 2000-04-28 13:44:59 +00:00
beard%netscape.com c4a7011cdf const ArgList& makes gcc happy. 2000-04-28 13:25:57 +00:00
beard%netscape.com 1d0cfaf144 added ArgList helper struct to print Call operands, regenerated printOperands() methods to reduce warnings. 2000-04-28 13:20:26 +00:00
beard%netscape.com a166644e29 Instruction::count(), Instruction::printOperands(), plus newly generated instruction classes. 2000-04-28 05:41:54 +00:00
rogerl%netscape.com 62485331a6 More exception handling handling. 2000-04-27 01:27:09 +00:00
beard%netscape.com 6a4bca91fe warning removal 2000-04-25 03:28:41 +00:00
rginda%netscape.com 5945808db5 NotARegister check in GenericBranch::print() 2000-04-24 20:08:16 +00:00
rogerl%netscape.com f516a5722d Added a beginning for exception handling. 2000-04-21 22:52:52 +00:00
rginda%netscape.com 7615ee9226 icodegenerator.cpp
add m prefix to base and offset label members

interpreter.cpp,h
dual license
wrap interpret in a Context class
add RETURN_VOID case

js2.cpp
update to use context class
remove #if 0 code that'll probably never be used anyway.

jstypes.h
add defineProperty/function to JSObject

vmtypes.h
regerated opcode classes:
  added RETURN_VOID, removed LOAD/SAVE_VAR
  reverted bacl to the smaller print function (thanks to RETURN_VOID)
  fixed branch printing issue
  inherit print() from super if possible

tools/gencode.pl
generate smaller print functions again
don't generate print function if superclass can take care of it.
2000-04-21 00:04:14 +00:00
rogerl%netscape.com 7b7fc3829f Began moving away from variables, fixed compare/branch ordering.
Testcases working.
2000-04-19 02:09:06 +00:00
rginda%netscape.com 3a06b96f97 formatting changes. use only one tab regardless of nested namespaces 2000-04-18 21:51:45 +00:00
rginda%netscape.com 1952e14ff8 removed superfluous ;s after namespace decs. 2000-04-18 07:14:49 +00:00
rginda%netscape.com 531ede4f17 regenerated opcode classes after grncode.pl changes 2000-04-18 07:06:25 +00:00
rginda%netscape.com 8ac24b9045 regenerated opcodenames to include padding, added label printing back into icg::print 2000-04-18 01:31:24 +00:00
rginda%netscape.com 0fac613959 adding files for namespace change 2000-04-18 00:19:09 +00:00