beard%netscape.com
|
67503192d6
|
Win-specific operator== noise.
git-svn-id: svn://10.0.0.236/trunk@73284 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-06-27 03:52:56 +00:00 |
|
beard%netscape.com
|
b661c5b8ce
|
Fixed unitialized static class members.
git-svn-id: svn://10.0.0.236/trunk@73283 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-06-27 03:43:40 +00:00 |
|
beard%netscape.com
|
e1bf2e7c86
|
addSlot -> defineSlot, added defineStatic.
git-svn-id: svn://10.0.0.236/trunk@73282 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-06-27 03:42:42 +00:00 |
|
brendan%mozilla.org
|
efb5386074
|
Not again\!
git-svn-id: svn://10.0.0.236/trunk@73280 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-06-27 03:29:49 +00:00 |
|
beard%netscape.com
|
be8e774ffe
|
Fixed type management.
git-svn-id: svn://10.0.0.236/trunk@73279 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-06-27 03:21:33 +00:00 |
|
brendan%mozilla.org
|
0270629fde
|
Fix my stupid missing comma bustage.
git-svn-id: svn://10.0.0.236/trunk@73278 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-06-27 03:17:47 +00:00 |
|
rogerl%netscape.com
|
0ab4d1b650
|
lots of stuff me and Patrick did
git-svn-id: svn://10.0.0.236/trunk@73275 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-06-27 02:39:32 +00:00 |
|
brendan%mozilla.org
|
2a9d76e574
|
Fix JS_SetPrototype and __proto__ setting to deal with shared scopes; use JSObjectOps for setProto and setParent operations, and add spare op slots (41126, r=shaver@mozilla.org,pschwartau@netscape.com).
git-svn-id: svn://10.0.0.236/trunk@73274 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-06-27 02:37:25 +00:00 |
|
beard%netscape.com
|
ccd4698faf
|
JSValue::operator==: added CASE(type) to fix warning.
git-svn-id: svn://10.0.0.236/trunk@73231 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-06-26 17:47:07 +00:00 |
|
beard%netscape.com
|
9ce999f990
|
added JSObject::deleteProperty(), and changed mName in JSType to be a JSString. Need to revisit other uses of String soon.
git-svn-id: svn://10.0.0.236/trunk@73230 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-06-26 17:42:20 +00:00 |
|
beard%netscape.com
|
248c6cb94b
|
simplified string addition
git-svn-id: svn://10.0.0.236/trunk@73229 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-06-26 17:25:25 +00:00 |
|
beard%netscape.com
|
3054177c8b
|
defined JSStringBase, and constructors from in JSString
git-svn-id: svn://10.0.0.236/trunk@73228 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-06-26 17:24:57 +00:00 |
|
beard%netscape.com
|
e530a8d939
|
String addition: don't share structure with LHS.
git-svn-id: svn://10.0.0.236/trunk@73227 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-06-26 17:09:27 +00:00 |
|
beard%netscape.com
|
38b67e2e27
|
added constructor from JSString&.
git-svn-id: svn://10.0.0.236/trunk@73226 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-06-26 16:55:01 +00:00 |
|
beard%netscape.com
|
dcf06c37e9
|
Reset register usage after generating each initializer statement.
git-svn-id: svn://10.0.0.236/trunk@73225 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-06-26 15:19:45 +00:00 |
|
beard%netscape.com
|
8764a7d072
|
Simplified NEW_CLASS, using a single do .. while loop, introducing nextPC instruction iterator to simplify initial case. now calls all defined constructors.
git-svn-id: svn://10.0.0.236/trunk@73224 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-06-26 15:06:36 +00:00 |
|
beard%netscape.com
|
8bb1ef70ac
|
Only call non-null constructors.
git-svn-id: svn://10.0.0.236/trunk@73197 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-06-25 17:04:38 +00:00 |
|
beard%netscape.com
|
1bb0ae2fc2
|
Conditionally set constructor, if it has any instructions.
git-svn-id: svn://10.0.0.236/trunk@73196 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-06-25 17:04:01 +00:00 |
|
beard%netscape.com
|
75fa0c383f
|
updated dependencies
git-svn-id: svn://10.0.0.236/trunk@73195 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-06-25 16:44:29 +00:00 |
|
beard%netscape.com
|
0935fcf077
|
check for non-null superClass
git-svn-id: svn://10.0.0.236/trunk@73194 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-06-25 16:43:25 +00:00 |
|
beard%netscape.com
|
491725a122
|
hooked up superClass' scope as the prototype of a class's scope, to do method inheritance, removed bogus JSInstance::getSlotCount(), which overcounted slots.
git-svn-id: svn://10.0.0.236/trunk@73193 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-06-25 16:35:33 +00:00 |
|
beard%netscape.com
|
a3a1f59b43
|
Added calls to superClass constructors.
git-svn-id: svn://10.0.0.236/trunk@73177 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-06-24 22:42:43 +00:00 |
|
beard%netscape.com
|
5e640f5cf7
|
JSInstance::getSlotCount() no longer recursive.
git-svn-id: svn://10.0.0.236/trunk@73176 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-06-24 22:42:15 +00:00 |
|
beard%netscape.com
|
7f094b555a
|
Beginning support for superclass slots.
git-svn-id: svn://10.0.0.236/trunk@73175 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-06-24 22:07:00 +00:00 |
|
beard%netscape.com
|
3d0c7e4a46
|
Added emptyArgs, removed unused return value in readEvalFile
git-svn-id: svn://10.0.0.236/trunk@73169 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-06-24 05:42:51 +00:00 |
|
beard%netscape.com
|
b4ef9b75fb
|
enable RTTI
git-svn-id: svn://10.0.0.236/trunk@73168 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-06-24 05:36:52 +00:00 |
|
beard%netscape.com
|
0f9a13273f
|
VC++ doesn't like local classes in templates.
git-svn-id: svn://10.0.0.236/trunk@73167 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-06-24 05:36:09 +00:00 |
|
beard%netscape.com
|
8ee63e4a30
|
major surgery to enable the "load()" native function.
git-svn-id: svn://10.0.0.236/trunk@73166 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-06-24 05:25:33 +00:00 |
|
beard%netscape.com
|
032e7d113c
|
Experiment with looking up methods in the prototype chain.
git-svn-id: svn://10.0.0.236/trunk@73165 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-06-24 05:22:23 +00:00 |
|
beard%netscape.com
|
771cfb9f71
|
Always use the target object, regardless of where a method property is found along the prototype chain.
git-svn-id: svn://10.0.0.236/trunk@73164 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-06-24 05:21:49 +00:00 |
|
beard%netscape.com
|
3fa84e139b
|
When generating a reference to "this" use the current code generator's mClass when appropriate.
git-svn-id: svn://10.0.0.236/trunk@73163 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-06-24 05:21:03 +00:00 |
|
rginda%netscape.com
|
0670e54423
|
fixing source stepping (opcode stepping to come back later)
debugger is now quiet by default.
git-svn-id: svn://10.0.0.236/trunk@73152 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-06-24 02:53:29 +00:00 |
|
beard%netscape.com
|
6c8e7ab7a9
|
Removed JSType::isClassType().
git-svn-id: svn://10.0.0.236/trunk@73151 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-06-24 02:51:34 +00:00 |
|
beard%netscape.com
|
e24d5dd777
|
Added JSClass::get/setConstructor().
git-svn-id: svn://10.0.0.236/trunk@73150 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-06-24 02:51:03 +00:00 |
|
beard%netscape.com
|
d5f478e4b2
|
Added call to constructor when executing NEW_CLASS.
git-svn-id: svn://10.0.0.236/trunk@73149 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-06-24 02:50:23 +00:00 |
|
beard%netscape.com
|
eb882da672
|
Generating default constructor to run slot initializers.
git-svn-id: svn://10.0.0.236/trunk@73148 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-06-24 02:49:45 +00:00 |
|
beard%netscape.com
|
154282855d
|
testCompile() is static
git-svn-id: svn://10.0.0.236/trunk@73135 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-06-24 01:04:58 +00:00 |
|
rogerl%netscape.com
|
e8e7f3718b
|
typing 'this'
git-svn-id: svn://10.0.0.236/trunk@73134 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-06-24 01:02:34 +00:00 |
|
rogerl%netscape.com
|
9d9a6a599f
|
Got newClass working, added printProperties for instances, some slot
stuff is happening.
git-svn-id: svn://10.0.0.236/trunk@73133 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-06-24 00:50:59 +00:00 |
|
beard%netscape.com
|
f0d31a051c
|
added NEW_CLASS instruction, to instantiate classes.
git-svn-id: svn://10.0.0.236/trunk@73122 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-06-23 23:49:48 +00:00 |
|
beard%netscape.com
|
b8d21f902b
|
added NEW_CLASS instruction.
git-svn-id: svn://10.0.0.236/trunk@73121 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-06-23 23:49:17 +00:00 |
|
rogerl%netscape.com
|
071facaac6
|
Adding slot handling to code gen.
git-svn-id: svn://10.0.0.236/trunk@73116 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-06-23 23:43:24 +00:00 |
|
beard%netscape.com
|
5d613bac76
|
added NEW_CLASS instruction.
git-svn-id: svn://10.0.0.236/trunk@73115 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-06-23 23:41:27 +00:00 |
|
beard%netscape.com
|
324cafdec3
|
Added JSClass::hasSlot, getSlotCount(), and JSInstance.
git-svn-id: svn://10.0.0.236/trunk@73112 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-06-23 23:25:55 +00:00 |
|
beard%netscape.com
|
5bb59bebb9
|
JSValue::type now JSType* instead of const JSType*, all predefined JSType objects no longer const as well.
git-svn-id: svn://10.0.0.236/trunk@73111 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-06-23 23:25:14 +00:00 |
|
rogerl%netscape.com
|
f0dcf103dd
|
Removed FUNCTION instruction, other class related junk.
git-svn-id: svn://10.0.0.236/trunk@73106 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-06-23 22:53:09 +00:00 |
|
rginda%netscape.com
|
0deba46ad9
|
Added debugger opcode, change InstructionMap to a std::map, print source lines while tracing
git-svn-id: svn://10.0.0.236/trunk@73101 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-06-23 22:27:17 +00:00 |
|
rogerl%netscape.com
|
60220bebd1
|
Add return statement if the function doesn't end with one
git-svn-id: svn://10.0.0.236/trunk@73092 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-06-23 21:20:03 +00:00 |
|
beard%netscape.com
|
7fb39e02e0
|
added assertion to ensure that mPC is always valid before fetching the next instruction.
git-svn-id: svn://10.0.0.236/trunk@73047 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-06-23 06:10:14 +00:00 |
|
beard%netscape.com
|
c7d7e1af40
|
Additional JSClass processing: defining slots, generating methods.
git-svn-id: svn://10.0.0.236/trunk@73041 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-06-23 05:13:04 +00:00 |
|