Andreas Gal
cbc81f2d50
add missing parens in expression for clarity (no bug, r=mrbkap)
2010-05-12 15:42:05 -07:00
Andreas Gal
0c9154d22e
Bug 565199 - TM: trace-test failure in testGeneratorDeepBail, x64. r=dvander
2010-05-12 17:14:28 -04:00
Andreas Gal
af72ac4d4c
nit fix for bug 558754 and remove bogus spot-fix that didn't have review (r=brendan)
2010-05-12 13:12:53 -07:00
Vladimir Vukicevic
8c80a0cd55
b=561566,561299; typed array arg checking fix; r=jorendorff
2010-05-12 10:18:35 -07:00
Jason Orendorff
d21c4cbaeb
Merge.
2010-05-12 09:37:31 -05:00
Jason Orendorff
bdb491ed34
Backed out changeset 8cb8888c68d3 due to failing mochitests.
2010-05-12 09:34:03 -05:00
Robert Sayre
0cfaca99bc
Disable most of test_wrappers.html until we fix 564954.
2010-05-12 10:33:47 -04:00
Jason Orendorff
4d3c5821a1
Bug 563728 - Switch the imacro compiler over to Python. r=Waldo.
...
--HG--
rename : js/src/imacro_asm.js.in => js/src/imacro_asm.py
2010-05-12 08:49:36 -05:00
Jason Orendorff
ee50fdd206
Bug 560643 - Add a special jsval type to XPIDL. Part 2, manual IDL cleanup. r+sr=jst.
...
--HG--
extra : rebase_source : 9529caa471dd4de9ddc9cedbab38922f9398011e
2010-05-12 08:19:22 -05:00
Jason Orendorff
5aa27b84c9
Bug 560643 - Add a special jsval type to XPIDL. Part 1, rename JSVal -> jsval in existing IDL. r+sr=jst.
...
--HG--
extra : rebase_source : 3d50f7468277883a26790df13a639ce37757a257
2010-05-12 08:18:51 -05:00
Jason Orendorff
2b3384521c
Bug 513065 - Part 3, compute scope in the engine before calling the thisObject hook. r=mrbkap.
2010-05-12 08:15:49 -05:00
Jason Orendorff
33ab4dbe7b
Bug 513065 - Part 2, avoid thisObject in obj_getProto (left over from __parent__). r=mrbkap.
...
--HG--
extra : rebase_source : f900cd58592696d522e9c58effc3dc16761e1808
2010-05-12 08:13:05 -05:00
Jason Orendorff
ab2c2c89d5
Bug 513065 - Part 1, avoid thisObject when unwrapping With objects. r=mrbkap.
...
--HG--
extra : rebase_source : 129c8592e7f14bb76cc648ba8ae930bfc73507cb
2010-05-12 08:11:46 -05:00
Chris Leary
e63f347a0a
Bug 564076: Small parser cleanup changes. (r=mrbkap)
2010-05-11 21:33:29 -07:00
Nicholas Nethercote
9e27c4bb2e
Bug 552592 - nanojit: split TMFLAGS=assembly in two (TM-only part). r=jseward.
2010-05-11 20:01:27 -07:00
Nicholas Nethercote
a591c93a13
Update nanojit-import-rev stamp.
2010-05-11 20:00:24 -07:00
Nicholas Nethercote
439c3c6f87
Bug 552592 - nanojit: split TMFLAGS=assembly in two. r=edwsmith.
...
--HG--
extra : convert_revision : 0ab7614fb5140f304020d000789eff6b63ecdef6
2010-05-11 19:14:51 -07:00
Nicholas Nethercote
d398416088
Bug 563277 - nanojit: ignore dead guards in StackFilter. r=edwsmith.
...
--HG--
extra : convert_revision : c6024514710ad40128e05ba004b4db0c2a302862
2010-05-11 18:52:03 -07:00
Nicholas Nethercote
7a0c7aaa29
Bug 562597 - nanojit: more LOpcode-related renamings. r=edwsmith.
...
--HG--
extra : convert_revision : 96391e53a0b48bd53fa98db68da86f76a55e9bd0
2010-05-11 17:14:20 -07:00
Nicholas Nethercote
6d5053e9df
Update nanojit-import-rev stamp.
2010-05-11 16:54:19 -07:00
Edwin Smith
fd1b388c23
Bug 564941 - Rename LOpcode enums in lirasm.cpp (r=nnethercote+)
...
--HG--
extra : convert_revision : e165192e6b4adc66ac4c395c8e8e80a66d7f1117
2010-05-10 21:00:15 -04:00
Edwin Smith
4d87ad98e3
Bug 559972 - Rename LOpcode enums in NativeMIPS.cpp (r=nnethercote+)
...
--HG--
extra : convert_revision : 24782e879b70fc00120a5697ff978d0c16a8aeab
2010-05-10 20:10:47 -04:00
Edwin Smith
07a068ef9b
Bug 559974 - Rename LOpcode enums in NativeSparc.cpp (r=nnethercote+)
...
--HG--
extra : convert_revision : 83cb4cee2b4db69a8d8b2616e062c01156b87dee
2010-05-10 20:09:05 -04:00
Edwin Smith
045c28aa3f
Bug 559973 - Rename LOpcode enums in NativePPC.cpp (r=nnethercote+)
...
--HG--
extra : convert_revision : d65d7a51c661d49274ee4707eb0b478f6e7b6ec9
2010-05-07 08:39:56 -04:00
Nicholas Nethercote
2a2687bf69
ARM bustage fix for bug 564080. r=me.
...
--HG--
extra : convert_revision : 98eb4dff32af55697aac78f7c89c4a3b56cb01fa
2010-05-06 16:18:51 -07:00
Nicholas Nethercote
93fba42127
Bug 564080 - nanojit: merge LIR_alloc[iq]. r=edwsmith.
...
--HG--
extra : convert_revision : bf229d93127ae64ffa62f4c872c2319bbc4dc59b
2010-05-06 16:13:11 -07:00
Edwin Smith
279460658a
Bug 559971 - Rename LOpcode enums in NativeARM.cpp (r=nnethercote+ f=jacob.bramley+)
...
--HG--
extra : convert_revision : f7a0d7ffe0739ce2e2b2c259d7b8d3d9b77f78d5
2010-05-06 09:32:06 -04:00
Edwin Smith
8b43bd915d
Change the PPC isS14 macro to an inline function (bug 560370 r=rreitmai+)
...
Fixes two problems:
1. macro incorrectly referred directly to "bd" instead of its argument "i"
2. logic wasn't 64-bit safe (incorrect 32/64bit comparison)
--HG--
extra : convert_revision : 9b65dfcae9f7d70788806afc4f3b989e32c601fe
2010-05-05 10:47:36 -04:00
Brendan Eich
399bb672d5
Pick initialization nit.
2010-05-11 14:05:35 -07:00
Robert Sayre
0821fc2de4
Merge.
2010-05-11 16:37:47 -04:00
Robert Sayre
bcf510f2ff
Backed out changeset 60c4693a80ef
2010-05-11 16:37:18 -04:00
Robert Sayre
2777416cca
Merge.
2010-05-11 11:52:40 -04:00
Robert Sayre
a354ba1cfc
Backed out changeset 919950c7f0f0
2010-05-11 11:52:17 -04:00
Robert Sayre
56652121fd
Backed out changeset e0d454817dfd
2010-05-11 11:50:58 -04:00
Robert Sayre
e67fe7c99c
fix debug build bustage from Bug 559408.
2010-05-11 08:40:08 -04:00
Igor Bukanov
e5c32894ce
bug 563345 - using js::HashMap for JSRuntime::threads. r=lw
2010-05-11 09:49:28 +02:00
Igor Bukanov
443327bdc3
bug 563326 - HashMap::relookupOrAdd as a safe alternative to the add method in presence of map mutations. r=lw
2010-05-11 08:27:53 +02:00
Chris Leary
299dd52ca1
Bug 559408: Arena pool macros to methods. (r=gal)
2010-05-10 21:46:52 -07:00
Jason Orendorff
9b5693f187
Bug 564344 - Crash or "Assertion failure: slot < (this)->scope()->freeslot, at ../jsscope.h:563" @ JSObject::getSlot(unsigned int) when redefining property. r=brendan.
2010-05-10 18:43:34 -05:00
Andreas Gal
2bbccc6cff
can't trace generator close, follow up for 558754, CLOSED TREE
2010-05-07 19:19:19 -07:00
Andreas Gal
2004c301c3
fast object iteration (558754, r=brendan, CLOSED TREE).
2010-05-07 17:52:52 -07:00
Andreas Gal
b943be441e
xml[index] only works for JSXML_CLASS_LIST (564377, r=brendan, CLOSED TREE).
2010-05-07 13:33:57 -07:00
Dan Witte
8abd831785
Bug 562809 - js::HashTable::init(n) should guarantee success of next 'n' add()s. r=luke
2010-05-06 09:14:43 -07:00
Blake Kaplan
5acba45793
Fix bug 563243. r=jorendorff
...
--HG--
extra : rebase_source : 4d0b7a62b0b1c458e2bb7f109e98da604ecba03a
2010-05-03 15:23:01 -07:00
Nicholas Nethercote
c346baf81a
Bug 562857 - TM: use LIR_d2i instead of js_DoubleToInt32() when possible. r=gal.
2010-05-05 16:50:50 -07:00
Dan Witte
c9d150350d
Fix crash.
2010-05-05 15:57:34 -07:00
Chris Leary
cc14df4238
Bug 563870: Fix dtrace linker error. (r=dvander)
2010-05-05 15:32:47 -07:00
Chris Leary
50beb5729a
Bug 551763: Fix deletion of arguments ident. (r=Waldo)
2010-05-05 15:20:12 -07:00
Chris Leary
a95aefcc00
Bug 556657: Fix test description. (r=Waldo)
2010-05-05 14:04:16 -07:00
Dan Witte
41ff4ffb81
Address review comment from bug 551982. r=benjamn
2010-05-05 12:01:28 -07:00
David Mandelin
ab14aefcb3
Bug 563842: Make PRMJ_Now always high-resolution in Windows shell builds, r=brendan
2010-05-04 18:06:30 -07:00
Luke Wagner
500101d1a4
Bug 563845 - skip jsval-to-jsid conversion when jsval is a jsid (r=igor)
2010-05-04 18:24:13 -07:00
Nicholas Nethercote
f824f9ebe3
Bug 563575 - encapsulate jsobj.cpp dslots accesses. r=brendan.
2010-05-04 20:28:38 -07:00
Jeff Walden
be6a021e8a
Slightly better single-thread fix to parent() in jsshell. r=foopy
2010-05-04 19:50:53 -07:00
Chris Leary
b3500c2d9e
Fix shell build break on non-threadsafe. (r=me)
2010-05-04 19:34:21 -07:00
Jeff Walden
2a594e3393
Fix bustage from not renaming a variable appropriately in a copy-paste. r=red
2010-05-04 18:27:50 -07:00
Jeff Walden
3fa134bbc4
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
45f5c025d0
Bug 563210 - "Assertion failure: isDenseArrayMinLenCapOk()," with gc, gczeal, Array, defineGetter. r=brendan.
2010-05-04 17:29:42 -07:00
Nicholas Nethercote
96dfc02296
Bug 563590 - TM: rename opcodes in jsregexp.cpp, jsrecursion.cpp. r=dvander.
2010-05-04 16:26:18 -07:00
Jeff Walden
2eb97e810d
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
62bf5ca9d8
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
00f6066393
Bug 552560 - Remove support for __parent__. r=mrbkap
2010-04-11 13:51:00 -07:00
Jeff Walden
aea2277c5b
Fix typo in patch for bug 562193, r=firebot
2010-04-28 15:54:28 -07:00
Jeff Walden
35681447d7
Bug 560566 - Add this particular failure mode to the Object.defineProperty megatests. r=jorendorff
2010-04-22 18:53:54 -07:00
Luke Wagner
4daf5e05b2
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
d1db88e05e
Pretty-up some tcflag use in the parser and emitter (bug 563568, r=cdleary).
2010-05-03 20:53:55 -07:00
Dan Witte
e7cac15e98
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
7124fa12fa
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
7e227a70cd
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
30c5f4ac45
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
70dd2657d6
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
91a57c32a3
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
3a2ba42072
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
67b2684e4d
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
21d9a292ac
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
1e491a700b
Merge.
2010-05-03 12:32:11 -04:00
Robert Sayre
df21a4aa06
Update dense array cloning with new factoring of getDenseArrayCapacity
2010-05-03 11:19:45 -04:00
Robert Sayre
2a89b5be4f
Merge mozilla-central to tracemonkey.
2010-05-03 11:03:37 -04:00
Nicholas Nethercote
1cd832e8d3
Bug 562872 - encapsulate Arguments-related dslots accesses. r=brendan.
2010-05-02 21:42:09 -07:00
Chris Leary
8ad3f63e27
Bug 563259: Fix shark/dtrace enabled combo. (r=me)
2010-05-02 17:14:44 -07:00
Luke Wagner
501ef0e6be
Bug 563167 - propagate error out of Parse (r=cdleary)
2010-05-02 10:24:17 -07:00
Luke Wagner
d57afd3b99
Missed an init() in c6857d0b1e9f
2010-05-01 13:32:10 -07:00
Luke Wagner
e4ed25e94a
Bug 563123 - use js::HashMap for JSCodeGenerator::constList (r=igor)
2010-05-01 12:53:14 -07:00
Luke Wagner
006a3618d0
Bug 563120 - test for failure earlier in js_TestXMLEquality (r=waldo)
2010-05-01 12:43:43 -07:00
Luke Wagner
309fb820c6
Bug 558270 - unroll Duff proper (r=waldo)
2010-04-30 18:48:55 -07:00
Robert Sayre
2420e05a4d
Merge mozilla-central to tracemonkey
2010-04-28 11:11:48 -04:00
Igor Bukanov
fd7877710b
bug 561539 - renaming AutoSaveRestoreWealRoots into AutoPreserveWeakRoots. r=brendan
2010-04-28 14:34:02 +02:00
Ginn Chen
1ffaf7e1a0
Bug 562001 nanojit failed to compile on Solaris x86_64 r=gal
2010-04-28 17:36:04 +08:00
Gary Kwong
92900e0049
Bug 369696 - fix bug number in tests, r=bclary.
2010-04-28 00:00:08 -07:00
Brendan Eich
58024b9de2
Resolve sharpSlots vs. var-in-with grudge match (561011, r=mrbkap).
2010-04-27 21:35:28 -07:00
Brendan Eich
da0855921b
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
8f2ea46da7
Back out my last commit due to orange.
2010-04-27 20:22:57 -07:00
Nicholas Nethercote
70488c788b
Update nanojit-import-rev stamp.
2010-04-27 19:46:18 -07:00
Nicholas Nethercote
3b86611069
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
842b6c912b
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
cac58870b8
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
764d88c18d
Fixed clamping bug in typed arrays (bug 561813, r=vlad).
2010-04-27 19:14:08 -07:00
Nicholas Nethercote
9281bf99d1
Update nanojit-import-rev stamp.
2010-04-27 16:33:36 -07:00
Nicholas Nethercote
42510923d1
Fix ARM bustage caused by bug 555255. r=me.
...
--HG--
extra : convert_revision : fd2a6c5b65a0f4fd4e09fa0366a626e97850f39b
2010-04-27 15:41:17 -07:00
Nicholas Nethercote
03c04769c0
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
3394d89548
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
583621bba8
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
5f8646753d
Follow-up to rev bed748189cd0 to fix a compiler warning. r=njn via IRC.
2010-04-27 17:43:20 -05:00
timeless
e191f26d48
Bug 560138 - mismatch use of new[] with delete in CData::Create. r=dwitte
2010-04-27 14:59:53 -07:00
Mike Moening
6531928c72
Bug 549532 - Allow custom memory allocator use in spidermonkey. Part 2. r=dvander
2010-04-27 14:17:11 -07:00
Jason Orendorff
4dd095ebe7
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
79a69bd910
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
7a6e1325ab
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
d7438ec267
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
ca917d7197
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
63f9c2e3d5
bug 553033 - replacing the background free list with a vector. r=jwalden
2010-04-27 15:46:24 +02:00
Jacob Bramley
1b4d13bc74
Optimize DoubleToECMAInt32 for ARM. [Bug 551837][r=vlad]
2010-04-27 08:31:36 +01:00
Jason Orendorff
fe3e820003
Fixed assert-botch with tracer and XML objects (bug 560101, r=waldo).
2010-04-26 22:35:49 -07:00
Nicholas Nethercote
ea19cd5226
Update nanojit-import-rev stamp.
2010-04-26 22:08:05 -07:00
Nicholas Nethercote
756a66a5ce
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
05c2de7b5b
Bug 561182 - nanojit: merge LInsHashSet into CseFilter. r=rreitmai.
...
--HG--
extra : convert_revision : 5a687f2ed6268d873a011f13da912ebb8bfb03e4
2010-04-26 21:59:32 -07:00
Edwin Smith
069062a9f7
Fixed whitespace drift.
...
--HG--
extra : convert_revision : e2770eef5208a99078207d999ba2d84346651db8
2010-04-26 10:53:32 -04:00
Rick Reitmaier
f4ea1cc587
fix PPC debug-only build breakage
...
--HG--
extra : convert_revision : 6b99983c6b88ce05809d05e4e2b24836a1c2724e
2010-04-23 10:49:32 -07:00
Rick Reitmaier
d61f88a164
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
e927108ae7
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
3633f63957
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
dac6f52234
Don't bother tracing some elem sets yet (bug 561939, r=gal).
2010-04-26 20:29:49 -07:00
Andreas Gal
3579b2b1fb
Merge.
2010-04-26 19:07:10 -07:00
Andreas Gal
492ea75049
Backed out changeset 35c25547a135 (bug 560358).
2010-04-26 19:06:51 -07:00
Nicholas Nethercote
1e5fc26c40
Bug 560774 - encapsulate array-related dslots accesses. r=brendan.
2010-04-26 18:33:36 -07:00
Dan Witte
fdcf03a939
Backing out due to bustage.
2010-04-26 15:16:05 -07:00
Mike Moening
b37862b231
Bug 549532 - Allow custom memory allocator use in spidermonkey. Part 2. r=dvander
2010-04-26 14:15:18 -07:00
Jesse Ruderman
b4e32e7695
Bug 561672 - JS_Assert should fflush(stderr). r=shaver
2010-04-26 13:50:56 -07:00
Dan Witte
774f39c786
Bug 561619 - JS CTypes has a build dependency bug. r=sayrer
2010-04-26 13:26:53 -07:00
Luke Wagner
ef023c4ec7
Bug 560798 - propagate errors from deep-aborted natives (r=gal)
2010-04-26 09:30:06 -07:00
Boris Zbarsky
bf168b819d
Bug 556830 followup to fix debug bustage
2010-04-26 11:15:33 -04:00
Boris Zbarsky
f66b8a1342
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
d319faf7ba
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
691ed684d6
Bug 560017 Failed build js/src/jsgcchunk.cpp on Solaris r=jimb
2010-04-26 14:17:29 +08:00
Andreas Gal
92692442a2
optimize JSON stringify. bug 561592. r=dvander
2010-04-25 08:51:05 -04:00
Igor Bukanov
45a0a3043e
bug 560471 - followup to fix restoration of weak roots
2010-04-24 20:35:50 +02:00
Robert Sayre
27452b9484
Bug 560650 - TM: json code should use JS_Enumerate. r=gal
2010-04-24 14:18:10 -04:00
Robert Sayre
0f0d2ffdf7
Merge mozilla-central to tracemonkey.
2010-04-24 12:56:26 -04:00
Robert Sayre
28b49c1237
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
784972fd0a
Fix busted test from Bug 558830 - Trace script getters.
2010-04-24 11:55:10 -04:00
Andreas Gal
3b9cb33abc
Merge.
2010-04-23 20:49:28 -07:00
Andreas Gal
df7122d975
backing out clean up bug 560167 due to massive conflicts with the iterator patch
2010-04-23 20:49:06 -07:00
Igor Bukanov
d14ffdc7bb
bug 560471 - remove GC_LAST_DITCH and GC_KEEP_ATOMS. r=jorendorff
2010-04-24 00:15:42 +02:00
Jason Orendorff
d51bc30112
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
374c216eaf
Merge.
2010-04-23 13:20:23 -05:00
Chris Leary
a45026d2f5
Bug 558971 - Parser arena allocation overhead is too high. r=sayrer/shaver
2010-04-23 08:40:57 -04:00
Robert Sayre
9d1f00ac50
Merge
2010-04-23 08:31:07 -04:00
Robert Sayre
3b5eb1cf6b
Backed out changeset 1af19eedbde2 -- Fix sharpSlots vs. with grudge-match (561011, r=mrbkap).
2010-04-23 08:30:35 -04:00
Igor Bukanov
8a04b0f372
bug 559141 - replacing GC chunk doubly linked list with js::vector. r=gal
2010-04-23 08:58:44 +02:00
Brian Crowder
cdec52dab6
Bug 560769 - fixing badness accessing /proc/self/auxv under qemu, r=vlad, a=dholbert
2010-04-23 12:58:38 -07:00
Brendan Eich
86d3fb47ad
Fix sharpSlots vs. with grudge-match (561011, r=mrbkap).
2010-04-22 19:03:45 -07:00
Brendan Eich
298a4cad15
Tweak to align comment.
2010-04-22 17:45:49 -07:00
Nicholas Nethercote
ae33f2eadd
merge
2010-04-22 16:38:46 -07:00
Nicholas Nethercote
a46ca032d4
Bug 560167 - encapsulate XML-related JSSLOT_* values within JSObject. r=brendan.
2010-04-22 16:37:41 -07:00
David Mandelin
966e6ad195
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
83733065a4
Oops, previous changeset 350ed77bf399 to fix bug 463360 was a patch by Rasmus Jensen.
2010-04-22 15:59:09 -07:00
Jeff Walden
099b68ff0e
Bug 463360 - Uneval then eval E4X with { gives error. r=jwalden
2010-04-22 15:15:55 -07:00
Jason Orendorff
6b63be3117
Bug 558830 - Trace script getters. r=brendan.
...
--HG--
extra : rebase_source : 240b5a7248165aefdc9527abc94902afe4b510e0
2010-04-22 17:10:38 -05:00
Jason Orendorff
a0222dfbf2
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
ab155f0037
Renamed InterpState to TracerState (bug 560988, r=luke).
2010-04-22 11:54:11 -07:00
Jason Orendorff
bb10846365
Merge.
2010-04-22 09:22:20 -05:00
Igor Bukanov
e2ca45751b
bug 507904 - removal of bogus assert in the watchpoint implementation. r=brendan
2010-04-22 15:23:57 +02:00
Jason Orendorff
b09c08d4fc
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
9f2ca7c221
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
e3724fb9c0
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
ac7bf3b598
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
e6c90916d4
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
9dbcfca307
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
d7cc7de1f9
Don't save static RegExp state across lambda replace calls (560358, r=brendan).
2010-04-21 22:39:05 -07:00
Nicholas Nethercote
9fdb34cc4b
Bug 560160 - nanojit: rename LOpcode-related names (TM-specific part). r=gal.
2010-04-21 21:42:19 -07:00
Nicholas Nethercote
844edf5051
Update nanojit-import-rev stamp.
2010-04-21 21:34:39 -07:00
Nicholas Nethercote
0ca74ddded
Bug 560160 - nanojit: rename LOpcode-related names. r=edwsmith.
...
--HG--
extra : convert_revision : 234af92683dad306d03911975b0e9afc57936cf5
2010-04-21 19:34:46 -07:00
Nicholas Nethercote
b81fd327dc
Update nanojit-import-rev stamp.
2010-04-21 18:29:59 -07:00
Nicholas Nethercote
42b15a4cbf
Avoid compiler warnings. r=me.
...
--HG--
extra : convert_revision : a33a817354bebed12877a0e6ab4c42729ec3c8c7
2010-04-21 18:28:35 -07:00
Nicholas Nethercote
df3508698d
Update nanojit-import-rev stamp.
2010-04-21 18:27:26 -07:00
Nicholas Nethercote
6f79c542f7
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
c25f6733ba
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
2beee9dbfb
Bug 557605. Quickstub some XHR things. r=peterv
2010-04-23 13:37:02 -04:00
Robert O'Callahan
75dc672dff
Backed out changeset 7432d20f5b86
2010-04-23 16:34:06 +12:00
Mounir Lamouri
fba2c4e7f0
Bug 346485. Implement HTML5 <output> element. r=smaug,hsivonen,mrbkap,sr=jst
2010-04-23 14:43:23 +12:00
Wesley W. Garland
d7f9e41759
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
4754b03126
Fix vprof bustage (bug 560683 r=edwsmith)
...
--HG--
extra : convert_revision : ea5ee8ca471bfc5b183a42d6b60e778067697c6e
2010-04-21 11:41:05 -04:00
Chris Dearman
48ef0e6d48
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
e3c19557be
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
28d55d50d4
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
dba392140f
Bug 559719 - nanojit: tweak LIns::lastWord. r=edwsmith.
...
--HG--
extra : convert_revision : 3f81d8a5f0515f891eac0c8821370d4309787483
2010-04-20 17:51:50 -07:00
Jeff Walden
854a499a28
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
a2978a2dfe
Merge backout.
2010-04-21 16:30:39 -07:00
David Anderson
e87d0a0586
Backed out changeset 4a28bd424400 (tinderbox red).
2010-04-21 16:30:06 -07:00
Mike Moenig
c846c95336
Support custom allocators (bug 549532 relanding, r=dvander).
2010-04-21 13:59:33 -07:00
David Anderson
6998008b3d
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
e0c8df3e9e
Bug 558531: fix typo in JS_ResolveStandardClass, r=waldo
2010-04-21 11:37:18 -07:00
Robert Sayre
ccea2938e0
Merge tracemonkey to mozilla-central.
2010-04-21 08:34:13 -04:00
David Anderson
f4f019b83e
Fixed tracing some arguments usage on trace (bug 558618, r=gal).
2010-04-21 01:10:23 -07:00
David Anderson
e86821540c
Modifying upvars on trace (bug 557946, r=gal).
2010-04-20 22:42:00 -07:00
Luke Wagner
ed92fc7417
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
329cff4a11
Bug 558949 - Make ctypes functions FunctionType.ptr's. r=benjamn
2010-04-20 17:37:35 -07:00
Nicholas Nethercote
0a1bd85dc4
Update nanojit-import-rev stamp.
2010-04-20 16:11:58 -07:00
Edwin Smith
560294a5e2
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
a0649c37c8
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