rogerl%netscape.com
9a22c0ee19
Fixed warnings for gcc build.
2000-09-19 20:35:05 +00:00
rogerl%netscape.com
871fb6eab9
Removed unnecessary arg. from Call instruction.
2000-09-11 22:11:55 +00:00
rogerl%netscape.com
7ca98a95c6
Added Branch_initialized for argument handling.
2000-09-07 19:23:24 +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
cf4cfc6b82
Fixed printOperands to handle <NaR>
2000-08-23 01:07:19 +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
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
785fb348fd
More ECMA 3 mucking about to support constructors etc.
2000-07-25 22:58:04 +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
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
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
beard%netscape.com
b713041cec
added DELETE_PROP instruction to implement the "delete" operation.
2000-06-29 17:11:50 +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
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
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
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
c23aa15cea
Support for TypedRegister
2000-06-20 22:44:46 +00:00
rogerl%netscape.com
f32f769135
Added 'Function' instruction, plus suppresses class output if there is
...
no super specified. (ok it's a hack, but it works)
2000-06-14 23:27:28 +00:00
rogerl%netscape.com
6e0db88822
Removed old branches, changed offset printing to handle NULL operand.
2000-05-26 22:35:36 +00:00
rogerl%netscape.com
6c379c9539
Fall out from operator overloading.
2000-05-23 00:09:02 +00:00
rogerl%netscape.com
c4b6a652d5
Bunch o' expression ops.
2000-05-18 00:04:15 +00:00
rogerl%netscape.com
48f6891a39
post inc/dec
2000-05-11 00:35:43 +00:00
beard%netscape.com
2a42ae2d9b
LoadString now has JSString* as second operand
2000-05-09 05:38:48 +00:00
beard%netscape.com
69e170c16b
LOAD_STRING now has String as second operand rather than String*
2000-05-09 05:18:16 +00:00
rogerl%netscape.com
73705a8af1
Load_String
2000-05-05 23:23:13 +00:00
rogerl%netscape.com
05b4422677
Bunch more arithmetic ops etc.
...
Also fixed case munging when class name was only 2 letters long.
2000-05-05 21:36:36 +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
69e9b0ee35
80 column nit picked, comment fixed
2000-04-28 15:32:54 +00:00
beard%netscape.com
2efc159d82
tightened up spacing in printOperands().
2000-04-28 13:43:49 +00:00
beard%netscape.com
2ccb1db4e8
support for printing ArgLists.
2000-04-28 13:17:35 +00:00
beard%netscape.com
02fccb52ca
Unused.
2000-04-28 13:16:23 +00:00
beard%netscape.com
dc524f8331
generates printOperands()
2000-04-28 05:39:27 +00:00
beard%netscape.com
bc2e56b97c
runs gencode.pl with MW Perl.
2000-04-28 05:39:04 +00:00
rginda%netscape.com
5ab596c1c3
don't generate print_args if super_has_print
...
comment fixes
2000-04-28 02:33:36 +00:00
rginda%netscape.com
9c217a25f0
moved comment so it made more sense
2000-04-28 02:26:14 +00:00
rginda%netscape.com
5701c02682
printarg stubbed out
2000-04-28 02:20:23 +00:00
rogerl%netscape.com
1b75c7efbb
Fixes for handling missing params.
2000-04-24 22:40:53 +00:00
rginda%netscape.com
5edf52ba65
adding comments
2000-04-24 21:43:49 +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
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
33d0848741
modified to print R~ if NotARegister
2000-04-18 07:04:24 +00:00