Commit Graph

11470 Commits

Author SHA1 Message Date
Brendan Eich
4244210552 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
65a42553b6 Bug 597814 - Optimize js_DoubleToECMAInt32 for MSVC and gcc x86_64. r=dvander 2010-09-24 20:19:43 -04:00
Gregor Wagner
3bb62ab91b Bug 558861 - Fix assertion on startup. r=gal 2010-09-24 15:07:02 -07:00
Blake Kaplan
5b4e5f75d1 No bug. Fix some nits and warning fixes. 2010-09-24 15:05:46 -07:00
Sean Stangl
0609c2fcec Templatize MethodJIT Assemblers. b=598835, r=dvander. 2010-09-24 17:12:08 -04:00
Shu-yu Guo
06c48a13a1 Small narcissus formatting fixes. (rs=brendan) 2010-09-24 14:01:52 -07:00
Gregor Wagner
fdb731becb Bug 558861 - Compartmental GC (r=gal) 2010-09-24 10:54:39 -07:00
Robert Sayre
6bb82f6b8b Merge mozilla-central to tracemonkey. 2010-09-23 23:48:27 -04:00
David Anderson
8925f45747 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
70421a2fb5 Merge tracemonkey to mozilla-central. a=blockers. 2010-09-23 20:09:54 -04:00
Chris Leary
a9624ec341 Back out b70659aca040, burning XPCShell tests. (no_r=me) 2010-09-23 16:48:35 -07:00
Andreas Gal
bbf6e6f58d Backed out changeset 52c66b17843e (bug 592907). 2010-09-23 16:21:37 -07:00
Gregor Wagner
f52995be1c Bug 592907 - TM: set JSGC_MAX_BYTES to a sane value (r=igor) 2010-09-23 15:31:32 -07:00
Chris Leary
203741ee8e 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
1898233548 Bug 573569: One-pass SSA builder for Narcissus. (r=gal) 2010-09-23 13:19:05 -07:00
Brendan Eich
c27e88caa4 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
2ae5db2ff0 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
125d4d111e Update nanojit-import-rev stamp. 2010-09-22 19:26:04 -07:00
William Maddox
9ab7c2a331 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
633fc2cc7c Fix incorrect jsval_layout on x86 opt builds. no_r=fire. 2010-09-22 21:44:23 -04:00
Sean Stangl
1e56b6d6de Faster x64 Value storing; b=598491, r=dvander. 2010-09-22 21:03:22 -04:00
David Anderson
126a9558ea Merge backout. 2010-09-22 17:41:14 -07:00
David Anderson
2e9af3ac56 Backed out changeset 1af8f0c895bc from PGO bustage 2010-09-22 17:40:31 -07:00
Brendan Eich
72dd2a80e0 Warning fix from Luke (no bug, r=me). 2010-09-22 18:51:50 -04:00
David Anderson
9177721d82 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
2055a5d505 Fix FrameState::forgetType with eval (bug 598696, r=sstangl). 2010-09-22 11:15:34 -07:00
Chris Leary
a042240626 Bug 593663: emulate flat regexps in three-argument String.prototype.replace. (r=lw) 2010-09-22 10:27:38 -07:00
David Anderson
8421061eb5 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
f2c3780ce4 Update nanojit-import-rev stamp. 2010-09-21 16:06:08 -07:00
Nicholas Nethercote
17899a7415 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
842155af2a Whitespace cleanup, nanojit subdir only (r=me)
--HG--
extra : convert_revision : a623aab958efda06d12eca456304fc674c92a589
2010-09-21 15:20:20 -07:00
William Maddox
7a787678c4 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
53d6d47f23 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
6a33041b03 Bug 583143 - Fix bustage with MOZ_TRACEVIS and other NPOTB code (r=lw) 2010-09-20 12:43:52 -07:00
Brian Hackett
8e78085545 Fix strict-aliasing warning on interruptFlags/interruptCounter, bug 589193. r=igor 2010-09-21 14:29:11 -07:00
David Anderson
52761821cf Fix global variables overwriting resolved properties (bug 595917, r=brendan). 2010-09-21 12:38:30 -07:00
Jim Blandy
9b88f70086 Bug 492845: Implement Object.isSealed, Object.seal. a=jwalden, r=brendan 2010-09-21 11:35:30 -07:00
Jim Blandy
accd8966fa 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
96d7c2007b 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
ad83424ea2 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
dfd669fcf1 bug 597906 - js shell: functions to observe object finalization. r=jorendorff 2010-09-20 15:55:58 +02:00
Ginn Chen
c082ddcc6b Bug 597976 Make it able to build TraceJIT w/o MethodJIT r=dvander 2010-09-21 16:12:20 +08:00
Ginn Chen
a57ebc8842 Bug 597828 Implement setSSECheckState for Solaris Studio compiler r=dvander 2010-09-21 15:56:56 +08:00
Ginn Chen
1adbef9029 Bug 597831 Update TrampolineSUNW*.s r=dvander 2010-09-21 15:56:28 +08:00
Luke Wagner
656da172a8 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
adfba421c2 Fix slot leak that leads to allocSlot assert botch (597945, r=jorendorff). 2010-09-21 00:04:25 -07:00
Nicholas Nethercote
5903259553 merge 2010-09-20 22:16:07 -07:00
Robert Sayre
7cdfad2571 Merge backout. 2010-09-21 00:44:35 -04:00
Robert Sayre
031267d073 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
c64731897d Bug 575529 - TM: use interval analysis to remove more overflow checks (TM-specific part). r=gal. 2010-09-20 21:37:53 -07:00