Ginn Chen
2a40285e01
Bug 594718 lock_sparc*.il should not be used on x86 machine r=ted.mielczarek
2010-09-28 18:03:51 +08:00
Ginn Chen
29f89daeae
Bug 584305 Define no extern "C" version ObjectOps to fix build issue with Solaris Studio r=brendan
2010-09-28 17:59:25 +08:00
Brendan Eich
afc0072615
Style policing: else-after-break, bracing, un-nest assignment (initialize decl instead), etc. (r=gal).
2010-09-28 03:16:59 -04:00
Nicholas Nethercote
c40a02cad2
Update nanojit-import-rev stamp.
2010-09-27 20:58:59 -07:00
Nicholas Nethercote
e4c13b6db4
Bug 598486 - nanojit: clarify semantics of comparisons. r=edwsmith.
...
--HG--
extra : convert_revision : 2c8245cb9048cc79ca561ec7a7b014249788247c
2010-09-26 22:36:16 -07:00
Nicholas Nethercote
da02a62a20
599245 - nanojit: clean up formatting in Nativei386.cpp. r=stejohns.
...
--HG--
extra : convert_revision : f7b8497b9f0ac1d01d0a86ba7e28c812e6ea8140
2010-09-26 16:47:10 -07:00
Edwin Smith
d72ae53e8d
Bug 572798 - add LIR_callv (r=nnethercote)
...
Adds LIR_callv for calls to helper functions that return void.
Added a ValidateWriter check that LIR_callv to be paired with ARGTYPE_V,
plus checks for the other obvious pairings, plus a check that callv must
not call a _pure=1 function.
getCallOpcode() returns LIR_callv for ARGTYPE_V, as expected. This means that
some calls will return LTy_V from LIns::retType(), as expected, but unlike
before. This in turn can cause a ValidateWriter error if an instruction uses
the result of a void call. (after all, that's the point).
Each backend was modified to not assign a register or save the result of a void
call.
--HG--
extra : convert_revision : f1076b3fa633922ce95c24ac622934be4815376d
2010-09-23 15:08:15 -04:00
Jacob Bramley
c1aa22ef8c
Add more calling-convention tests. [Bug 596545] [r=nnethercote]
...
--HG--
extra : convert_revision : 8ac6775d9ccfbff39975cc45c060ce4555f5b221
2010-09-23 10:31:16 +01:00
David Anderson
33c426f610
Fixed bogus assert (bug 597871 fallout, a=orange).
2010-09-27 20:21:11 -07:00
Andreas Gal
eff6204cfc
Fix extra ';' warning (fallout bug 600015).
2010-09-27 18:37:37 -07:00
Andreas Gal
e4092b1afd
Follow-up for bug 600015. Incorrect use of SwitchToCompartment.
2010-09-27 18:31:32 -07:00
David Anderson
6b192eb442
Fix exception handling inside trace and method JIT integration (bug 597871, r=jorendorff, a=blocking).
2010-09-27 09:02:08 -07:00
Nicholas Nethercote
9ba38f0368
Bug 599254 - Avoid an unnecessary switch in the JSON parser. r=sayrer.
2010-09-27 17:20:43 -07:00
Andreas Gal
216b4735dc
Compilation fix for bug 600015.
2010-09-27 16:27:30 -07:00
Andreas Gal
341d8716d6
Always create a dummy stack frame when crossing compartment boundaries (bug 600015, r=mrbkap).
2010-09-27 15:55:15 -07:00
Gregor Wagner
d319663de2
Bug 599801 - TM: Clean up Compartment (de)construction. r=sayrer
2010-09-27 15:35:10 -07:00
Luke Wagner
100ef6f2d2
Bug 599446, part 2 - Add missing case for non-function callees to assert (a=orange)
...
--HG--
extra : rebase_source : a5eba024dae5c431af7817aa92c37744bef08db7
2010-09-27 13:09:48 -07:00
Igor Bukanov
3de1af4a18
bug 586161 - making sure that all compartments are purged. r=anygregor
2010-09-27 14:29:01 +02:00
Luke Wagner
bdfd8fa828
Bug 599446 - Weaken bug-finding assert in CallJSNativeConstructor (r=brendan,a=sayrer)
2010-09-24 12:54:13 -07:00
David Anderson
f333a07c38
Backed out changeset 63066ec9dd8d (a=orange).
2010-09-27 11:46:03 -07:00
David Anderson
b96c87eeda
Fix exception handling inside trace and method JIT integration (bug 597871, r=jorendorff, a=sayrer).
2010-09-27 09:02:08 -07:00
Robert Sayre
b95fd2bd6c
Merge mozilla-central to tracemonkey.
2010-09-26 12:49:11 -04:00
Robert Sayre
0fb0a0fa5a
Remove useless comment.
2010-09-25 23:05:36 -04:00
Andreas Gal
e71d6dc08d
Optimize XML namespace handling. Bug 599166. r=brendan. a=sayrer
2010-09-24 15:23:54 -04:00
Robert Sayre
ce8711981c
Merge mozilla-central to tracemonkey.
2010-09-23 23:48:27 -04:00
David Anderson
b3baed084f
Do not inline js::mjit::TryCompile (bug 596460, r=sstangl).
...
--HG--
extra : rebase_source : 06796a4e840e72a14d2648ec2ed99427edd16c05
2010-09-23 17:41:21 -07:00
Robert Sayre
c292910521
Merge tracemonkey to mozilla-central. a=blockers.
2010-09-23 20:09:54 -04:00
Chris Leary
56196fb6ff
Back out b70659aca040, burning XPCShell tests. (no_r=me)
2010-09-23 16:48:35 -07:00
Andreas Gal
ae80e2268b
Backed out changeset 52c66b17843e (bug 592907).
2010-09-23 16:21:37 -07:00
Gregor Wagner
d1df5e15ea
Bug 592907 - TM: set JSGC_MAX_BYTES to a sane value (r=igor)
2010-09-23 15:31:32 -07:00
Chris Leary
379f9466a6
Bug 596580: fix versioning on mozJSSubScriptLoader. (r=sayrer,brendan)
...
--HG--
extra : rebase_source : fb2fe804a3f94bc9d6947605ce0e0c19a29b2227
2010-09-23 14:48:58 -07:00
Shu-yu Guo
f0f46d8ec8
Bug 573569: One-pass SSA builder for Narcissus. (r=gal)
2010-09-23 13:19:05 -07:00
David Anderson
986c2fe3e0
Optimize FrameState for large linear scripts (bug 591836, r=dmandelin).
...
* * *
Remove FrameState::base (bug 591836 part 1, r=dmandelin).
* * *
New register pinning invariants (bug 591836 part 2, r=dmandelin).
* * *
Remove FrameState::tosFe() (bug 591836 part 3, r=dmandelin).
* * *
New copy order invariant (bug 591836 part 4, r=dmandelin).
* * *
Optimize immutable frame syncing (bug 591836 part 5, r=dmandelin).
* * *
Optimize frame merging (bug 591836 part 6, r=dmandelin).
* * *
Optimize copying frame entries (bug 591836 part 7, r=dmandelin).
* * *
Optimize mutable frame syncing (bug 591836 part 8, r=dmandelin).
* * *
Optimize syncing in try blocks (bug 591836 part 9, r=dmandelin).
2010-09-21 18:34:42 -07:00
Igor Bukanov
d5f7334631
bug 597736 - fixing TreeFragment leak. r=gal
2010-09-21 14:58:19 +02:00
Brian Hackett
c13c1d089b
Fix assert when comparing identical values, bug 599488. r=dvander
2010-09-25 10:47:19 -07:00
Igor Bukanov
203220ccaf
bug 599481 - static string tables should be constant. r=alangpierce
2010-09-25 00:36:58 +02:00
Brendan Eich
8cf6885a30
Fix patch merge problem that restored bad old script line for 597945-1.js.
2010-09-25 17:16:35 +02:00
Igor Bukanov
54b9b68668
bug 558861 - followup to add missing explicit template instantiations for assureThingIsAligned
2010-09-25 11:42:25 +02:00
Brendan Eich
836aec0df5
Object.defineProperty should avoid JS API inside engine, plus a few other cleanups (598176, r=jorendorff).
2010-09-16 23:07:02 -07:00
Makoto Kato
c7afa7d50c
Bug 597814 - Optimize js_DoubleToECMAInt32 for MSVC and gcc x86_64. r=dvander
2010-09-24 20:19:43 -04:00
Gregor Wagner
323608ac9e
Bug 558861 - Fix assertion on startup. r=gal
2010-09-24 15:07:02 -07:00
Blake Kaplan
b6a4f34f1c
No bug. Fix some nits and warning fixes.
2010-09-24 15:05:46 -07:00
Sean Stangl
699e308e54
Templatize MethodJIT Assemblers. b=598835, r=dvander.
2010-09-24 17:12:08 -04:00
Shu-yu Guo
4ba4d1458c
Small narcissus formatting fixes. (rs=brendan)
2010-09-24 14:01:52 -07:00
Gregor Wagner
006eef985c
Bug 558861 - Compartmental GC (r=gal)
2010-09-24 10:54:39 -07:00
Brendan Eich
d66fd134da
Fix shape vs. slot management under putProperty, plus related layering and error reporting fixes (596805, r=jorendorff).
2010-09-16 11:56:54 -07:00
Robert Sayre
6cd6f4d73e
Fix test_canvas.html mochitest. Using preventExtensions on a huge typed array is a bad idea right now. Bug 598969. r=brendan
2010-09-23 13:56:11 -04:00
Nicholas Nethercote
566cf43ea4
Update nanojit-import-rev stamp.
2010-09-22 19:26:04 -07:00
William Maddox
9edae8f09c
Bug 542905 - cse chains should be cleared more selectively in case of labels. r=nnethercote.
...
--HG--
extra : convert_revision : 3cdd8540979dda01630e0676b273250311e26284
2010-09-22 19:04:48 -07:00
Sean Stangl
e918cb9ba6
Fix incorrect jsval_layout on x86 opt builds. no_r=fire.
2010-09-22 21:44:23 -04:00
Sean Stangl
8b447cd53f
Faster x64 Value storing; b=598491, r=dvander.
2010-09-22 21:03:22 -04:00
David Anderson
5a5c21f1b2
Merge backout.
2010-09-22 17:41:14 -07:00
David Anderson
9b97ea3fb7
Backed out changeset 1af8f0c895bc from PGO bustage
2010-09-22 17:40:31 -07:00
Brendan Eich
7b64fca418
Warning fix from Luke (no bug, r=me).
2010-09-22 18:51:50 -04:00
David Anderson
11ad4b2679
Fix method-JIT debug mode bugs and add more testing capability (bug 598444, r=sstangl).
2010-09-22 14:29:48 -07:00
David Anderson
0390be7dbb
Fix FrameState::forgetType with eval (bug 598696, r=sstangl).
2010-09-22 11:15:34 -07:00
Chris Leary
b4f07e8236
Bug 593663: emulate flat regexps in three-argument String.prototype.replace. (r=lw)
2010-09-22 10:27:38 -07:00
David Anderson
2e4ff06ce2
Optimize FrameState for large linear scripts (bug 591836, r=dmandelin).
...
* * *
Remove FrameState::base (bug 591836 part 1, r=dmandelin).
* * *
New register pinning invariants (bug 591836 part 2, r=dmandelin).
* * *
Remove FrameState::tosFe() (bug 591836 part 3, r=dmandelin).
* * *
New copy order invariant (bug 591836 part 4, r=dmandelin).
* * *
Optimize immutable frame syncing (bug 591836 part 5, r=dmandelin).
* * *
Optimize frame merging (bug 591836 part 6, r=dmandelin).
* * *
Optimize copying frame entries (bug 591836 part 7, r=dmandelin).
* * *
Optimize mutable frame syncing (bug 591836 part 8, r=dmandelin).
* * *
Optimize syncing in try blocks (bug 591836 part 9, r=dmandelin).
2010-09-21 18:34:42 -07:00
Nicholas Nethercote
31e63ea8d9
Update nanojit-import-rev stamp.
2010-09-21 16:06:08 -07:00
Nicholas Nethercote
c7d3ed8186
Fix assertion failure caused by the patches for bug 575529. r=me.
...
--HG--
extra : convert_revision : 59df8fdb2c08cca47a47b2a5210022cea0180fd3
2010-09-21 15:59:57 -07:00
William Maddox
ba587cc0e1
Whitespace cleanup, nanojit subdir only (r=me)
...
--HG--
extra : convert_revision : a623aab958efda06d12eca456304fc674c92a589
2010-09-21 15:20:20 -07:00
William Maddox
ec5c4e1d33
Bug 598151 - Account for unreachable code following LIR_j when tracking x87 stack depth
...
--HG--
extra : convert_revision : 4becc719d20e27c65f64ed872ab3cb7bd08c8c68
2010-09-21 14:35:11 -07:00
Tommy Reilly
08cff4d8a7
Fix valgrind errors from CPP define already defined (r=edwsmith)
...
--HG--
extra : convert_revision : aaa4e162e47e7b05cf6c04a51975f6a4042c604c
2010-09-17 14:35:49 -04:00
Steve Fink
c04422ffce
Bug 583143 - Fix bustage with MOZ_TRACEVIS and other NPOTB code (r=lw)
2010-09-20 12:43:52 -07:00
Brian Hackett
05a4ab83fe
Fix strict-aliasing warning on interruptFlags/interruptCounter, bug 589193. r=igor
2010-09-21 14:29:11 -07:00
David Anderson
2f1f1774fc
Fix global variables overwriting resolved properties (bug 595917, r=brendan).
2010-09-21 12:38:30 -07:00
Jim Blandy
31a896d1e0
Bug 492845: Implement Object.isSealed, Object.seal. a=jwalden, r=brendan
2010-09-21 11:35:30 -07:00
Jim Blandy
2a789f4782
Bug 492844: Implement Object.freeze, Object.isFrozen r=brendan,jorendorff
...
This also moves ecma_5/strict/shell.js's deep_equal to ecma_5/shell.js, and
renames it deepEqual, for consistency with the rest of the world. It also improves deepEqual's handling of -0, 0, and NaN.
2010-09-21 11:35:29 -07:00
Jim Blandy
1623508e26
Bug 492849 - Implement Object.preventExtensions, Object.isExtensible. a=waldo,jimb, r=brendan
...
--HG--
rename : js/src/jsapi-tests/testSeal.cpp => js/src/jsapi-tests/testDeepFreeze.cpp
2010-09-21 11:35:29 -07:00
Jim Blandy
ff464b7c97
Bug 594574: Change GetPropertyNames to take its out-parameter by address, not by non-const reference. r=brendan
2010-09-21 11:35:29 -07:00
Igor Bukanov
0c4048dcff
bug 597906 - js shell: functions to observe object finalization. r=jorendorff
2010-09-20 15:55:58 +02:00
Ginn Chen
09041848f2
Bug 597976 Make it able to build TraceJIT w/o MethodJIT r=dvander
2010-09-21 16:12:20 +08:00
Ginn Chen
62c2f3b32a
Bug 597828 Implement setSSECheckState for Solaris Studio compiler r=dvander
2010-09-21 15:56:56 +08:00
Ginn Chen
c889970f1d
Bug 597831 Update TrampolineSUNW*.s r=dvander
2010-09-21 15:56:28 +08:00
Luke Wagner
ea4f4dcfa6
Bug 595668 - create XPCCallContext in XPC_NW_Construct (r=mrbkap)
...
--HG--
extra : rebase_source : a9fb4a39b56af90045f6055d31354c61cbc97a0d
2010-09-20 18:23:04 -07:00
Brendan Eich
2af70df454
Fix slot leak that leads to allocSlot assert botch (597945, r=jorendorff).
2010-09-21 00:04:25 -07:00
Nicholas Nethercote
12f1211ab8
merge
2010-09-20 22:16:07 -07:00
Robert Sayre
5492b75984
Merge backout.
2010-09-21 00:44:35 -04:00
Robert Sayre
357a5f86bc
Back out changeset d7d3c0af2877. Brendan Eich – Fix slot leak that leads to allocSlot assert botch (597945, r=jorendorff).
2010-09-21 00:44:17 -04:00
Nicholas Nethercote
89c05a6363
Bug 575529 - TM: use interval analysis to remove more overflow checks (TM-specific part). r=gal.
2010-09-20 21:37:53 -07:00
Nicholas Nethercote
3ea3ced4e9
Update nanojit-import-rev stamp.
2010-09-20 21:36:35 -07:00
Nicholas Nethercote
85d71ce646
Bug 575529 - TM: use interval analysis to remove more overflow checks. r=edwsmith,jseward.
...
--HG--
extra : convert_revision : 8f99b0ecb75811b021be0e91e20fd97c87c290ba
2010-09-20 20:33:29 -07:00
Nicholas Nethercote
cdfae01114
Update nanojit-import-rev stamp.
2010-09-20 17:35:11 -07:00
Brendan Eich
72348fc167
Fix slot leak that leads to allocSlot assert botch (597945, r=jorendorff).
2010-09-20 15:21:41 -07:00
Brian Hackett
956cd9f9a3
Add interruptCounter to JSRuntime for JM, bug 589193. r=igor,dvander
2010-09-20 16:21:49 -07:00
Brian Hackett
2e0c76a3ce
Backed out changeset 09ffb30caa47
2010-09-20 12:05:21 -07:00
Brian Hackett
03fb86d8a2
Make JSObject flexible length, bug 584917. r=brendan
2010-09-20 11:40:32 -07:00
Robert Sayre
60fc702aa4
Merge
2010-09-20 11:10:00 -04:00
Brendan Eich
8ba2166e91
Fix bogus assertion: "!shape->inDictionary()" (only if not shape->frozen(); 592217, r=jorendorff).
2010-09-20 08:01:06 -07:00
Jacob Bramley
702ddb14dc
Fix long-range offsets on ARM. [Bug 596923] [r=nnethercote]
...
--HG--
extra : convert_revision : 9b1829d9cfe6fa074f308cf84bd9fe4c43b7a46e
2010-09-20 07:58:53 +01:00
Brendan Eich
5f587ea9fe
Fix test for 597870 (CLOSED TREE).
2010-09-19 22:04:16 -07:00
Brendan Eich
dc9289096a
Fix decompiler LHS -> RHS special cases switch to cover JSOP_SETXMLNAME (597870, r=igor; CLOSED TREE).
2010-09-19 16:24:13 -07:00
Robert Sayre
69238bc33b
Merge mozilla-central to tracemonkey.
2010-09-19 15:59:10 -04:00
Igor Bukanov
52e7bc13b8
bug 597654 - PurgeScriptFragments must do its job even with jit disabled. r=gal
2010-09-18 11:44:22 +02:00
Makoto Kato
a0fd050d6d
Bug 597288 - alignment on call stack isn't 16byte on x86_64 CPU. r=dvander
2010-09-19 00:06:26 +09:00
Chris Leary
d0e1ff2c6e
Bug 596502: unbreak XML parsing on JS1.6 and onwards. (r=brendan)
2010-09-18 00:31:36 -07:00
Jacob Bramley
93aafd3ceb
Remove dependency on Bash 3 regex support and simplify test selection for soft-float platforms. [Bug 535709] [r=nnethercote]
...
--HG--
extra : convert_revision : 10432e19f751b78f39991b15e60686c7d78226bb
2010-09-16 16:27:45 +01:00
Brendan Eich
c2d459282e
Don't recycle class-reserved slots onto a dictionary table's freelist (595230, r=jorendorff).
2010-09-14 17:08:16 -07:00
David Anderson
23773215ec
Compile JSOP_HOLE, JSOP_CONDSWITCH (bug 597452, r=sstangl).
...
--HG--
extra : rebase_source : 7e4ee290322b071cd50e1bb21bf5722ac3d0c0d0
2010-09-17 11:35:01 -07:00
Sean Stangl
7741d2b1af
Use loadValueAsComponents() for faster loading on x64. b=587444, r=dvander.
2010-09-17 14:13:13 -04:00