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
David Anderson
862cc7db4c
Compile JSOP_IN (bug 594111, r=dmandelin).
2010-09-17 10:41:29 -07:00
Jason Orendorff
e59d7a4125
Back out changeset a8252fe3f211 due to turning everything orange.
2010-09-16 20:58:40 -07:00
Jason Orendorff
d602680591
Bug 580033 - JS_Save/RestoreFrameChain should update cx->compartment. r=mrbkap.
...
--HG--
extra : rebase_source : 717f7f4d4f3e6e96955cbb1ddb8ca9e1533914f7
2010-09-16 17:29:21 -07:00
David Anderson
c102245b8e
Fix instanceof with bound functions (bug 597167, r=brendan).
2010-09-16 19:31:11 -07:00
David Anderson
2b656fd125
Compile JSOP_DELNAME (bug 597137, r=dmandelin).
2010-09-16 17:26:32 -07:00
David Anderson
4d97ae7a36
Compile JSOP_DEFVAR (bug 594117, r=dmandelin).
2010-09-16 17:25:38 -07:00
David Mandelin
d3b6f206a9
Bug 596460: try making Interpret not inlined to avoid stack frame bloat in other functions, r=dvander
2010-09-16 15:20:56 -07:00