Commit Graph

11510 Commits

Author SHA1 Message Date
Nicholas Nethercote
f914345ea4 Bug 600127 - nanojit: do implicit constant propagation after guards (TM-specific part). r=gal. 2010-09-28 21:58:17 -07:00
Nicholas Nethercote
bc0fec7e4a Update nanojit-import-rev stamp. 2010-09-28 21:35:49 -07:00
Nicholas Nethercote
f2133a680f Bug 600127 - nanojit: do implicit constant propagation after guards. r=edwsmith.
--HG--
extra : convert_revision : 2e21c25656ee7367520468cf37ccb23d989ee7f7
2010-09-28 21:07:43 -07:00
Nicholas Nethercote
e8626d0e45 Return a non-zero exit code from testlirc.sh when a test fails so that failures show up orange on tinderbox. r=me.
--HG--
extra : convert_revision : 055c46c2e4f7d6402c3ed91891b8851b4df2aafc
2010-09-28 16:36:19 -07:00
David Anderson
2804cac937 Fix closed-name analysis in with-statements (bug 593556, r=brendan).
--HG--
extra : rebase_source : 3ca35ee12087fe262ec147d571900fb94e809979
2010-09-28 21:09:21 -07:00
Johnny Stenback
e9ec6c1765 Fixing bug 599761. Use the right compartment in jsd. r=gal. 2010-09-28 19:29:29 -07:00
David Mandelin
f43643b503 Bug 599400: handle recompiling top-level script for debugging, r=dvander
--HG--
extra : rebase_source : c74cc4bb3291e9c35c28066378cb1ece852869d2
2010-09-28 18:39:45 -07:00
Nicholas Nethercote
4793afb76c Bug 600153 - TM: fix storeAccSet for functionProbe(). r=sphink. 2010-09-28 18:00:07 -07:00
Sean Stangl
870953b461 Fix rsh, storeTo() allocReg() usage. b=596817, r=dvander. 2010-09-28 20:06:12 -04:00
David Anderson
b0758d297b Fix addprop IC proto guards not being repatched (bug 599299, r=bhackett). 2010-09-28 09:53:16 -07:00
Ginn Chen
c23cb1789b 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
5b67866f99 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
1b78aa968a 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
a91823b958 Update nanojit-import-rev stamp. 2010-09-27 20:58:59 -07:00
Nicholas Nethercote
7d32b0e525 Bug 598486 - nanojit: clarify semantics of comparisons. r=edwsmith.
--HG--
extra : convert_revision : 2c8245cb9048cc79ca561ec7a7b014249788247c
2010-09-26 22:36:16 -07:00
Nicholas Nethercote
a9ecc87093 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
52ea68fee4 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
64beede2e2 Add more calling-convention tests. [Bug 596545] [r=nnethercote]
--HG--
extra : convert_revision : 8ac6775d9ccfbff39975cc45c060ce4555f5b221
2010-09-23 10:31:16 +01:00
David Anderson
d8da9157cd Fixed bogus assert (bug 597871 fallout, a=orange). 2010-09-27 20:21:11 -07:00
Andreas Gal
427173403d Fix extra ';' warning (fallout bug 600015). 2010-09-27 18:37:37 -07:00
Andreas Gal
5f2192e25d Follow-up for bug 600015. Incorrect use of SwitchToCompartment. 2010-09-27 18:31:32 -07:00
David Anderson
6e64d4a13b 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
2f1f144989 Bug 599254 - Avoid an unnecessary switch in the JSON parser. r=sayrer. 2010-09-27 17:20:43 -07:00
Andreas Gal
36bbc0f2d9 Compilation fix for bug 600015. 2010-09-27 16:27:30 -07:00
Andreas Gal
1649ef6d21 Always create a dummy stack frame when crossing compartment boundaries (bug 600015, r=mrbkap). 2010-09-27 15:55:15 -07:00
Gregor Wagner
02421e6aa4 Bug 599801 - TM: Clean up Compartment (de)construction. r=sayrer 2010-09-27 15:35:10 -07:00
Luke Wagner
257e802dc5 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
97f9c90ef3 bug 586161 - making sure that all compartments are purged. r=anygregor 2010-09-27 14:29:01 +02:00
Luke Wagner
7a7f4e847c Bug 599446 - Weaken bug-finding assert in CallJSNativeConstructor (r=brendan,a=sayrer) 2010-09-24 12:54:13 -07:00
David Anderson
afd2405222 Backed out changeset 63066ec9dd8d (a=orange). 2010-09-27 11:46:03 -07:00
David Anderson
d5f3d53b7f 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
2624f5cf36 Merge mozilla-central to tracemonkey. 2010-09-26 12:49:11 -04:00
Robert Sayre
ceb91cdc61 Remove useless comment. 2010-09-25 23:05:36 -04:00
Andreas Gal
78d0ee549c Optimize XML namespace handling. Bug 599166. r=brendan. a=sayrer 2010-09-24 15:23:54 -04: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
David Anderson
e6ef191c40 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
b8792e95c1 bug 597736 - fixing TreeFragment leak. r=gal 2010-09-21 14:58:19 +02:00
Brian Hackett
944cb69b95 Fix assert when comparing identical values, bug 599488. r=dvander 2010-09-25 10:47:19 -07:00
Igor Bukanov
bd21beac91 bug 599481 - static string tables should be constant. r=alangpierce 2010-09-25 00:36:58 +02:00
Brendan Eich
ac27a6ce80 Fix patch merge problem that restored bad old script line for 597945-1.js. 2010-09-25 17:16:35 +02:00
Igor Bukanov
b0d9b068e1 bug 558861 - followup to add missing explicit template instantiations for assureThingIsAligned 2010-09-25 11:42:25 +02:00
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