rogerl%netscape.com
|
748a0de92d
|
fix invalid return in GC_free for win32 build
|
2000-04-07 21:58:33 +00:00 |
|
rginda%netscape.com
|
0bc7ecc593
|
#if out references to std::iterator to get gcc to compile
|
2000-04-07 21:11:40 +00:00 |
|
beard%netscape.com
|
545dc2fc59
|
printing code in testObjects().
|
2000-04-07 04:59:57 +00:00 |
|
beard%netscape.com
|
8a93b77fcd
|
added code to print SAVE_NAME, NEW_OBJECT, GET_PROP, and SET_PROP iCodes.
|
2000-04-07 04:58:58 +00:00 |
|
beard%netscape.com
|
0679b2e1cf
|
JSObject and its elements now allocated using gc_allocator<T> (XP_MAC only).
|
2000-04-07 04:39:50 +00:00 |
|
beard%netscape.com
|
abdc92ce96
|
JSValues now using gc_allocator (XP_MAC only for now).
|
2000-04-07 04:38:18 +00:00 |
|
beard%netscape.com
|
1ec7e291c8
|
added gc library.
|
2000-04-07 04:36:38 +00:00 |
|
beard%netscape.com
|
eb84a5964f
|
prebuilt gc library for bootstrapping.
|
2000-04-07 04:35:14 +00:00 |
|
beard%netscape.com
|
34e5ea1801
|
added stub implementations of GC entry points.
|
2000-04-07 04:00:21 +00:00 |
|
beard%netscape.com
|
28357888da
|
added failed gc_rebind, for future compilers to ponder.
|
2000-04-07 03:11:38 +00:00 |
|
beard%netscape.com
|
dee4064778
|
duh, can't use wide string constants on Linux
|
2000-04-07 03:08:20 +00:00 |
|
beard%netscape.com
|
deb19d6e30
|
XP_MAC: no longer auto close upon exit (so we can see asserts, etc.). Renamed testInterpreter() to testFactorial(). Added testObjects(), which allocates an object, stores it in the global variable "global", assigns 0.0 to "global.counter", and finally defines a function "increment" which adds 1.0 to "global.counter" each time it is called.
|
2000-04-07 02:58:01 +00:00 |
|
beard%netscape.com
|
5e0d72e3ce
|
Added preliminary object representation class JSObject, which is simply an STL map<String, JSValue> for now. Changed static globals to be a JSObject (can you say scope chain?). Implemented NEW_OBJECT, GET_PROP, and SET_PROP, all in terms of operations provided by JSObject. No GC (yet).
|
2000-04-07 02:52:07 +00:00 |
|
beard%netscape.com
|
82ea502a7c
|
added forward declaration to class JSObject, and changed void* JSValue.ref to JSObject* JSValue.obj.
|
2000-04-07 02:47:53 +00:00 |
|
beard%netscape.com
|
1c75ce0fa0
|
fix calls to template superclass for gcc
|
2000-04-07 02:45:33 +00:00 |
|
beard%netscape.com
|
ec6420f75b
|
added NEW_OBJECT instruction. unified typedef GetProp, SetProp. changed typedef Return to class Return, added class NewObject. These classes automatically pass their opcode to their base-class, and look better in the debugger. Added a virtual destructor to Instruction() #ifdef DEBUG. Added newObject(), saveName() and setProperty() methods to ICodeGenerator.
|
2000-04-07 02:41:21 +00:00 |
|
beard%netscape.com
|
b40caf2ec9
|
added newObject(), saveName() and setProperty().
|
2000-04-07 02:41:08 +00:00 |
|
waldemar%netscape.com
|
5e1e49d9bb
|
Worked around Visual C++ bugs
|
2000-04-07 00:47:39 +00:00 |
|
beard%netscape.com
|
cd193318c5
|
needed to qualify isFieldKind
|
2000-04-07 00:24:42 +00:00 |
|
beard%netscape.com
|
cddbf0e5ec
|
adding int to printCharBufferSize
|
2000-04-07 00:23:33 +00:00 |
|
waldemar%netscape.com
|
c039ba6036
|
Fixed Mac MPW build
|
2000-04-07 00:06:05 +00:00 |
|
waldemar%netscape.com
|
7c8bcb9a14
|
Made Mac MPW js2 tool work
|
2000-04-07 00:05:23 +00:00 |
|
waldemar%netscape.com
|
e92d0084eb
|
Added Buffer, BitSet, and implemented Formatters for output
|
2000-04-06 23:48:05 +00:00 |
|
waldemar%netscape.com
|
6e1ee07def
|
Implemented Formatters for output
|
2000-04-06 23:47:33 +00:00 |
|
waldemar%netscape.com
|
8cc02a37b8
|
Implemented Formatters for output and added parseMember
|
2000-04-06 23:45:58 +00:00 |
|
waldemar%netscape.com
|
cd3fd34095
|
Fixed syntax errors
|
2000-04-06 23:43:08 +00:00 |
|
waldemar%netscape.com
|
52080f6c74
|
Commented out syntax error
|
2000-04-06 23:40:47 +00:00 |
|
rogerl%netscape.com
|
7741726bd9
|
Changed compare/branch handling to determine last compare opcode.
Made returnStatement a member in ICG.
|
2000-04-06 22:40:17 +00:00 |
|
rginda%netscape.com
|
331f034b21
|
remove +x mode.
Not part of the default build.
|
2000-04-06 20:27:22 +00:00 |
|
beard%netscape.com
|
774881879c
|
Added interpreter.o to build of js2.
|
2000-04-06 03:05:12 +00:00 |
|
beard%netscape.com
|
580c9ba5d4
|
cases for SUBTRACT, MULTIPLY, DIVIDE in print().
|
2000-04-06 03:02:24 +00:00 |
|
beard%netscape.com
|
e6900034ca
|
added testInterpreter(), which computes factorial using iCode (woo hoo!)
|
2000-04-06 02:59:16 +00:00 |
|
beard%netscape.com
|
fb68200586
|
more arithmetic, conditional branches, return instruction.
|
2000-04-06 02:58:22 +00:00 |
|
beard%netscape.com
|
c94d749d3f
|
added new instructions, SUBTRACT, MULTIPLY, DIVICE, BRANCH_*, and RETURN. Changed LoadVar/SaveVar to have uint32 operand. Added optional paramter branchOp to ICodeGenerator::branchConditional() & endWhileExpression() to parametrize branch kind. Added complete(Register) to generate a RETURN instruction.
|
2000-04-06 02:57:42 +00:00 |
|
beard%netscape.com
|
22f7ad270e
|
added a ref field, changed default constructor to initialize f64.
|
2000-04-06 02:52:51 +00:00 |
|
rogerl%netscape.com
|
a43377758b
|
Resolved branch targets
|
2000-04-06 00:04:11 +00:00 |
|
beard%netscape.com
|
bb3c0f54a0
|
removed usage of labels (duh)
|
2000-04-05 23:57:51 +00:00 |
|
rogerl%netscape.com
|
0e8b29460c
|
typedef'd instructions
|
2000-04-05 23:41:58 +00:00 |
|
beard%netscape.com
|
f1fef2ea55
|
Added default case to avoid warning
|
2000-04-05 21:26:01 +00:00 |
|
beard%netscape.com
|
f8999eeb8f
|
added "globals", labels parameter for branches, combined some Instruction_N<> typedefs.
|
2000-04-05 20:33:41 +00:00 |
|
beard%netscape.com
|
3e4629d808
|
added labels parameter.
|
2000-04-05 20:29:09 +00:00 |
|
beard%netscape.com
|
fab870daa5
|
added Instruction::opcode(), and Instruction_N::oN(), and ICodeGenerator::getLabels().
|
2000-04-05 20:28:17 +00:00 |
|
beard%netscape.com
|
1e6377ccaa
|
moved declaration of lgBasicAlignment & basicAlignment inside the include guard.
|
2000-04-05 20:26:49 +00:00 |
|
rogerl%netscape.com
|
7925e76257
|
added missing semi in win32 case
|
2000-04-05 18:20:02 +00:00 |
|
beard%netscape.com
|
6e3b668298
|
added interpreter.cpp/.h
|
2000-04-05 18:06:04 +00:00 |
|
beard%netscape.com
|
d9f7558a70
|
linux fixes
|
2000-04-05 06:10:53 +00:00 |
|
beard%netscape.com
|
8283b89064
|
first crack at an icode interpreter
|
2000-04-05 06:05:57 +00:00 |
|
beard%netscape.com
|
0b18dd168a
|
turned off '\n' -> '\r' mapping
|
2000-04-05 04:25:51 +00:00 |
|
beard%netscape.com
|
a8127fa669
|
backed out "fix" (thanks waldemar)
|
2000-04-05 04:24:19 +00:00 |
|
beard%netscape.com
|
1da98657a9
|
removed newline mapping code (instead using compiler mapping of '\n' to '\r' in literals, which should do the right thing).
|
2000-04-05 03:57:57 +00:00 |
|