Commit Graph

26780 Commits

Author SHA1 Message Date
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
Andreas Gal
3daac0aebc Disable test_urlformatter.js until assert is fixed. 2009-04-04 00:45:55 -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
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
Benjamin Smedberg
4374e7b7a1 Followup to bug 474703 for pymake: use core_abspath to get Windows-style absolute paths correct, r=ted 2009-03-31 12:04:53 -04:00
Benjamin Smedberg
93395423d0 Reverting unnecessary utils.lockFile change from bug 485390 2009-03-31 10:39:02 -04:00
Benjamin Smedberg
605a03acf0 Backed out changeset f66fabdbc090 (bug 485390) - the problem is not in utils.lockFile, and you shouldn't really need to hold the file descriptor 2009-03-31 10:38:25 -04:00
Shawn Wilsher
0f290684b1 Bug 485628 - Clean up mozStorageService.* to match what is in the style guidelines
Consistent spacing, consistent naming, and namespaces - OH MY!
r=asuth
2009-03-31 07:26:16 -07:00
Shawn Wilsher
b8a98024ba Bug 485626 - Update style guidelines to reflect namespace discussions
r=asuth
2009-03-31 07:26:08 -07:00
Axel Hecht
31920b6c72 bug 482776, JarMaker.py unittests don't cause "make check" to fail, r=ted 2009-03-31 16:25:51 +02:00
Jason Orendorff
22f1bdf5d6 Bug 483473 - Make JSObjectOps private. r=brendan.
--HG--
extra : rebase_source : 3240cb1f5c047dc92f8d1b525963bcb27e0a3521
2009-03-31 09:02:20 -05:00
Peter Van der Beken
df2064bcee Fix for bug 483444. r/sr=mrbkap.
--HG--
extra : rebase_source : d11ad967d8b6910666f31d0b46d50c5cc6701350
2009-03-31 15:07:41 +02:00
Chris AtLee
80e30b821f bug 445191 - Add upload target for xulrunner, upload SDK if it exists, and add 'sdk', 'upload' targets to client.mk. r=ted 2009-03-31 09:43:31 -04:00
Benjamin Smedberg
8bf3b445ab Bug 484708 - Un-annotated dependency of gtkmozembed2.cpp on gtkmozembedmarshal.h, r=ted 2009-03-31 08:43:30 -04: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
Jonathan Watt
af735602d3 Bug 465996. Small objects that are scaled up don't get invalidated correctly. r=roc 2009-03-31 14:19:39 +02:00
Ginn Chen
8dea478fd9 Bug 484932 Printing Sun Java System Communications Express page caused a crash [@ moz_drawingarea_resize] r=roc 2009-03-31 18:03:43 +08: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
Benjamin Smedberg
5cb4a30638 Bug 485390 - utils.lockFile doesn't hold the file descriptor, which can cause parallel races in JarMaker, r=ted 2009-03-30 10:34:13 -04: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