Jason Orendorff
32b58a38be
Thread-safety comment for bug 479198. r=brendan.
2009-04-06 16:43:45 -05:00
Jason Orendorff
81f9c93dec
Bug 479198 - "Deep" property cache entries not invalidated when shadowed (TIBCO General Interface regression). r=brendan.
2009-04-06 13:24:20 -05:00
Brendan Eich
fa172251b0
Bug 481514 - PurgeScopeChain should not deep-bail quite so eagerly (r=jorendorff, a=sayrer).
2009-04-06 13:24:34 -07:00
Brendan Eich
862f9eb6d3
Test for upvar2 dup/dep bug 473271, from comment 8; also remove print noise from testPropagatedFunArgs crash test.
2009-04-06 11:18:10 -07:00
Peter Van der Beken
8a43b9d5cc
Fix for bug 486585 ("ASSERTION: bad!" in XPCCallContext::XPCCallContext with feed in frame, gc). r/sr=mrbkap.
...
--HG--
extra : rebase_source : c0977ba2150e1369b8397c45839058f542510ffd
2009-04-06 14:58:45 +02:00
Robert Sayre
d7754d986a
Merge tracemonkey to mozilla-central.
2009-04-07 03:04:17 -04:00
Jacob Bramley
3c4a821492
bug 486675 - always using setError to set _err
2009-04-06 13:32:46 +02:00
Jeff Walden
129dfb1b25
Style nit to kick a red tinderbox and hopefully avoid graph server fail a second time around, r=red this time
2009-04-06 01:06:34 -07:00
Jeff Walden
7bd23208f1
Update trace-test.js jitstats for testThinLoopDemote to account for upvar2, although there's still some wonkiness here being tracked in bug 486820. r=orange
2009-04-05 22:29:18 -07:00
Brendan Eich
ec9f3ae4a0
Another static analysis patch (I hope the last; for 452498).
2009-04-05 21:51:42 -07:00
Brendan Eich
382a5ca261
Remove stale JS_REQUIRES_STACK for js_CloneFunctionObject prototype (452498 followup to fix static analysis tbox).
2009-04-05 21:32:06 -07:00
Brendan Eich
962b187fe5
upvar2, aka the big one take 2 (452598, r=mrbkap).
2009-04-05 21:17:22 -07:00
Robert Sayre
2d22be3f01
Merge tracemonkey to mozilla-central
2009-04-05 21:24:42 -04:00
Jeff Walden
399b60b6e0
More typo fixes to kick some tinderboxen
2009-04-04 23:29:15 -07:00
Jeff Walden
a89f043904
Grammar fix to kick a rando-orange box to green
2009-04-04 19:41:50 -07:00
Jeff Walden
14e879800f
Bug 486578 - TM: "Assertion failure: scope->object == pobj" with function, __proto__, length. r=gal
2009-04-04 16:55:51 -07:00
Andreas Gal
fa2e6466b2
Bug 479110 - TM: avoid frequent mismatch exits. r=brendan
2009-04-04 17:23:34 -04:00
Andreas Gal
3c19b8b7fc
Merge.
2009-04-04 10:15:04 -07:00
Andreas Gal
706120c0fb
Backed out changeset 972c44aa9d1f (bug 452598).
2009-04-04 10:14:52 -07:00
Brendan Eich
7485baa00c
Merge.
2009-04-04 10:07:44 +01:00
Brendan Eich
5f4d9ff474
upvar2, aka the big one (452598, r=mrbkap).
2009-04-04 10:05:49 +01:00
Andreas Gal
7a45fb2c9a
Merge.
2009-04-04 01:06:18 -07:00
Andreas Gal
8787072e96
Backed out changeset b512be855093 (bug 484693). See bug for details.
2009-04-04 01:06:04 -07:00
Graydon Hoare
377d59d4d8
Typo-fix in comment, cycle unit tester.
2009-04-03 23:01:24 -07:00
Andreas Gal
742aa29f7d
TraceRecorder::prop sets stack on some return paths, not on final path (486798, r=brendan).
2009-04-03 19:31:17 -07:00
Graydon Hoare
a2d4d5a779
Bug 484693 - Remove uses of alloca, r=gal.
2009-04-03 16:30:46 -07:00
Igor Bukanov
a572accd66
bug 419662 - nested function definitions must come after destructuring argument initializer. r=mrbkap
2009-04-03 10:02:27 +02:00
Igor Bukanov
f48629a9d6
bug 486139 - removal of JSProperty struct definition. r=mrbkap
2009-04-03 09:53:17 +02:00
Igor Bukanov
09ffabb7a1
bug 485164 - fixing sharp semantic regressions. r=mrbkap
2009-04-03 09:53:02 +02:00
Andreas Gal
a4f3bf56a6
Don't try to abort tracing after a successful compilation (486436, r=brendan).
2009-04-02 14:47:57 -07:00
Jason Orendorff
cd0fe70742
Bug 483179 - TM: JIT embeds stale closure in trace for JSOP_DEFLOCALFUN. r=mrbkap
2009-04-02 14:08:48 -07:00
Igor Bukanov
fdf059f766
bug 486139 - annotating destructuring JSOP_DUP for the decompiler. r=brendan
2009-04-02 16:31:54 +02:00
Benjamin Smedberg
614ee0fc2d
Bustage fix from last-minute rework of bug 481350
2009-04-08 10:31:33 -04:00
Benjamin Smedberg
5000827e05
Bug 481350 - Fail when imacros.c.out is out of date, r=jorendorff/ted
2009-04-08 10:18:25 -04:00
Jim Blandy
b34fbbe457
Bug 482743: Compute opcode stack usage correctly. r=igor
2009-04-01 11:02:52 -07:00
Jim Blandy
02252a653d
Bug 482743: Fix up bytecode execution tracing. Allow tracing to file. r=igor
...
js_TraceOpcode: Remember the last bytecode we traced explicitly,
instead of subtracting 'len' from regs.pc, which isn't reliable.
Decline to trace values in script prologues (between 'code' and
'main'). Decline to walk off the bottom of the stack when the 'last
bytecode' is misleading. Flush the stream after each bytecode.
Use the TRACE_OPCODE macro in both threaded and non-threaded
interpreters. Take care to make threaded and non-threaded
interpreters produce the same traces.
In the shell's 'tracing' function, use JS_ValueToBoolean to recognize
all sorts of booleans, and treat a string as the name of a file to
write the trace to.
2009-04-01 08:50:57 -07:00
Igor Bukanov
4df05a423c
bug 484861 - removal of unsed fields from JSObjectOps. r=mrbkap
2009-04-01 14:32:51 +02:00
Igor Bukanov
7548565a13
bug 486124 - removal of unused TCF_HAS_DEFXMLNS. r=mrbkap
2009-04-01 10:33:43 +02:00
Graydon Hoare
5689ffc3f8
Bug 474529 - Avoid artificial OOM conditions, r=gal.
2009-03-31 20:51:01 -07:00
Graydon Hoare
485f0c5d62
Bug 479553 - Property tree forking heuristic improvement, r=brendan.
2009-03-31 17:55:43 -07:00
Graydon Hoare
3e481f618d
Bug 484751 - Followup patch to fix crash in initial checkin, r=mrbkap.
2009-03-31 19:34:32 -07:00
Blake Kaplan
249922d337
printf warning police
2009-03-31 18:38:28 -07:00
Jeff Walden
3e189b0822
Bug 484751 - TM: "Assertion failure: !OBJ_GET_CLASS(cx, proto)->getObjectOps, at ../jsobj.cpp". r=mrbkap
2009-03-31 14:24:01 -07:00
Robert Sayre
6afa909c12
Merge m-c to tracemonkey.
2009-03-31 12:59:36 -07:00
Igor Bukanov
0e62709153
bug 486106 - restoring JS*Lookup API compatibility with fast arrays. r=shaver
2009-03-31 21:42:31 +02:00
Andreas Gal
78ced670dd
specialize code for a specific global object, not just a global object shape (480905, r=graydon).
2009-03-31 11:49:44 -07:00
Andreas Gal
bd810801e3
maintain globalShape in VMFragment only (486049, r=graydon).
2009-03-31 11:43:30 -07:00
Jason Orendorff
22f1bdf5d6
Bug 483473 - Make JSObjectOps private. r=brendan.
...
--HG--
extra : rebase_source : 3240cb1f5c047dc92f8d1b525963bcb27e0a3521
2009-03-31 09:02:20 -05:00
Benjamin Smedberg
b7dbb7cee0
Bug 485264 - Not enough quotes in mozprog.m4 when suggestions contain spaces r=ted
2009-03-31 08:41:50 -04:00
Graydon Hoare
27d0e6f091
Bug 479553 - Minimize forking of property tree, r=brendan.
2009-03-30 18:02:13 -07:00
Andreas Gal
79baa5db23
Guard that object is a dense array when skipping to its prototype during property lookup (485790, r=brendan).
2009-03-30 17:19:04 -07:00
Jeff Walden
c8f309e4e5
Bug 485889 - Incorrect null checking/assignment? (with xpcshell test case). r=gal
2009-03-30 17:15:42 -07:00
Andreas Gal
38b604f834
Bug 485022 - TM: Assertion failure: JS_ON_TRACE(cx), at ../jsarray.cpp. r=mrbkap
2009-03-30 16:43:23 -07:00
Blake Kaplan
3b132823ae
Bug 486029 - Use C++ style casts in more places. r=brendan
2009-03-30 16:33:54 -07:00
Peter Weilbacher
3378176bc8
[OS/2] Bug 483539: fix build break in jsnum.cpp by defining the underscored float properties. r=jorendorff
2009-03-30 15:26:51 -07:00
Igor Bukanov
0604ee2935
bug 453492 - hiding JSCodeSpec.(nuses|ndefs) behind inlines to properly deal with variable stack bytecodes. r=brendan
2009-03-30 16:19:50 +02:00
Igor Bukanov
a7851480ad
bug 469492 - calling the call hook after fully initializing the freame. r=brendan
2009-03-30 15:29:17 +02:00
Igor Bukanov
d7e8a855d7
bug 426520 - limitting default xml namespace search to var objects as required by e4x. r=brendan
2009-03-30 11:47:46 +02:00
Andreas Gal
4bc6ae59db
Bug 482271 - TM: Crash [@ js_AttemptCompilation]. r=graydon
2009-03-29 18:19:09 -07:00
Robert Sayre
d3ae3d827d
Merge mozilla-central to tracemonkey.
2009-03-29 10:42:32 -07:00
Robert Sayre
bfa28b2971
Back out Bug 483723 - 'Trace string.indexOf'. It conflicts badly with mozilla-central.
2009-03-29 10:38:18 -07:00
Neil Rashbrook
00a79cf581
Bug 485605 Clean up JS ID code and fix allocators r=mrbkap sr=jag
2009-03-29 12:47:06 +01:00
Serge Gautherie
668db211d7
Bug 479978 - remove references to MOZ_PROFILE from the build system; (Cv2-MC) the 8 files; r=ted.mielczarek
2009-03-28 03:00:25 +01:00
Vladimir Vukicevic
c32792f55e
backing out 273c85c827e1
2009-03-27 16:42:49 -07:00
Andrew Paprocki
24b97dd380
Bug 485576 - Fix a few minor gcc warnings. r=igor
2009-03-27 15:45:48 -07:00
Vladimir Vukicevic
2a8f257f6d
b=484599; add calling convention tests to trace-tests and js shell; r=mrbkap
2009-03-27 14:35:46 -07:00
Vladimir Vukicevic
eb82870ba4
b=484561; [arm] fix EABI calling convention; clean up asm_call; r=graydon
2009-03-27 14:31:53 -07:00
Vladimir Vukicevic
34105fd15e
b=484561; [arm] fix broken LIR_alloc; r=graydon
2009-03-27 14:29:14 -07:00
Vladimir Vukicevic
76a9a61a35
b=484599; TM: memory stomping when a tn called with > 5 args; r=gal
2009-03-27 10:03:14 -07:00
Brian Crowder
a41d08ee47
Bug 485013 - jsdate.cpp AdjustTime() breaks London (GMT+0) dates when DST activates Mar 29 2009 Summary: jsdate.cpp AdjustTime() breaks London (GMT+0) dates when DST activates Mar 29. r=mrbkap
2009-03-26 17:51:50 -07:00
Jeff Walden
69543b2f1f
Make js_DumpValue more useful with function jsvals. r=mrbkap
2009-03-26 16:07:54 -07:00
Igor Bukanov
474bffab88
bug 485178 - proper stack limits for scatter threads. r=mrbkap
2009-03-26 17:06:49 +01:00
Igor Bukanov
a184e8f37e
Backed out changeset 0b36bddcefe4 for bug 485178 to fix compiletaion errors on some platforms.
2009-03-26 16:14:07 +01:00
Walter Meinl
b2a122ec44
Bug 484287 - [OS/2] simplify test_os2.cmd; r=mozilla@Weilbacher.org
2009-03-27 00:45:15 +01:00
Igor Bukanov
5652e9c9b3
bug 485178 - proper stack limits for scatter threads. r=mrbkap
2009-03-25 19:06:31 +01:00
Igor Bukanov
0a955fa410
bug 426162 - allow calling JS_DestroyContext when cx->thread is null for API compatibility. r=brendan
2009-03-25 16:41:17 +01:00
Igor Bukanov
f51ef2ceec
bug 375406 - PutProperty E4X correctness fix. r=brendan
2009-03-25 16:02:29 +01:00
Igor Bukanov
1e3ba71db4
bug 484769 - fixing the assert about the structure of sharp nodes. r=brendan
2009-03-25 16:01:29 +01:00
Ben Turner
01022c4478
Bug 483723 - 'Trace string.indexOf'. r=brendan+gal.
2009-03-24 21:32:09 -07:00
Ben Turner
7660fa19f9
Bug 484796 - 'Add properties with getters and setters to the shell'. r=gal.
2009-03-24 21:30:23 -07:00
Jeff Walden
61e8b53f29
Add a static assertion for another latent LIR opcode numbering constraint. No bug, r=mrbkap
2009-03-24 14:11:14 -07:00
David Mandelin
f55fd129f7
fix static analysis. r=gal
2009-03-24 12:56:13 -04:00
Igor Bukanov
b5f624afd6
forcing tinderbox re-run to check if bug 437325 indeed caused Windows orange
2009-03-24 15:50:39 +01:00
Igor Bukanov
a8094a7903
bug 437325 - JSThread is no longer shared between JSRuntime instances. r=brendan
2009-03-24 13:07:35 +01:00
Blake Kaplan
ef339102cf
Bug 473262 - We can get an interface but no member without idispatch. r+sr=jst
2009-03-25 13:08:01 -07:00
Neil Rashbrook
5eb16a8164
Fix bogus debug assertions from bug 484692 r+sr=peterv
2009-03-25 13:12:13 +00:00
Arpad Borsos
b8ff8885f8
Bug 474369 - get rid of nsVoidArray, xpconnect part; r+sr=mrbkap
2009-03-24 14:23:30 +01:00
Igor Bukanov
81a69a36df
bug 427196 - property cache fix. r=brendan
2009-03-23 21:05:25 +01:00
Bob Clary
305b65a693
bug 452498 - modify test to deal with new SyntaxError: duplicate argument is mixed with destructuring pattern error.
2009-03-23 10:43:16 -07:00
Jeff Walden
c9c51f7aa5
Bug 484750 - Assertion failure: newlen == 0 || obj->dslots[newlen - 1] != JSVAL_HOLE, at ../jsarray.cpp. Modify an assertion to properly handle intentional fenceposting behavior where we copy 0 elements to the end of an array -- can't assert that the end of the array isn't a hole in this case because we're intentionally not changing the array from what it was before -- demonstrated by [,].splice(1). r=me as obvious from debugging the testcase
2009-03-23 00:26:52 -07:00
Jeff Walden
2ef0c03fab
Modify code which produces |if (cond);| in non-debug builds to not expand into an empty control statement. r=sparky
2009-03-22 18:37:06 -07:00
Robert Sayre
150b7d8a28
Merge tracemonkey to mozilla-central.
2009-03-24 13:49:05 -04:00
Peter Van der Beken
84c8c07ff1
Fix for bug 484692 (Set/clear cached wrappers from within XPConnect). r/sr=jst.
...
--HG--
extra : rebase_source : 3b0d0174919c8fdd027cde9ab9913c3dcb4052e1
2009-03-24 12:02:23 +01:00
Peter Van der Beken
5a742aa1e3
Fix for bug 484352 (Traceable quickstubs don't use the nsINode fastpaths). r=bent, sr=jst.
...
--HG--
extra : rebase_source : e20363b1ac181b6736d14085d9e8c2b44f442432
2009-03-24 12:02:16 +01:00
Brad Lassey
f7938e4fd5
bug 481584 - need lib path to link jemalloc on windows ce r=bsmedberg
2009-03-23 21:21:07 -04:00
Brad Lassey
78aa6785a1
bug 481582 - changes to configure.in needed to build jemalloc on windows ce r=bsmedberg
2009-03-23 21:18:19 -04:00
Robert Sayre
9047957f8e
Merge tracemonkey to mozilla-central.
2009-03-31 01:20:54 -07:00
Robert Sayre
7fb5fed8c5
Merge tracemonkey to mozilla-central.
2009-03-30 11:23:56 -07:00
Robert O'Callahan
d0c58fb22f
Bug 340571. Removing getBoxObjectFor from non-XUL documents. r+sr=bzbarsky
...
--HG--
extra : rebase_source : a57cb7c4ebee2149a2cdc009400c133d4904409d
2009-03-30 13:44:48 +13:00
Makoto Kato
b68fa392fb
Bug 485264 followup - quote things to death, r=bsmedberg
2009-04-03 13:48:08 -04:00