Luke Wagner
e8711cefb5
Bug 563845 - skip jsval-to-jsid conversion when jsval is a jsid (r=igor)
2010-05-04 18:24:13 -07:00
Nicholas Nethercote
561c9e8392
Bug 563575 - encapsulate jsobj.cpp dslots accesses. r=brendan.
2010-05-04 20:28:38 -07:00
Jeff Walden
b788714b36
Slightly better single-thread fix to parent() in jsshell. r=foopy
2010-05-04 19:50:53 -07:00
Chris Leary
15cbc5ef08
Fix shell build break on non-threadsafe. (r=me)
2010-05-04 19:34:21 -07:00
Jeff Walden
f5a8913aa6
Fix bustage from not renaming a variable appropriately in a copy-paste. r=red
2010-05-04 18:27:50 -07:00
Jeff Walden
2565d74df2
Outerize the results of nsIDOMWindowUtils.getParent and the jsshell's parent() methods. r=orange
...
--HG--
extra : rebase_source : 848ad247e5094b6eb8edce6198bfb1d368c31bc3
2010-05-04 18:02:00 -07:00
Nicholas Nethercote
7d9b359a9e
Bug 563210 - "Assertion failure: isDenseArrayMinLenCapOk()," with gc, gczeal, Array, defineGetter. r=brendan.
2010-05-04 17:29:42 -07:00
Nicholas Nethercote
9e6d790472
Bug 563590 - TM: rename opcodes in jsregexp.cpp, jsrecursion.cpp. r=dvander.
2010-05-04 16:26:18 -07:00
Jeff Walden
3dc23bd239
Bug 552560 - Test fixups/removals since parent() exists only in the shell, not the browser. r=mrbkap
2010-05-04 15:59:20 -07:00
Jason Orendorff
ea373472e1
Bug 563221 - "Assertion failure: ss->top >= nuses," or "Assertion failure: top != 0," with decompiler, if-else chain, and GOTOX. r=brendan.
...
--HG--
extra : rebase_source : b085564d7569fceb144193da4b93054b6ddbdadc
2010-05-04 16:38:47 -05:00
Jeff Walden
b54dc35195
Bug 552560 - Remove support for __parent__. r=mrbkap
2010-04-11 13:51:00 -07:00
Jeff Walden
f97ec82b4e
Fix typo in patch for bug 562193, r=firebot
2010-04-28 15:54:28 -07:00
Jeff Walden
fd5b9097a9
Bug 560566 - Add this particular failure mode to the Object.defineProperty megatests. r=jorendorff
2010-04-22 18:53:54 -07:00
Luke Wagner
bcbd0b2b60
Bug 563374 - clear exceptions thrown during js_TraceOpcode (r=igor)
...
--HG--
extra : rebase_source : 24db0cc50d368dc56aa4a44971f56ea0521b6fa9
2010-05-04 10:12:50 -07:00
David Anderson
8ac8eea08e
Pretty-up some tcflag use in the parser and emitter (bug 563568, r=cdleary).
2010-05-03 20:53:55 -07:00
Dan Witte
5ec3091086
Bug 551982 - Generate t.name and t.fields lazily. Part 4: hashify StructType fields. r=benjamn
2010-05-03 16:49:53 -07:00
Dan Witte
9cecf41fe6
Bug 551982 - Generate t.name and t.fields lazily. Part 3: lazy ffi_type. r=benjamn
2010-05-03 16:26:50 -07:00
Dan Witte
16d3bc6a6e
Bug 551982 - Generate t.name and t.fields lazily. Part 2: lazy fields. r=benjamn
2010-05-03 16:26:34 -07:00
Dan Witte
e1fadbfb2d
Bug 551982 - Generate t.name and t.fields lazily. Part 1: lazy name. r=benjamn
2010-05-03 16:21:33 -07:00
Dan Witte
905b76b87e
Bug 560002 - Opaque struct and definition support in ctypes. Part 2: Remove opaque pointers. r=benjamn
2010-05-03 16:20:43 -07:00
Dan Witte
35a3f39688
Bug 560002 - Opaque struct and definition support in ctypes. Part 1: Opaque structs. r=benjamn
2010-05-03 16:20:05 -07:00
Jason Orendorff
b16cf371ea
Bug 492915 - Trace incelem/decelem/eleminc/elemdec for objects other than arrays. r=brendan.
...
--HG--
extra : rebase_source : 33ab817997096bd4b00c8a36bb0444dcacc58a27
2010-05-03 16:48:06 -05:00
Nicholas Nethercote
275c7072da
Bug 562837 - TM: avoid reboxing when copying a double from one array to another. r=brendan.
2010-05-03 15:51:57 -07:00
Jesse Ruderman
33abe97e25
Bug 563077 - fix handling of tests marked as 'random' so crashes are reported. r=dmandelin
2010-05-03 15:25:57 -07:00
Robert Sayre
004ca3887a
Merge.
2010-05-03 12:32:11 -04:00
Robert Sayre
c1d5a1b578
Update dense array cloning with new factoring of getDenseArrayCapacity
2010-05-03 11:19:45 -04:00
Robert Sayre
005185630a
Merge mozilla-central to tracemonkey.
2010-05-03 11:03:37 -04:00
Nicholas Nethercote
e46c240d6f
Bug 562872 - encapsulate Arguments-related dslots accesses. r=brendan.
2010-05-02 21:42:09 -07:00
Chris Leary
5fc18c61e2
Bug 563259: Fix shark/dtrace enabled combo. (r=me)
2010-05-02 17:14:44 -07:00
Luke Wagner
9c2aa20b22
Bug 563167 - propagate error out of Parse (r=cdleary)
2010-05-02 10:24:17 -07:00
Luke Wagner
d28113a933
Missed an init() in c6857d0b1e9f
2010-05-01 13:32:10 -07:00
Luke Wagner
14203f90f2
Bug 563123 - use js::HashMap for JSCodeGenerator::constList (r=igor)
2010-05-01 12:53:14 -07:00
Luke Wagner
3d5f963790
Bug 563120 - test for failure earlier in js_TestXMLEquality (r=waldo)
2010-05-01 12:43:43 -07:00
Luke Wagner
1f958cf935
Bug 558270 - unroll Duff proper (r=waldo)
2010-04-30 18:48:55 -07:00
Robert Sayre
90550120a5
Merge mozilla-central to tracemonkey
2010-04-28 11:11:48 -04:00
Igor Bukanov
a9f7a99a80
bug 561539 - renaming AutoSaveRestoreWealRoots into AutoPreserveWeakRoots. r=brendan
2010-04-28 14:34:02 +02:00
Ginn Chen
6acd8fab96
Bug 562001 nanojit failed to compile on Solaris x86_64 r=gal
2010-04-28 17:36:04 +08:00
Gary Kwong
1de229883a
Bug 369696 - fix bug number in tests, r=bclary.
2010-04-28 00:00:08 -07:00
Brendan Eich
1e02d003c7
Resolve sharpSlots vs. var-in-with grudge match (561011, r=mrbkap).
2010-04-27 21:35:28 -07:00
Brendan Eich
9c3db85edb
Use same source note offset bias/origin for both of SRC_IF_ELSE's offsets, but note second offset is optional (0 if absent; 562028, r=mrbkap).
2010-04-27 21:00:38 -07:00
Brendan Eich
84800d42dc
Back out my last commit due to orange.
2010-04-27 20:22:57 -07:00
Nicholas Nethercote
6d27308eaf
Update nanojit-import-rev stamp.
2010-04-27 19:46:18 -07:00
Nicholas Nethercote
721b8a9ceb
Bug 560712 - nanojit: give immediates names when printing LIR. r=edwsmith.
...
--HG--
extra : convert_revision : 53522168256873ff92a5cf1668d3ef8e65a87f38
2010-04-27 18:40:51 -07:00
Edwin Smith
37477ba956
Rename LIR opcodes in Nativei386.cpp (bug 559977 r=nnethercote+)
...
--HG--
extra : convert_revision : 62e0adc4d69e1d2246ee9336afd555ee3f6766a0
2010-04-27 20:05:58 -04:00
Brendan Eich
aad1e01025
Use same source note offset bias/origin for both of SRC_IF_ELSE's offsets (562028, r=mrbkap).
2010-04-27 19:41:20 -07:00
David Anderson
2c7694a92f
Fixed clamping bug in typed arrays (bug 561813, r=vlad).
2010-04-27 19:14:08 -07:00
Nicholas Nethercote
4f13513840
Update nanojit-import-rev stamp.
2010-04-27 16:33:36 -07:00
Nicholas Nethercote
5caf81be1e
Fix ARM bustage caused by bug 555255. r=me.
...
--HG--
extra : convert_revision : fd2a6c5b65a0f4fd4e09fa0366a626e97850f39b
2010-04-27 15:41:17 -07:00
Nicholas Nethercote
6f81c19ffb
Bug 518267 - nanojit: some instructions not printed with TMFLAGS=assembly. r=edwsmith.
...
--HG--
extra : convert_revision : 118664704b902286b9b21a35e3a998685980066a
2010-04-27 15:31:31 -07:00
Edwin Smith
1371d4a201
Rematerialize add(r,imm) operations on x64 and i386 (bug 555255 r=nnethercote+)
...
This patch detects when LEA can be used to rematerialize an add operation
instead of spilling it. Sub and lsh could be supported too, if it would
help (see notes in canRematLEA()).
--HG--
extra : convert_revision : e5db9525afbc8bd03444c66d8ded420f4696dce8
2010-04-27 10:00:27 -04:00
Edwin Smith
617d47bec1
Rematerialize ALU+IMM operations on ARM (bug 555255 r=jbramley+)
...
The ARM backend already supported single-instruction folding of immediates into
add/sub/and/or/xor instructions. This patch enables the same instructions to
be rematerialized without spilling them.
--HG--
extra : convert_revision : c5fca9078e37d7d79f66cf6023fcbf707d11d57b
2010-04-27 09:38:27 -04:00
Jason Orendorff
ad50b202ee
Follow-up to rev bed748189cd0 to fix a compiler warning. r=njn via IRC.
2010-04-27 17:43:20 -05:00
timeless
80f490799e
Bug 560138 - mismatch use of new[] with delete in CData::Create. r=dwitte
2010-04-27 14:59:53 -07:00
Mike Moening
3d749f99d2
Bug 549532 - Allow custom memory allocator use in spidermonkey. Part 2. r=dvander
2010-04-27 14:17:11 -07:00
Jason Orendorff
9a438e2e4d
Fix build breakage in non-threadsafe JS shell. rs=brendan on IRC.
...
--HG--
extra : rebase_source : e4320a71553033d06f5e8ffa62a9798db9bef3e1
2010-04-27 14:40:28 -05:00
Jason Orendorff
413b5633c9
Bug 561444 - "Assertion failure: title->ownercx == cx || title->ownercx->thread == cx->thread, at ../jslock.cpp:1414" with multiple threads. r=igor.
...
--HG--
extra : rebase_source : 6749f4b86999cffc1abdcad79ef45f764ba165c2
2010-04-27 12:29:45 -05:00
timeless@mozdev.org
ba07637bfb
Bug 560557 - js_SetReservedSlot should assert that the specified slot index is in range. r=jorendorff.
...
--HG--
extra : rebase_source : b13f176270bd3419c253b8745c00a9251f36ab76
2010-04-23 21:32:51 -05:00
Jason Orendorff
ddb29972a0
In a trace-test, do not try to print jitstats. no_r=me.
...
--HG--
extra : rebase_source : 6447c98085459bd7fc6b215279a9d5e1870d46ba
2010-04-26 16:28:41 -05:00
timeless@mozdev.org
92574fc2b1
Bug 560815 - PRIVATE_TO_JSVAL(NULL) yields warning: NULL used in arithmetic with gcc 4.2.1. r=jorendorff.
...
--HG--
extra : rebase_source : bbbf5e801b7ae5bc0c7c30864e487a03ddcf72fc
2010-04-23 20:17:36 -05:00
Igor Bukanov
4c7a6cd0ff
bug 553033 - replacing the background free list with a vector. r=jwalden
2010-04-27 15:46:24 +02:00
Jacob Bramley
228379824a
Optimize DoubleToECMAInt32 for ARM. [Bug 551837][r=vlad]
2010-04-27 08:31:36 +01:00
Jason Orendorff
2153048481
Fixed assert-botch with tracer and XML objects (bug 560101, r=waldo).
2010-04-26 22:35:49 -07:00
Nicholas Nethercote
31d9521a1d
Update nanojit-import-rev stamp.
2010-04-26 22:08:05 -07:00
Nicholas Nethercote
ab844287ee
Follow-up to bug 561182: move CseFilter methods together. r=rreitmai.
...
--HG--
extra : convert_revision : 8632b24edcba6eb08afe5002611fbea782d1f435
2010-04-26 21:59:48 -07:00
Nicholas Nethercote
99be2b20a8
Bug 561182 - nanojit: merge LInsHashSet into CseFilter. r=rreitmai.
...
--HG--
extra : convert_revision : 5a687f2ed6268d873a011f13da912ebb8bfb03e4
2010-04-26 21:59:32 -07:00
Edwin Smith
d14fdae1fd
Fixed whitespace drift.
...
--HG--
extra : convert_revision : e2770eef5208a99078207d999ba2d84346651db8
2010-04-26 10:53:32 -04:00
Rick Reitmaier
f675411bcd
fix PPC debug-only build breakage
...
--HG--
extra : convert_revision : 6b99983c6b88ce05809d05e4e2b24836a1c2724e
2010-04-23 10:49:32 -07:00
Rick Reitmaier
d23628e5a8
Bug 560370 - PPC cmov handling logic incorrect (r+edwsmith)
...
On PPC the cmov logic is generating incorrect code due to
instruction and register lifetimes are not being correctly
handled.
This patch mirrors the code used on the x86 which was fixed
a while back to address this issue. See bug 535705
--HG--
extra : convert_revision : 8047bc5db3b14ddc3588378c7f4c6fef76de7d98
2010-04-23 09:24:00 -07:00
Edwin Smith
6f841b78e0
Bug 560578 - canRemat() and asm_restore() should agree (r=nnethercote+)
...
Added comments clarifying the contract between canRemat() and asm_restore(),
and fixed the ARM, MIPS, PPC, and Sparc backends so canRemat() doesn't
return true for instructions that asm_restore() doesn't handle.
--HG--
extra : convert_revision : f4d4243db4cf3b8d7149012d5503c5441058f58e
2010-04-23 10:26:12 -04:00
Edwin Smith
ebed51f232
Revert rename bustage in NativePPC.cpp (bug 560160 r=me)
...
--HG--
extra : convert_revision : cc043e6b70383762025e239896cbd70d5ece8697
2010-04-22 13:04:24 -04:00
David Anderson
5e299b13e9
Don't bother tracing some elem sets yet (bug 561939, r=gal).
2010-04-26 20:29:49 -07:00
Andreas Gal
46cc50ab96
Merge.
2010-04-26 19:07:10 -07:00
Andreas Gal
50f747b529
Backed out changeset 35c25547a135 (bug 560358).
2010-04-26 19:06:51 -07:00
Nicholas Nethercote
f30b02e603
Bug 560774 - encapsulate array-related dslots accesses. r=brendan.
2010-04-26 18:33:36 -07:00
Dan Witte
ab6f9434b3
Backing out due to bustage.
2010-04-26 15:16:05 -07:00
Mike Moening
135f07bb60
Bug 549532 - Allow custom memory allocator use in spidermonkey. Part 2. r=dvander
2010-04-26 14:15:18 -07:00
Jesse Ruderman
b1272438c6
Bug 561672 - JS_Assert should fflush(stderr). r=shaver
2010-04-26 13:50:56 -07:00
Dan Witte
bea21f473b
Bug 561619 - JS CTypes has a build dependency bug. r=sayrer
2010-04-26 13:26:53 -07:00
Luke Wagner
beeaa9cc51
Bug 560798 - propagate errors from deep-aborted natives (r=gal)
2010-04-26 09:30:06 -07:00
Boris Zbarsky
8f560caadf
Bug 556830 followup to fix debug bustage
2010-04-26 11:15:33 -04:00
Boris Zbarsky
54ecc5ce13
Bug 556830 part 2. Fill the propcache even if we start the lookup on a Call whose parent is the global the property is on. r=jorendorff
2010-04-26 10:06:30 -04:00
Boris Zbarsky
a9d50bdf65
Bug 556830 part 1. Change things so a bindname resolve of a global property won't define it on the window in ES5 strict mode. r=jorendorff
2010-04-26 10:06:25 -04:00
Ginn Chen
5c3cbe97a9
Bug 560017 Failed build js/src/jsgcchunk.cpp on Solaris r=jimb
2010-04-26 14:17:29 +08:00
Andreas Gal
03bea686c0
optimize JSON stringify. bug 561592. r=dvander
2010-04-25 08:51:05 -04:00
Igor Bukanov
b1ddb96810
bug 560471 - followup to fix restoration of weak roots
2010-04-24 20:35:50 +02:00
Robert Sayre
08d5b78630
Bug 560650 - TM: json code should use JS_Enumerate. r=gal
2010-04-24 14:18:10 -04:00
Robert Sayre
c8c12de909
Merge mozilla-central to tracemonkey.
2010-04-24 12:56:26 -04:00
Robert Sayre
cd423ef000
Someone should teach me to write JavaScript. Really fix busted test from Bug 558830 - Trace script getters.
2010-04-24 12:09:16 -04:00
Robert Sayre
f317f2f36f
Fix busted test from Bug 558830 - Trace script getters.
2010-04-24 11:55:10 -04:00
Andreas Gal
b45c6f41b8
Merge.
2010-04-23 20:49:28 -07:00
Andreas Gal
6ca881558a
backing out clean up bug 560167 due to massive conflicts with the iterator patch
2010-04-23 20:49:06 -07:00
Igor Bukanov
b4fb969cd7
bug 560471 - remove GC_LAST_DITCH and GC_KEEP_ATOMS. r=jorendorff
2010-04-24 00:15:42 +02:00
Jason Orendorff
4729941088
Disable jsreftest js1_5_8/extensions/worker-fib.js which randomly hangs in the browser. r=sayrer.
2010-04-23 13:30:20 -05:00
Jason Orendorff
3bb9354bd9
Merge.
2010-04-23 13:20:23 -05:00
Chris Leary
cd2976b363
Bug 558971 - Parser arena allocation overhead is too high. r=sayrer/shaver
2010-04-23 08:40:57 -04:00
Robert Sayre
9758cd7c0a
Merge
2010-04-23 08:31:07 -04:00
Robert Sayre
c34a61b57b
Backed out changeset 1af19eedbde2 -- Fix sharpSlots vs. with grudge-match (561011, r=mrbkap).
2010-04-23 08:30:35 -04:00
Igor Bukanov
e2e3872282
bug 559141 - replacing GC chunk doubly linked list with js::vector. r=gal
2010-04-23 08:58:44 +02:00
Brian Crowder
34ce665d26
Bug 560769 - fixing badness accessing /proc/self/auxv under qemu, r=vlad, a=dholbert
2010-04-23 12:58:38 -07:00
Brendan Eich
5cb231506c
Fix sharpSlots vs. with grudge-match (561011, r=mrbkap).
2010-04-22 19:03:45 -07:00
Brendan Eich
1377819e15
Tweak to align comment.
2010-04-22 17:45:49 -07:00
Nicholas Nethercote
e8e5a29ca2
merge
2010-04-22 16:38:46 -07:00
Nicholas Nethercote
862c1737af
Bug 560167 - encapsulate XML-related JSSLOT_* values within JSObject. r=brendan.
2010-04-22 16:37:41 -07:00
David Mandelin
eef8ed6e60
Bug 554224: Normalize paths so regress-50447-1 works on Windows, r=waldo
...
--HG--
extra : rebase_source : d4a5fe9e6f01cb48c3c89bc1ab8f692d44e18eb2
2010-04-22 16:14:57 -07:00
Jeff Walden
0823b2172f
Oops, previous changeset 350ed77bf399 to fix bug 463360 was a patch by Rasmus Jensen.
2010-04-22 15:59:09 -07:00
Jeff Walden
10d38277a1
Bug 463360 - Uneval then eval E4X with { gives error. r=jwalden
2010-04-22 15:15:55 -07:00
Jason Orendorff
8bf40dd503
Bug 558830 - Trace script getters. r=brendan.
...
--HG--
extra : rebase_source : 240b5a7248165aefdc9527abc94902afe4b510e0
2010-04-22 17:10:38 -05:00
Jason Orendorff
8cc3124564
Bug 561031 - Treat JSOP_FILTER as a jump. r=brendan.
...
--HG--
extra : rebase_source : 9b8430b57cbe41407709dc6ffa244a81a112878d
2010-04-22 14:53:26 -05:00
David Anderson
0657fc6144
Renamed InterpState to TracerState (bug 560988, r=luke).
2010-04-22 11:54:11 -07:00
Jason Orendorff
594ce41b0e
Merge.
2010-04-22 09:22:20 -05:00
Igor Bukanov
59cd1232e5
bug 507904 - removal of bogus assert in the watchpoint implementation. r=brendan
2010-04-22 15:23:57 +02:00
Jason Orendorff
5a142a4a61
Bug 553671 part 12 - Handle GC_KEEP_ATOMS more directly. r=brendan.
...
--HG--
extra : rebase_source : 8540b1e79bf1c187e59cadd7cced1b2e16b8d31d
2010-04-22 07:38:05 -05:00
Jason Orendorff
873d7b95ae
Bug 553671 part 11 - Refactor GCTIMER to disrupt the flow of js_GC less. r=luke.
...
--HG--
extra : rebase_source : 2e407cc3bd6798e15c42b25f744fd1d0b6146046
2010-04-22 07:35:21 -05:00
Jason Orendorff
f6e8399f2f
Bug 553671 part 10 - Get rid of "goto restart_at_beginning;". r=luke.
...
--HG--
extra : rebase_source : 9d0128640af7d366133d59fed9c21160078ba5ca
2010-04-22 07:34:28 -05:00
Jason Orendorff
4f7d40e8bc
Bug 553671 part 9 - Extract ProcessAllSetSlotRequests from js_GC. r=Waldo.
...
--HG--
extra : rebase_source : 920c2465f4a498d679b89811b0969e4cd6674580
2010-04-22 07:32:13 -05:00
Jason Orendorff
e4a2b22e83
Bug 553671 part 8 - Reimplement promotion of GC_SET_SLOT_REQUEST to GC_LOCK_HELD and get rid of "goto done_running;". r=brendan.
...
--HG--
extra : rebase_source : ce19741b5ea204b6f11e55e66a47363e9577caf3
2010-04-22 07:31:05 -05:00
Jason Orendorff
26a11df90e
Bug 553671 part 7 - Extract BeginGCSession and EndGCSession from js_GC. r=brendan.
...
--HG--
extra : rebase_source : dbb134d66d403bf5665b94a5ab03ff86d681fb73
2010-04-22 07:31:00 -05:00
Andreas Gal
ccff6a6573
Don't save static RegExp state across lambda replace calls (560358, r=brendan).
2010-04-21 22:39:05 -07:00
Nicholas Nethercote
bac98abcd5
Bug 560160 - nanojit: rename LOpcode-related names (TM-specific part). r=gal.
2010-04-21 21:42:19 -07:00
Nicholas Nethercote
efa8ff6b17
Update nanojit-import-rev stamp.
2010-04-21 21:34:39 -07:00
Nicholas Nethercote
8dd0c21da5
Bug 560160 - nanojit: rename LOpcode-related names. r=edwsmith.
...
--HG--
extra : convert_revision : 234af92683dad306d03911975b0e9afc57936cf5
2010-04-21 19:34:46 -07:00
Nicholas Nethercote
e7f1c777a8
Update nanojit-import-rev stamp.
2010-04-21 18:29:59 -07:00
Nicholas Nethercote
7443e759bf
Avoid compiler warnings. r=me.
...
--HG--
extra : convert_revision : a33a817354bebed12877a0e6ab4c42729ec3c8c7
2010-04-21 18:28:35 -07:00
Nicholas Nethercote
7397439859
Update nanojit-import-rev stamp.
2010-04-21 18:27:26 -07:00
Nicholas Nethercote
21dc1a3198
Fix lirasm test bustage for bugs 555633, bug 557877. r=me.
...
--HG--
extra : convert_revision : e32efa20605d847ee01fe0ec1f70bdbb101ae446
2010-04-21 18:21:06 -07:00
Edwin Smith
ac43be792d
Rename LIR opcodes once more, using new C convention (bugs 555633, bug 557877 r=nnethercote+)
...
This patch un-does the intel names that have been used so far within
nanojit, updates the aliases in LIR.h, and fixes the names used in
lirasm tests.
Host VM's will need to run rename_LIR.pl from bug 504506 if they have
already begun using the intel names; aliases are not provided for them in LIR.h.
--HG--
extra : convert_revision : 2787af46329c72796954ddb68f53326f0de661e4
2010-04-21 21:13:17 -04:00
Boris Zbarsky
96422307de
Bug 557605. Quickstub some XHR things. r=peterv
2010-04-23 13:37:02 -04:00
Robert O'Callahan
6964434bc1
Backed out changeset 7432d20f5b86
2010-04-23 16:34:06 +12:00
Mounir Lamouri
be21d8caff
Bug 346485. Implement HTML5 <output> element. r=smaug,hsivonen,mrbkap,sr=jst
2010-04-23 14:43:23 +12:00
Wesley W. Garland
d1cc18294c
Bug 560504 - Tweak friend class declaration in jsparse.h to work around compiler bug in Mac OS X Leopard's default compiler. r=jorendorff.
...
--HG--
extra : rebase_source : 164c7d281ec50463f36878e5fe29b30e2ac9e896
2010-04-21 10:54:25 -05:00
Edwin Smith
6877d0d265
Fix vprof bustage (bug 560683 r=edwsmith)
...
--HG--
extra : convert_revision : ea5ee8ca471bfc5b183a42d6b60e778067697c6e
2010-04-21 11:41:05 -04:00
Chris Dearman
638f9c13a5
Bug 558813 - [MIPS] running tamarin as3/Vector/ acceptance testcases produces an assert (r=edwsmith)
...
--HG--
extra : convert_revision : 25449d23ba02a99a502c06ffc0565f87376a3e7e
2010-04-21 09:16:18 -04:00
Chris Dearman
533c36d125
Bug 551165 - Unable to compile MIPS nanojit backend (r=edwsmith+)
...
--HG--
extra : convert_revision : 7d9635ba36b214f707cf426b7b414cde99738048
2010-04-21 09:14:14 -04:00
Jeff Walden
ae387d18ab
Bug 560566 - "Assertion failure: getter" redefining property that's not the most recent property in an object whose scope is not in dictionary mode, when the original property was a half-accessor with an explicitly undefined absent half, and the new property is also an accessor and does not modify the explicitly undefined half of the original half-accessor. r=dmandelin
2010-04-20 17:52:43 -07:00
Nicholas Nethercote
25a0becd86
Bug 559719 - nanojit: tweak LIns::lastWord. r=edwsmith.
...
--HG--
extra : convert_revision : 3f81d8a5f0515f891eac0c8821370d4309787483
2010-04-20 17:51:50 -07:00
Jeff Walden
287e8d6d12
Followup orange fix, had these fixed in one tree but not the one from which I pushed the changes... r=waylon
2010-04-21 17:34:55 -07:00
David Anderson
d3b17b4d08
Merge backout.
2010-04-21 16:30:39 -07:00
David Anderson
e6296670ad
Backed out changeset 4a28bd424400 (tinderbox red).
2010-04-21 16:30:06 -07:00
Mike Moenig
6195973167
Support custom allocators (bug 549532 relanding, r=dvander).
2010-04-21 13:59:33 -07:00
David Anderson
bc324d4c2b
Rename test case for correct bug number (no bug, r=me).
...
--HG--
rename : js/src/trace-test/tests/basic/bug557481.js => js/src/trace-test/tests/basic/bug557841.js
2010-04-21 12:08:37 -07:00
David Mandelin
d46fc6485b
Bug 558531: fix typo in JS_ResolveStandardClass, r=waldo
2010-04-21 11:37:18 -07:00
Robert Sayre
6e02b338e5
Merge tracemonkey to mozilla-central.
2010-04-21 08:34:13 -04:00
David Anderson
d8c102bd25
Fixed tracing some arguments usage on trace (bug 558618, r=gal).
2010-04-21 01:10:23 -07:00
David Anderson
09e5d2547a
Modifying upvars on trace (bug 557946, r=gal).
2010-04-20 22:42:00 -07:00
Luke Wagner
eeb0498a9c
Remove ridiculous dead code in JSOP_POS (that I seem to have added with bug 552574)
2010-04-20 20:48:26 -07:00
Dan Witte
14ec83f753
Bug 558949 - Make ctypes functions FunctionType.ptr's. r=benjamn
2010-04-20 17:37:35 -07:00
Nicholas Nethercote
ba38fac269
Update nanojit-import-rev stamp.
2010-04-20 16:11:58 -07:00
Edwin Smith
57271bd449
Bug 559969 - Rename LOpcode enums in Assembler.cpp/h (r=nnethercote+)
...
--HG--
extra : convert_revision : ccc892912055b7da35ff7a8bafa7c3cd0bc060d5
2010-04-19 20:42:41 -04:00
Edwin Smith
74b43b99d4
Remove unnecessary clearReg() calls from asm_restore(). (bug 555255 r=nnethercote+)
...
This patch does two things, neither of which should affect generated code.
1. In case LIR_alloc in gen(), replace inlined code with a call to evict(),
since evict() does exactly what the inlined code does.
2. In backends, remove ins->clearReg() or deprecated_markAsClear() calls from
asm_restore(), since evict() takes care of the same thing as soon as
asm_restore() returns.
--HG--
extra : convert_revision : e89860f89d85e6d0a4ef538c5f19f0ae55e360da
2010-04-19 20:28:22 -04:00
Edwin Smith
7c139d20ae
Removes NJ_PROFILE and related code, since it's all dead. (bug 560300 r=nnethercote+)
...
Host VM's should remove #define NJ_PROFILE and NJ_PROFILE_DISABLED
--HG--
extra : convert_revision : 02bc396c1339e7ed0ac17f77b074d5edcb1517f7
2010-04-19 20:22:56 -04:00
Edwin Smith
78ac62707f
Move canRemat() from Assembler.cpp to each backend. (bug 555255 r=nnethercote+)
...
--HG--
extra : convert_revision : c12082c4c489498061d8b505f7dae1bf626d849f
2010-04-19 20:16:09 -04:00
Ben Newman
1c775754dd
Bug 560412 - Publicly expose the values of LazilyConstructed<T> objects. r=lw
2010-04-20 14:05:39 -07:00
Jeff Walden
7ac1076fc1
Er, back out everything, guess my understanding of orange was...lacking
2010-04-20 13:48:46 -07:00
Jeff Walden
fcae29dcfc
Backed out changeset 7bb4a2e5d0cf, looks to be orange everywhere... :-\
2010-04-20 10:04:16 -07:00
Jeff Walden
2683e1e55f
Bug 558541 - Simplify some code in js_SetPropertyHelper to make it more understandable. r=jorendorff
...
--HG--
extra : rebase_source : 145820b9d09adf634220db05cbfabc698c1fcb16
2010-04-13 13:34:31 -07:00
Jeff Walden
e68129e9f8
Bug 560018 - Actually remove support for { get property funname() { } }, confounded merging madness... r=luke
...
--HG--
extra : rebase_source : b3c47f5fdd0fcb52f68876e9a4fab16143c16901
2010-04-17 03:19:33 -07:00
Jeff Walden
07fa4519f0
Bug 558541 - Simplify some code in js_SetPropertyHelper to make it more understandable. r=jorendorff
2010-04-13 13:34:31 -07:00
Jeff Walden
fa3772b795
Bug 560018 - Actually remove support for { get property funname() { } }, confounded merging madness... r=luke
2010-04-17 03:19:33 -07:00
jwalden+bmo@mit.edu
2638f79fad
Only use setter's parent if a setter was supplied (bug 560277, r=dmandelin).
2010-04-20 00:49:40 -07:00
Luke Wagner
7d1821fce7
Use uint64 instead of JSUint64 to fix changeset 5b1c7bc8783e (rs=brendan)
2010-04-19 18:19:27 -07:00
Luke Wagner
2db1ea1822
Fix Windows bustage from changeset 5b1c7bc8783e
2010-04-19 16:21:12 -07:00
Luke Wagner
870e5e018f
Bug 559256 - optimize slot grow/shrink (r=gal)
...
--HG--
extra : rebase_source : d979d305f730ee2fca3cf5fd0b5eeed028da1b66
2010-04-19 14:42:04 -07:00
Luke Wagner
45cfbb7180
Bug 558410 - silence strict aliasing warnings (r=jorendorff)
...
--HG--
extra : rebase_source : c6cad8a5461e685f31f5959aa69635be57c807d4
2010-04-19 13:08:19 -07:00
Luke Wagner
9cf676425c
Fix changeset 1f9e21e2fd2b bustage on 64-bit
2010-04-19 10:30:17 -07:00
Luke Wagner
6d5598e737
Bug 560098 - fix hole-to-undefined conversion wrt TT_VOID (r=dvander)
2010-04-19 09:53:09 -07:00
timeless@mozdev.org
3c1caed657
Bug 560139 - jsdStackFrame::Eval leaks estate when failing to use ContextStack. r=jorendorff.
...
--HG--
extra : rebase_source : 611b291f96b21d33ba8f1ab3d56401c7fff7900d
2010-04-19 09:22:00 -05:00
Jason Orendorff
8906dcea76
Bug 557841 - TM: "Assertion failure: BINDNAME in global code resolved to non-global object, at ../jstracer.cpp". r=dmandelin.
...
--HG--
extra : rebase_source : ebfbfc0bb947c1c68b86ec4861c07a94aa6361d7
2010-04-19 09:21:10 -05:00
Robert Sayre
f7206c6b4c
Merge mozilla-central to tracemonkey.
2010-04-19 09:28:26 -04:00
Nicholas Nethercote
f321bad260
Update nanojit-import-rev stamp.
2010-04-18 19:33:09 -07:00
Nicholas Nethercote
46adbe7828
Remove some pointless aliases. No bug, rs=gal.
...
--HG--
extra : convert_revision : bdef2f8f4b6bfc0a84de2140beec0ff6f3048f1e
2010-04-18 19:31:20 -07:00
Nicholas Nethercote
6306b37a88
Update nanojit-import-rev stamp.
2010-04-18 16:31:16 -07:00
Nicholas Nethercote
8d5a6b4fc5
Fix compiler warning. r=me.
...
--HG--
extra : convert_revision : 4baf0bdb53dfdc39a1a6b1cf9ee78c0c42be8a6f
2010-04-18 16:15:25 -07:00
Edwin Smith
8bfa3598c4
Bug 559968 - Rename LOpcode enums in LIR.cpp. r=nnethercote.
...
--HG--
extra : convert_revision : 34789fd8cb4bd5f3d3eed6b6a44ae1a158620f8d
2010-04-18 16:05:53 -07:00
Edwin Smith
83354ee727
Rename LIR opcodes in LIR.h (bug 557887, r=nnethercote+)
...
Mechanically renamed using rename_LIR.pl, backed out the alias patch hunks,
and updated the pointer-sized aliases to use the new opcodes instead of
PTR_SIZE macros using old opcodes.
--HG--
extra : convert_revision : 944433df375988c65313759440ed1de757ab4ea8
2010-04-16 19:20:24 -04:00
Mike Moening
0ac1362abf
Bug 559067 - Silence MSVC warnings in js/src. r=jorendorff
2010-04-16 16:00:51 -05:00
Gregor Wagner
bd45ee1646
Bug 559113 - Fix dangling FILE pointer in GCMETER code. r=jorendorff.
2010-04-16 15:54:56 -05:00
Jason Orendorff
f86ea8ea75
Bug 527805 - Placeholder comment as requested in review. r=brendan, see comment 6 of the bug.
2010-04-16 15:38:57 -05:00
Jason Orendorff
a8b4d515e0
Bug 527805 - Remove JSCLASS_SHARE_ALL_PROPERTIES. r=brendan.
2010-04-16 15:33:19 -05:00
Mike Moening
30b387bfaa
Bug 549532 - Allow custom memory allocator use in spidermonkey. Part 1. r=dvander.
2010-04-16 15:03:53 -04:00
Igor Bukanov
15f42992a1
bug 557140 - avoid abort() on OOM with ill-lopping traced code. r=jorendorff
2010-04-16 14:31:17 +02:00
Nicholas Nethercote
a5ccfc302f
Bug 558814 - nanojit: handle const conditions for LIR_jt/LIR_jf (TM-specific part). r=dvander.
2010-04-15 17:12:28 -07:00
Nicholas Nethercote
c4cb352576
Update nanojit-import-rev stamp.
2010-04-15 17:01:03 -07:00
Nicholas Nethercote
381d0d7238
Bug 558814 - nanojit: handle const conditions for LIR_jt/LIR_jf. r=edwsmith.
...
--HG--
extra : convert_revision : b57f94e988db5cdd0278bd3b1eca1a664bfcf937
2010-04-15 16:48:07 -07:00
Edwin Smith
3ca2da380f
Rename LIR_stw->stl2w, stb->stl2b, add aliases (bug 555633, r=nnethercote+)
...
--HG--
extra : convert_revision : 2eae88cd4859b3f82d003f1cfd42153c45a14bdf
2010-04-15 09:15:53 -04:00
Jim Blandy
200be9ac78
Bug 558394: Define HAVE_LOCALECONV on Windows. r=jorendorff
2010-04-15 11:43:53 -07:00
Dan Witte
70b834b26d
Bug 557852 - Fix libffi config.cache location. r=bsmedberg
2010-04-15 11:30:28 -07:00
Chris Leary
7dd25d05b6
Bug 558846 - Update parsemark to use js::Parser directly. r=jorendorff.
2010-04-15 10:53:27 -05:00
Jason Orendorff
58bab316a8
Make the regression test for bug 559438 less confusing. r=peterv.
2010-04-15 08:33:21 -05:00
Nicholas Nethercote
60c45cf4f9
Update nanojit-import-rev stamp.
2010-04-14 23:09:53 -07:00
Edwin Smith
211aa2b238
Only perform the disp32->disp8 addressing mode optimization on valid instructions (bug 543440 r=dvander+)
...
RIP-relative addressing uses mod 00 "disp32" encoding, but mod_disp32() assumes
all instructions passed in can be optimized to disp8 encoding if the actual
displacement is 8-bit. This is invalid for mode 00 modes, including RIP addressing.
mod_disp32() can still do the right thing in the other arm of its branch; this
patch removes the assert and tightens the check for the disp8 case.
--HG--
extra : convert_revision : b534b9289ca8a111f16fbf0b0711b5277be440f4
2010-04-14 16:22:14 -04:00
Edwin Smith
4f11cc2a4b
Lower ARM MIPS NJ_MAX_STACK_ENTRY to 1024 as a workaround for asm_spill() limitations (bug 556175)
...
Fixme's added, explaining why.
--HG--
extra : convert_revision : 7d102db403b76739c69fbf1e5b1e35bdbeb4b3c6
2010-04-14 09:15:56 -04:00
Edwin Smith
2b799392a1
Use AvmAssertFail instead of NanoAssertFail to implement NanoAssert (Bug 473188 r=gal+)
...
--HG--
extra : convert_revision : 7c682d3836f7587225a2f8dce73039d10a972318
2010-04-13 15:41:15 -04:00
Edwin Smith
27a2fe4009
Add support for LIR_stb on PPC (bug 558597 r=leon.sha pending)
...
Pushing this in advance of review; It appears to run fine in the tamarin-redux
acceptance suite, and i tested it also by stopping in asm_store32() with dbx,
and disassembling the generated STB instruction. Looked fine to the naked eye.
--HG--
extra : convert_revision : 1e26f7116dc4435461b56900454b02fa821a9e54
2010-04-13 14:39:49 -04:00
Edwin Smith
78a58df89b
Allow i386 JCC() instruction to emit patchable jumps (bug 557705 r=me, nnethercote=pending)
...
TR needs to support patching, the assert is too restrictive.
Support target == 0 with an explicit check instead of letting
it just work by accident.
--HG--
extra : convert_revision : 5f12e1da6b7f3b76116ccf2ffd878969e103f557
2010-04-13 11:42:42 -04:00
Edwin Smith
f21634e98a
Raise ARM and MIPS NJ_MAX_STACK_ENTRY to 4096 (bug 556175 r=Jacob.Bramley+)
...
--HG--
extra : convert_revision : 7a068ed450bb6ba47d8a5ab2586487a1b37ba8db
2010-04-13 11:14:49 -04:00
Edwin Smith
9bd76612f6
Implement LIR_stb on PPC32/64 (bug 558597 r=rreitmai+)
...
Patch also fixes an invalid assert that required load/store
displacements to be multiples of 4 on PPC.
--HG--
extra : convert_revision : e2a7f626b35179db953469ea94cdb39d16b10f7c
2010-04-12 21:27:19 -04:00
Rick Reitmaier
70eed75bf0
Bug 557706 - Allow LogControl printf method to be overridden (r=nnethercote,edwsmith)
...
Issues with prior patch not compiling with tamarin due to missing vtable,
so make sure printf isn't available unless verbose is enabled.
--HG--
extra : convert_revision : 147e02ce8790c9e09f4c91b29b1bcc5d16862ee1
2010-04-12 11:51:00 -07:00
Luke Wagner
e8e792dfe3
Bug 558446 - Emit concatn properly (r=waldo)
2010-04-09 16:32:02 -07:00
Luke Wagner
48ef5714a2
Bug 562991 - Change JS_SetTrap closure argument type from void* to jsval (r=brendan)
2010-04-30 17:34:54 -07:00
Chris Leary
4715402255
Bug 562144: Make DTrace hooks pretty. (r=sayrer)
2010-04-30 17:04:31 -07:00
Brendan Eich
f020c19b49
Beware generators when trying to flatten a closure (563034, r=jorendorff).
2010-04-30 16:31:35 -07:00
Brendan Eich
4123cd89e4
Fix getter/setter built-in vs. scripted type confusion: union getter/setter callable object pointer with raw JSPropertyOp pointer, fix watchpoint assertion/null-deref related to ES5's {get: undefined, set: undefined} new scripted getter/setter state encoding, clean up related code (560796, r=jwalden).
2010-04-30 16:03:37 -07:00
Jason Orendorff
a36524e711
Bug 562909 - testContexts_bug561444 failing, leaving Windows debug tests perma-orange on tracemonkey. r=Waldo.
2010-04-30 17:49:10 -05:00
Andreas Gal
bcca2c2dd9
remove obsolete JSVAL_ERROR_COOKIE and JSVAL_FAIL (563063, r=dvander).
2010-04-30 15:21:09 -07:00
Andreas Gal
8bf13022ad
remove useless date and array trace natives (563055, r=dvander).
2010-04-30 14:59:28 -07:00
Andreas Gal
a5308dbee6
remove useless obj trace natives (563047, r=dvander).
2010-04-30 14:40:25 -07:00
Jason Orendorff
f394a5f4a6
Backed out changeset 73f23528bed6 (bug 559653, again)
2010-04-30 15:12:13 -05:00
Jason Orendorff
67c7ea24ec
Bug 559653 - Record assignment before the interpreter goes; avoid record_SetPropHit. r=brendan.
...
--HG--
extra : rebase_source : c6698a313d7d00cd0584e1968d96d4b67ab0373c
2010-04-28 11:12:19 -05:00
Brendan Eich
8dd3dc8203
Fix fractured grammar in comment for bug 560234.
2010-04-30 08:50:03 -07:00
Brendan Eich
1183886ad9
Fix thinko in patch for 560234, caught by jorendorff, all praise to him.
2010-04-30 07:46:31 -07:00
Jason Orendorff
97e03ff594
Bug 560998 - Assertion failure: entry->vword.toObject() == JSVAL_TO_OBJECT(v). r=brendan.
2010-04-30 08:29:04 -05:00
Nicholas Nethercote
c181e91f96
Bug 562571 - TM: don't have two bounds checks for array getelem. r=brendan.
2010-04-29 20:22:33 -07:00
Brendan Eich
25d01963d5
JSOP_NAME inside null closure leads to bogus ReferenceError on trace (560234, r=jorendorff).
2010-04-29 19:04:55 -07:00
Jesse Ruderman
88b7d59bef
Update regress-429739.js to reflect the decision in bug 520778, and re-enable the test
2010-04-29 17:25:37 -07:00
Nicholas Nethercote
5f80c636ac
Bug 562553 - TM: cache double-to-string conversions to speed up v8-splay.js. r=cdleary.
2010-04-29 17:17:24 -07:00
David Mandelin
d67ef5b796
No bug, fixing a new MSVC warnings, no_r=me
2010-04-29 16:31:45 -07:00
Nicholas Nethercote
a64d09c793
Update nanojit-import-rev stamp.
2010-04-29 16:08:29 -07:00
Edwin Smith
cae45d264f
Bug 559975 - Rename LOpcode enums in NativeX64.cpp (r=nnetercote+)
...
Also includes a few renames of qxor -> xorq from other files.
(qxor was missing from the rename script).
--HG--
extra : convert_revision : b49dd62330e017769dfdea9c87a74698179c7f45
2010-04-29 15:34:40 -04:00
Jason Orendorff
f4b3cf4dcf
Sort trace-tests by name before running them. No bug#, rs=Waldo via IRC.
2010-04-29 09:11:05 -05:00
Ginn Chen
5e10d00cc8
Update nanojit-import-rev stamp.
2010-04-29 16:01:33 +08:00
Andreas Gal
29e138413b
fix brace style (Nth follow-up for 560358).
2010-04-28 19:13:03 -07:00
Andreas Gal
38db3e4144
Merge.
2010-04-28 18:50:17 -07:00
Andreas Gal
4d7957f8da
Follow-up for 560358, poke the GC when overwriting the value of RegExpStatics.input (fix leak).
2010-04-28 18:49:36 -07:00
Nicholas Nethercote
03fc26f162
Bug 562251 - JSSLOT_ARRAY_COUNT isn't used for slow arrays. r=brendan.
2010-04-28 18:35:22 -07:00
Andreas Gal
2f49c18d49
export replenishAndFreeLater as a JS_FRIEND_API to fix build break (r=me).
2010-04-28 17:17:34 -07:00
Andreas Gal
5396259566
Optimize static RegExp state (560358, r=brendan).
2010-04-28 16:35:12 -07:00
Jeff Walden
da86852e63
Bug 562193 - Implement Components.utils.getGlobalForObject(obj), as a supported alternative to parent-chain-walking. r=mrbkap
2010-04-28 13:53:01 -07:00
Luke Wagner
236eaca21d
Oops, b0f49ebf6325 wants a definition (r=me)
...
--HG--
extra : rebase_source : 069c949e4e236f323c737d15eac2a811677ba58b
2010-04-28 15:23:34 -07:00
Jeff Walden
bd77c10f36
Merge.
2010-04-28 15:18:53 -07:00
Jeff Walden
2cd9ce505e
Backed out changeset 1da2bbf6cfaf, turned tree red.
2010-04-28 15:18:38 -07:00
Luke Wagner
5740549bf3
Bug 562470 - Give JSBackgroundTask a virtual destructor (r=me)
2010-04-28 15:06:39 -07:00
Jason Orendorff
ea6c9e072c
Silence a compiler warning (in MSVC) about implicitly narrowing jsval to JSBool in JSVAL_IS_INT. Noticed by MikeM. No bug#, rs=Waldo via IRC.
...
--HG--
extra : rebase_source : 8060def41cdbed1c7b80b01da58b00e1967fb3fe
2010-04-28 16:12:15 -05:00
Andreas Gal
bcb5b41c19
Optimize static RegExp state (560358, r=brendan).
2010-04-28 13:33:21 -07:00
Jason Orendorff
4c95cdb5bb
Merge backout.
2010-04-28 13:41:43 -05:00
Jason Orendorff
3195cfef28
Backed out changeset ae857d818793 (bug 559653) due to test failures.
2010-04-28 13:41:24 -05:00
Jason Orendorff
6e105f0bbd
Backed out changeset 69ea8f61ae26 (bug 559813) due to test failures.
2010-04-28 13:03:19 -05:00
Jason Orendorff
4a18404428
Bug 559813 - Trace script setters. r=brendan.
2010-04-28 11:43:27 -05:00
Jason Orendorff
995a9792c7
Merge.
2010-04-28 11:15:12 -05:00
Jason Orendorff
b9faaf0008
Bug 559653 - TM: Record assignment before the interpreter goes; remove record_SetPropHit. r=brendan.
2010-04-28 11:12:19 -05:00
Nicholas Nethercote
64d89e4c4e
Bug 557991 - nanojit: remove dead code from CodeAlloc. r=edwsmith.
...
--HG--
extra : convert_revision : 335ca0fff2a7ac451d0fa1c11594f6dbacada648
2010-04-08 18:33:21 -07:00
Edwin Smith
4066397869
Suppress unused arg warnings for bug 557843 (r=me.)
...
Took the opportunity to add a few asserts to ensure the implit RHS
register for x86 shift instructions is always ECX.
--HG--
extra : convert_revision : 6baccc0354a87ece92ccff6ff138986bf4d19a2c
2010-04-08 12:58:49 -04:00
Rick Reitmaier
488207c8c6
Bug 557706 - Allow LogControl printf method to be overridden (r=nnethercote)
...
if LogControl.printf is made a virtual method then consumers of nanojit can
more easily control how the output is managed.
--HG--
extra : convert_revision : 7fa9ad2e2d57661e4290df0b3902fd809f19d768
2010-04-07 09:54:30 -07:00
Nicholas Nethercote
402bef5045
Bug 559250 - encapsulate JSSLOT_{PRIMITIVE,DATE,REGEXP}_* within JSObject (take 2). r=brendan.
2010-04-14 18:57:30 -07:00
Nicholas Nethercote
f184bd2d63
Backed out changeset 681b0067e61b due to massive breakage
2010-04-14 17:09:17 -07:00
Nicholas Nethercote
f03671a815
Bug 559250 - encapsulate JSSLOT_{PRIMITIVE,DATE,REGEXP}_* within JSObject. r=brendan.
2010-04-14 16:18:03 -07:00
Jason Orendorff
1c8393cb48
Bug 559438 - Decompiler bug with JSOP_CONCATN. r=shaver.
2010-04-14 17:26:44 -05:00
Jason Orendorff
dc0a410213
Missing test file for 47949ff2d058.
2010-04-14 15:52:24 -05:00
Jason Orendorff
845b11aaee
Bug 559006 - Wrong behavior with JSClass::convert hook and JIT. r=mrbkap.
2010-04-14 15:07:01 -05:00
Dan Witte
44877ab64f
Bug 556329 - Allow ctypes to load exported data symbols. r=jorendorff
2010-04-14 10:36:48 -07:00
Walter Meinl
f7a9695a6a
Bug 538002 - Get libffi 3.0.9 working on OS/2. Part 3: Mozilla bits. r=dwitte
2010-04-14 10:36:48 -07:00
Dan Witte
7db802935b
Bug 538002 - Get libffi 3.0.9 working on OS/2. Part 2: update libffi.patch.
2010-04-14 10:36:48 -07:00
Walter Meinl
e064178bb0
Bug 538002 - Get libffi 3.0.9 working on OS/2. Part 1: libffi bits. r=dwitte
2010-04-14 10:36:48 -07:00
Dan Witte
c933042c03
Bug 556902 - Fix ctypes warnings. Part 2: libffi. r=benjamn
2010-04-14 10:36:48 -07:00
Dan Witte
30bcfdbab3
Fix allocator mismatch. No bug, r=jorendorff
2010-04-14 10:36:47 -07:00
Robert Sayre
ed34f3441d
Merge mozilla-central to tracemonkey.
2010-04-14 08:17:38 -04:00
Jason Orendorff
bfcc35d7be
Merge backout.
2010-04-14 07:00:55 -05:00
Jason Orendorff
64b5160fe0
Backed out changeset ff77002e8a30 (bug 558720).
2010-04-14 07:00:36 -05:00
Gregor Wagner
a076dae769
Bug 541140 - TM: don't return GCChunks immediately
2010-04-13 20:14:10 -07:00
Nicholas Nethercote
7fcd2a4fed
Bug 558714 - js_ScriptClass doesn't need a reserved slot. r=brendan.
2010-04-13 19:38:49 -07:00
Brendan Eich
771d26f3e3
Fix non-escaping closure optimization to cope with 'with' and eval (558720, r=jorendorff).
2010-04-13 19:05:26 -07:00
Robert Sayre
7ef926238f
Merge
2010-04-13 18:16:05 -04:00
Robert Sayre
a478d01b22
Backed out changeset c9faf5a2bc75
2010-04-13 18:15:20 -04:00
Gregor Wagner
29fd0abe79
Bug 558833 - Fix GCTIMER for SweepDoubles. r=jorendorff.
...
--HG--
extra : rebase_source : 7492dd5a7bbed917ad4177685631ea1163193579
2010-04-13 08:58:40 -05:00
Luke Wagner
bed87a820e
Check for JS_THIS_OBJECT failure in obj_isPrototypeOf (r=Waldo)
...
--HG--
extra : rebase_source : e22f9eb8bdf47b2f3cf2c5fc3d6ed46e01c191a2
2010-04-12 20:05:03 -07:00
Mike Moenig
7a8636386d
[JAEGER] Allow custom memory allocator use in spidermonkey (bug 549532, r=dvander).
2010-04-12 18:51:25 -07:00
Luke Wagner
8e921f0747
Bug 558950 - Object.watch should always return undefined (r=Waldo)
2010-04-12 17:47:35 -07:00
Igor Bukanov
71754287bd
bug 553812 - separate GC arena info and mark bits from the arena. r=gal,anygregor
2010-04-13 00:59:19 +04:00
Igor Bukanov
25b9b593c9
backout merge
2010-04-12 23:43:43 +04:00
Igor Bukanov
2b9d1f2440
Backed out changeset 47532d9153cb - xpcshell failures
2010-04-12 23:42:45 +04:00
Jeff Walden
82808e507b
Bug 558249 - Followup fixes to bug 550402 to record setting getter-only properties better. r=jorendorff
...
--HG--
extra : rebase_source : 0cfef9aca97c243b1d45e5b6e4d68181cd3cea5c
2010-04-12 11:11:33 -07:00
Igor Bukanov
23183d557b
bug 553812 - separate GC arena info and mark bits from the arena. r=gal,anygregor
2010-04-12 21:15:30 +04:00
Jason Orendorff
7f3f9e1229
Bug 557652 - Eliminate redundant guard that incProp/getProp operand is not the global object. r=brendan.
...
--HG--
extra : rebase_source : 8da6192aedb78f6096d83a161698b27e43d30c30
2010-04-12 08:27:16 -05:00
Robert Sayre
47eff5e85b
Fix merge bustage.
2010-04-12 10:08:55 -04:00
Robert Sayre
ef934ff7f0
Merge mozilla-central to tracemonkey.
2010-04-12 09:45:24 -04:00
Nicholas Nethercote
a198d2eced
Bug 556165 - dead code in array_shift(). r=jwalden.
2010-04-11 22:38:55 -07:00
Andreas Gal
ddceca133e
Remove lingering defaultValue calls with hint JSTYPE_OBJECT or JSTYPE_FUNCTION (554550, r=brendan).
2010-04-11 20:55:22 -07:00
Andreas Gal
2eb519b77f
Fix an incorrect comment (r=me).
2010-04-11 20:03:04 -07:00
Nicholas Nethercote
4d6cdc79f1
merge
2010-04-11 16:45:50 -07:00
Nicholas Nethercote
32d0ca5205
Bug 557713 - encapsulate JSSLOT_ARGS_* within JSObject. r=brendan.
2010-04-11 16:45:20 -07:00
Nicholas Nethercote
85ff55686d
Bug 558530 - JM: Crash [@ js_CallGCMarker] with gc. rs=me.
2010-04-11 16:28:04 -07:00
Brendan Eich
32d355c260
Keep jsprvtd.h usable from C (558437 followup, r=REDRUM).
2010-04-11 10:40:36 -07:00
Brendan Eich
4dc55ab8cb
Cope with stillborn Iterators (558619, r=dvander).
2010-04-10 23:47:43 -07:00
Dave Herman
e595a277fd
Bug 558437 - rename JSCompiler to js::Parser (r=brendan).
2010-04-10 21:15:35 -07:00
Brendan Eich
988d0d7529
Don't bother optimizing apply on arguments objects whose length property has been overridden (558609, r=dvander).
2010-04-10 20:53:11 -07:00
Andreas Gal
5c6bff58cb
Inline the object allocation path (558003, r=sayrer).
2010-04-10 16:16:35 -07:00
Andreas Gal
fc0bd541a6
Remove gcIteratorTable (557914, r=brendan).
2010-04-10 16:08:14 -07:00
Siddharth Agarwal
960e95b20e
Bug 558887 - VC10: nsinstall.exe doesn't get a manifest. Copy the logic over from $(PROGRAM) to $(HOST_PROGRAM). r=bsmedberg
2010-04-13 14:18:19 +05:30
Jesse Ruderman
067b1370d6
This test doesn't need to open a new window. (May 'fix' orange bug 558581.)
2010-04-12 23:48:06 -07:00
Marco Bonardo
fe04bff928
Bug 550823 did not sync js/src/config
2010-04-22 16:11:24 +02:00
Julian Seward
5bb0e1448b
Bug 557586 - XPCPerThreadData::~XPCPerThreadData race leading to possible crash r=timeless
2010-04-22 14:58:41 +02:00
Ben Newman
9049149be5
Bug 559962 - Refactor XPCWrappedNative::CallMethod. r=mrbkap
2010-04-21 11:39:13 -07:00
Robert Sayre
e44c04a1c1
Merge tracemonkey to mozilla-central.
2010-04-15 12:05:18 -04:00
Ben Turner
6e5c99b2e7
Bug 559442 - 'Fix ctypes closures to work on a non-GC thread'. r=dwitte.
2010-04-14 17:21:06 -07:00
Chris Jones
0a2e06e4bb
Bug 557060: Interpose _Throw() on MSVC and centralize pseudo-throw code in mozalloc. r=ehsan sr=bsmedberg
2010-04-20 15:12:02 -05:00
Mike Hommey
d73fba1516
Fix system-header desync from bug 558789
2010-04-20 11:23:17 +02:00
Mike Hommey
8465a0be12
Bug 555910 - Increase stability and performance on mips by not using -Wa,-xgot [r=benjamin]
...
--HG--
extra : rebase_source : ccc020327a845bdbabb1a23138751d879d5c6e55
2010-04-19 10:41:13 +02:00
Mike Hommey
65480f1f3f
Bug 555901 - Support for GNU/Hurd [r=benjamin]
...
--HG--
extra : rebase_source : 2a455d93f9daaf7760285ea10046cc978ac9f9ad
2010-04-19 10:39:58 +02:00
Ben Turner
ca2c838319
Bug 558675.
2010-04-11 15:05:07 -07:00
Brendan Eich
8e745c96e0
Don't bother optimizing apply on arguments objects whose length property has been overridden (558609, r=dvander).
2010-04-10 20:56:16 -07:00
Mike Hommey
6904065b6e
Bug 541774: IDL-parser cache and .pyc files are left behind by make clean. r=ted
2010-04-10 16:02:45 -04:00
Mike Hommey
017e71e2ef
Bug 541770: Clean up js/src during make distclean. r=ted
2010-04-10 16:00:49 -04:00
Blake Kaplan
5d57fec925
Bug 557728 - Split constructors into called-from-script and called-from-api. r=vlad sr=jst
...
--HG--
extra : rebase_source : 64af9e27799a36ce7cd45c885501bef139ddc44c
2010-04-08 18:20:06 -07:00
Jeff Walden
44f84cb40b
Bug 534377 - Object literal duplicate-property checking doesn't work for same property as number and as string. r=jimb
2009-12-24 16:10:18 -05:00
Blake Kaplan
ca9480ec1b
Bug 533882 - Don't call into CAPs when we don't have to. r=jst sr=bzbarsky
...
--HG--
extra : rebase_source : 534bfae23aa5c1de4229b5259ba48599aef69a12
2009-12-16 17:40:14 -08:00
Peter Van der Beken
55a2545604
Fix warning.
2010-04-08 14:07:28 +02:00
Dan Witte
143f1022a1
Bug 557413 - Fix race condition building static and shared libraries. r=ted
2010-04-08 16:03:06 -07:00
Blake Kaplan
60f6a7b719
Bug 557346 - Try harder to fill report->ucmessage in when reporting errors.
2010-04-08 15:57:19 -07:00
Michael Wu
11d7629cad
Bug 557303 - Include stdarg.h in jsscan.h, r=jimb
2010-04-08 12:06:54 -07:00
Blake Kaplan
93f641a2f8
Fix bug 554448. r=jst sr=sicking
...
--HG--
extra : rebase_source : d5b72e262ed2c9da30fae7fb4b4ea8ad75f511c4
2010-03-25 14:38:45 -07:00
Blake Kaplan
8b5637aec9
Bug 386635 - Compatibility hacks to make evalInSandbox continue to work for GreaseMonkey. r=jst
...
--HG--
extra : rebase_source : 3784e3ea135dbb53cd5a935369a58627bb73fb7d
2010-03-23 14:11:50 -07:00
Blake Kaplan
b66334e394
Bug 386635 - Automatically wrap sandboxes in security wrappers to make them easier to use safely. r=jst
...
--HG--
extra : rebase_source : c21431a5de17359b622c71061802b9f1713fcc8f
2010-02-11 17:04:41 -08:00
Dan Witte
05c354059c
Bug 557413 - ar: ctypes/libffi/.libs/libffi.a: Resource temporarily unavailable. r=bsmedberg
2010-04-07 14:03:34 -07:00
Ben Turner
171817f00e
Bug 553128 - 'Add better support for typed arrays in structured clone'. r=vlad+jst+jorendorff.
2010-04-07 13:55:12 -07:00
Ben Hearsum
42acef4d77
bug 554392: Tracking bug for build and release of Firefox 3.7a4 - version bumps to 1.9.3a5pre/3.7a5pre
...
--HG--
extra : rebase_source : e870a851a205062bca0082049283404207a16601
2010-04-07 14:04:51 -04:00
Olli Pettay
d7689f2755
Bug 519741 - Quickstub nsIDOMRange, r=peterv
2010-04-07 18:25:26 +03:00
Ginn Chen
ffc14831c5
Bug 550371 mozalloc failed to build on Solaris r=bsmedberg
2010-04-07 14:16:32 +08:00
Peter Van der Beken
68127671cb
Try to fix bustage.
2010-04-06 17:02:28 +02:00
Peter Van der Beken
522fd43495
Fix for bug 533637 (Speed up unwrapping a node in quickstubs that use nsINode (dromaeo)). Use flags on DOMCI to be able to cast instead of QI. r=jst.
...
--HG--
extra : rebase_source : b33953705ace2b6c2171f32fcf7c0157a1f76173
2010-01-12 15:24:00 +01:00
Chris Jones
8e9788bf69
Backed out changeset eef17c173aaa
2010-05-13 17:24:30 -05:00
Blake Kaplan
03435b3f42
Bug 546573 - EnsureInnerWindow from wrappers. r=jst sr=bzbarsky
2010-03-22 15:46:37 -07:00
Michael Kohler
c00ff9684a
Bug 506041 Part 2: Correct misspellings in source code
...
r=timeless
2010-05-13 14:19:50 +02:00
Mike Hommey
c01e024afd
Bug 555920 - Move js_obj_define{G,S}etter declarations in jsobj.h and make resolving_MatchEntry static, as it's not defined in any header [r=jwalden]
2010-05-13 09:45:33 +02:00
Mike Hommey
e5ea9f49a3
Bug 555915 - Avoid visibility issues when building xpcshell with libreadline [r=jwalden]
2010-05-13 09:06:13 +02:00
Jacek Caban
958199823f
Bug 557000 - Correctly set GCC_VERSION on mingw. r=ted
2010-04-03 14:41:33 +02:00
Peter Van der Beken
5e4f13f9eb
Back out fixes for bug 560462 to fix orange.
...
--HG--
extra : rebase_source : afe96ede6fc605c656b746f6388d6144886b18ed
2010-05-11 19:20:03 +02:00
Peter Van der Beken
67f05e795b
Try to fix orange from e2c5f6be2148
...
--HG--
extra : rebase_source : 148d9a1eef794af433373002effd47c12cce6e1c
2010-05-11 18:27:44 +02:00
Peter Van der Beken
8ab21fa739
Fix for bug 560462 (Use fast unwrapping for more quickstubs) - use fast unwrapping for nsIDOMNode_GetNodeType, nsIDOMNodeList_GetLength, nsIDOMElement, nsIDOMNSElement_, nsIDOMNSHTMLElement, nsIDOMDocument, nsIDOMNSDocument, nsIDOM3Document, nsIDOMHTMLDocument and nsIDOMNSHTMLDocument_. r=jst.
2010-04-19 17:41:39 +02:00
Peter Van der Beken
40022bf13e
Fix for bug 560462 (Use fast unwrapping for more quickstubs) - add support for non-templated custom quickstubs for an interface. r=jst.
2010-05-06 14:16:32 +02:00
Peter Van der Beken
de4875aa7d
Fix for bug 564114 (Crash [@ nsINode::CompareDocumentPosition] passing null). r=bz.
2010-05-06 21:26:35 +02:00
Daniel Holbert
01b9c9d20d
Bug 557566, part 1: Add Makefile-variable FAIL_ON_WARNINGS (and debug-only version FAIL_ON_WARNINGS_DEBUG). r=ted
2010-05-06 11:55:18 -07:00
Serge Gautherie
dd16df539a
Bug 559498 - configure.in: s/--enable-long-long-warning/--disable-long-long-warning/; (Av1) Just do it, Re-indent++ this block.
...
r=ted.mielczarek.
2010-05-06 18:35:11 +02:00
Robert Sayre
c5b2bbeb04
Merge tracemonkey to mozilla-central.
2010-05-06 08:50:41 -04:00
Mike Hommey
3487aea406
Bug 542460 - Remove executable permission on source files [r=ted.mielczarek]
2010-05-06 09:32:50 +02:00
Taras Glek
959743b1a0
Bug 418866 - Set the proper gcc flags for pgo on Linux [r=ted.mielczarek]
2010-05-06 09:26:05 +02:00
Ginn Chen
b28bd2533f
Bug 539188 Fix jemalloc linkage for Solaris, revert Bug 534848 r=ted.mielczarek
2010-05-06 13:49:27 +08:00
Blake Kaplan
8ecdf4b82b
Bug 560351 - Don't forget to actually throw the exception. r=peterv
...
--HG--
extra : rebase_source : 92f95ae32314cd74975dc2a932f67e617b4a7772
2010-05-05 20:44:30 -07:00
Blake Kaplan
de011b7811
Bug 558540 - about:sessionrestore asserts because of the wrong wrapper types. r=jst
...
--HG--
extra : rebase_source : dcf0256b25620953fd3bfefacc56814bbb2d519c
2010-05-05 17:28:58 -07:00
L. David Baron
23dff5e19e
Back out temporary debugging code for bug 538462 (changesets 1e383909069b and f5c479a8f631).
2010-05-05 18:20:43 -07:00
L. David Baron
5047cac55b
Move temporary debugging code for bug 538462 to where it's more likely to work when we leak the world.
2010-05-05 12:39:44 -07:00
Peter Van der Beken
7f1bcfe01c
Part 13 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - stop using tearoffs from quickstubs for nsIDOM3Node, nsIDOM3Text, nsIDOMNodeSelector and nsIDOMNSElement. r=jst.
...
--HG--
extra : rebase_source : fbc8a48c0efb5d6700ec981f7d4da3434f306e9d
2010-04-19 17:41:38 +02:00
Peter Van der Beken
d2a54600b6
Part 12 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - switch default 'canFail' value for custom QS from False to True and allow missing 'code'. r=jst.
...
--HG--
extra : rebase_source : d5d5cd5c863856176b77a82309bb9a029d84b224
2010-04-19 17:41:38 +02:00
Peter Van der Beken
6f886e44f9
Fix for bug 560199 (Link XPConnect and caps into layout). r=jst.
...
--HG--
extra : rebase_source : 5141822e9d560019ffc1e0cb0264782aa8aa7a99
2010-04-11 15:55:24 +02:00
L. David Baron
0499dc6772
Annotate jsreftest manifests with assertion counts. (Bug 472557)
2010-05-04 21:28:18 -07:00
Jason Orendorff
917e0bdafe
Bug 563735 - Assertion failure: JS_IS_SCOPE_LOCKED(cx, scope) on crashtest machine. r=dvander.
2010-05-04 14:57:27 -05:00
Makoto Kato
b8582f592c
Bug 560477 - ambiguous call to overloaded function of ATL::CComPtr<T>::CComPtr. r=timeless
2010-04-28 13:40:56 +09:00
The Written Word
3efc659045
Bug 550599 - "add ia64-hpux block to configure.in" [r=ted]
2010-03-29 13:37:00 -04:00
Mounir Lamouri
6d277a77df
Bug 346485 - "Implement output element" [r=smaug,hsivonen,mrbkap,timeless,roc sr=jst]
2010-04-26 03:42:00 -04:00
Blake Kaplan
431d7d6bb6
Fix bug 554449. r=jst sr=peterv
2010-04-27 16:24:35 -07:00
Blake Kaplan
d1f1f9de91
Bug 559231 - Don't assert if there's no code running. r=jst
2010-04-27 16:24:18 -07:00
David Anderson
624bae323e
Don't bother tracing some elem sets yet (bug 561939, r=gal).
2010-04-26 20:44:45 -07:00