Commit Graph

16689 Commits

Author SHA1 Message Date
Ginn Chen
519a8f4fa1 Bug 689916 Fix yarr crashes on SPARC r=dmandelin 2011-10-25 12:50:03 +08:00
Brian Hackett
c905df3eb2 Always discard methodjit code on GC, remove JM+TM integration, bug 685358. r=dvander 2011-10-24 20:46:00 -07:00
Matt Brubeck
57042802ec Merge mozilla-central to mozilla-inbound 2011-10-24 20:24:51 -07:00
Jeff Walden
434b71dd18 Bug 696941 - Privatize Token::u::dval. r=cdleary 2011-10-24 19:24:06 -07:00
Jeff Walden
843a24f3c4 Bug 696941 - Make Token::u::reflags private and hidden behind accessors. r=cdleary 2011-10-24 19:22:27 -07:00
Terrence Cole
9f1003e871 Bug 690204 - Migrate jsarray.cpp to CallArgs; r=waldo
Except for array_splice and array_concat which have other
work outstanding.
2011-10-25 02:02:36 +01:00
Jesse Ruderman
4a98a7e828 Bug 675553 followup: remove tautologous assertions. r=ehsan 2011-10-24 16:21:09 -07:00
Brendan Eich
aacc0463c8 Make test for bug 695577 shell-only pending investigation. 2011-10-24 00:27:48 -07:00
Brendan Eich
e2844f3c0c Ban E4X in ES5 strict mode (bug 695577, r=luke). 2011-10-23 22:42:29 -07:00
Brian Hackett
fb59337639 Don't inline scripts which native and getter IC stubs have been generated for, bug 683804. r=dvander 2011-10-22 07:35:04 -07:00
Tom Schuster
997a7d9326 Small style fixes no bu r=lumpy 2011-10-22 16:30:28 +02:00
Brian Hackett
c8432d3b5b Get more precise known type tag for type sets containing any object, bug 685472. r=dvander 2011-10-22 07:20:56 -07:00
Marco Bonardo
a72c49ddb7 Backout cb50e96dbee0 (Bug 677079) for Win PGO mochitests failures. 2011-10-22 11:03:26 +02:00
Bill McCloskey
0d988f23d3 Bug 677079 - Remove jscntxt.h from INSTALLED_HEADERS (r=Waldo) 2011-10-20 10:14:24 -07:00
Jim Blandy
69c03b9c6e Bug 696261: Correct references to 'tempPool' in comments; it's now 'tempLifoAlloc'. r=cdleary 2011-10-21 16:53:30 -07:00
Luke Wagner
3725a389bf Bug 696108 - hoist EmitFor, EmitForIn, EmitNormalFor out of EmitTree (r=jorendorff)
--HG--
extra : rebase_source : bec844e4a62f0492c33d3447fb31ca460768c62a
2011-10-20 08:27:25 -07:00
Mitchell Field
61f3f4ae6d Bug 593768 - Remove --enable-cpp-exceptions configure option; r=ted 2011-10-21 18:56:25 +01:00
Marco Bonardo
7a65efe109 Merge mozilla-central to mozilla-inbound 2011-10-21 10:02:30 +02:00
Marco Bonardo
824c514d6a Merge last green changeset from mozilla-inbound to mozilla-central 2011-10-21 10:00:11 +02:00
Nicholas Nethercote
ab80fd9083 Bug 695756 - add missing files to 986f31890872. r=red. 2011-10-20 23:11:34 -07:00
Terrence Cole
0a7c9413fd Bug 695756 - Implement js::BooleanObject. r=nnethercote. 2011-10-20 22:47:30 -07:00
Terrence Cole
023ca05eed Bug 696211 - Align ChunkInfo by inserting padding in Chunk; r=billm
We get a 2% speedup on EarlyBoyer if ChunkInfo (hot all over the
GC allocator paths) is not split across a cache line.  An easy
and guaranteed effective way to do this is to just pad Chunk out
to the full 1MiB allocation.  This makes ChunkInfo abut the end
of the 1MiB allocation, rather than whereever the Arenas and
ChunkBitmap happen to end.  Since GC Chunks are aligned at 1MiB
address boundaries, this ensures that ChunkInfo is inside of a
cache line.
2011-10-20 17:42:39 -07:00
Nicholas Nethercote
0c4c3e74cb Back out 56ec5e954858 (from bug 685783) due to a Dromaeo regression. 2011-10-20 15:47:39 -07:00
Kyle Huey
0d874b65fa Bug 687361: Implement the new IndexedDB setVersion API. r=bent
--HG--
rename : dom/indexedDB/nsIIDBVersionChangeRequest.idl => dom/indexedDB/nsIIDBOpenDBRequest.idl
2011-10-20 12:10:56 -04:00
Jeff Muizelaar
e9a339bae2 Bug 695422. js: Return NULL instead of false. r=luke
Caught with clang

--HG--
extra : rebase_source : dbb9c4ffc8e38f30b467ee38d1923f0645ea8b2e
2011-10-18 15:20:02 -04:00
Igor Bukanov
73466befa4 bug 684529 - remove script object. r=jorendorff 2011-09-22 12:08:55 +02:00
Marco Castelluccio
7daeb82b15 Bug 642957 - Remove obsolete x|0 and x << 0 optimization. r=jandem 2011-10-24 19:11:15 +02:00
Mike Hommey
a8efd96765 Fixup for bug 694499 for pa-risc. r=ted 2011-10-24 18:13:53 +02:00
Jason Orendorff
a4fcc61f73 Report an error when trying to watch an E4X property with a qualified name, rather than set a watchpoint that will not hit reliably. Bug 691746, r=jimb. 2011-10-24 10:51:52 -05:00
Jason Orendorff
26fb877031 Bug 695907 - Use qualified C++ definitions in js/src/frontend instead of wrapping whole .cpp files in namespace js {...}. r=luke.
--HG--
extra : rebase_source : 8fca165f696344e6e269cee06871d87259386172
2011-10-19 16:45:12 -05:00
Ted Mielczarek
61711beab0 bug 694499 - get rid of jscpucfg binary. r=jimb 2011-10-19 10:01:24 -04:00
Jason Orendorff
5a2478b22d Comment out busted assertions. See bug 695922. r=red. 2011-10-19 18:56:35 -05:00
Jason Orendorff
2294005e86 Follow-up for bug 695752. Fix "error: extra ';'" and "warning: empty macro arguments are undefined in ISO C90 and ISO C++98" (this broke maemo). r=red. 2011-10-19 18:36:19 -05:00
Nicholas Nethercote
2eeb850544 Bug 685783 - Take advantage of slop bytes in js::Vector. r=luke. 2011-10-19 16:19:06 -07:00
Jason Orendorff
5169ca2c72 Bug 695752 - Part 3 - class ParseNodeAllocator. r=luke.
--HG--
extra : rebase_source : 28452c60079a18e5c872317f4ab32e4216215fc9
2011-10-19 16:45:05 -05:00
Jason Orendorff
b47b741943 Bug 695752 - Part 2 - Add Parser::new_ methods for creatinng parse nodes. r=luke.
--HG--
extra : rebase_source : 9978265f81e72929f55a78da55250a431c64c041
2011-10-19 16:44:18 -05:00
Jason Orendorff
1003b261e4 Bug 695752 - Part 1 - Give js::ParseNode a constructor. r=luke.
--HG--
extra : rebase_source : 562e58afb9f00d8f4ba73989a6a0e779d3d8000b
2011-10-19 16:43:21 -05:00
Jason Orendorff
5105838e7c Bug 695549 - Rename almost everything in the JS front end. Part 4, rename js::Compiler to js::BytecodeCompiler and fix up old comments referring to jsparse.c etc. r=luke.
--HG--
extra : rebase_source : f1f7d634b48e3cd2cdae15c02cbb1903151e49be
2011-10-19 09:51:04 -05:00
Jason Orendorff
50e34b7d27 Bug 695549 - Rename almost everything in the JS front end. Part 3, rename tokenizer global functions and put them in the js namespace. r=luke.
--HG--
extra : rebase_source : f5f96588fc824cc4b2462b56872905deddee012b
2011-10-19 09:43:36 -05:00
Jason Orendorff
c68a88cbcd Bug 695549 - Rename almost everything in the JS front end. Part 2, rename emitter global functions and put them in the js::frontend namespace. r=luke.
--HG--
extra : rebase_source : eac14a2379edf70c4e9df4045f432b4a15ed64f0
2011-10-19 09:42:06 -05:00
Jason Orendorff
617b407afb Bug 695549 - Rename almost everything in the JS front end. Part 1, rename types and put them in the js namespace. r=luke.
--HG--
extra : rebase_source : 13efff29e9afb428f4a7658f0a0051f2e501dc15
2011-10-19 09:35:52 -05:00
Jeff Walden
266d25fdc1 Bug 656059 - Initialize a bunch of variables which some versions of gcc (but not 4.6.1) think might be used uninitialized. Technically none need to be, but this code isn't hot, so no reason not to just initialize and move on. r=warnings 2011-10-19 14:28:14 -07:00
Jeff Walden
dc5a9f3316 Bug 656059 - Ask for specific original prototypes in much of jstracer.cpp, not through a generic JSProtoKey-keyed interface. r=jorendorff
--HG--
extra : rebase_source : 9e6973a708ccbdd4785ef67fd6536c3f46c3dbb3
2011-05-10 14:56:49 -07:00
Jeff Walden
49b1d699b4 Bug 655907 - Start adding GlobalObject-specific methods to get Object.prototype, Function.prototype, and a few others, and use them where it's easy to do so. r=jorendorff
--HG--
extra : rebase_source : efa30ea3ba9cf3a90117f9b9119d140e516cbb62
2011-05-09 13:06:53 -07:00
Jeff Walden
098d025bcc Bug 694210 - Fix regressions from bug 668024 landing: first a forgotten check for denseness exceeding 2**32 - 1, second for a performance regression from an optimization condition that doesn't hold often enough and bit kraken-stanford-crypto-sha256-iterative. r=bhackett
--HG--
extra : rebase_source : a349dc1fd236d96a67c807ce174b2742130d047d
2011-10-17 11:10:43 -07:00
Jeff Walden
5c5308cfad Bug 692333 - Split setProperty into property and generic forms, and use them throughout the engine. r=bhackett
--HG--
extra : rebase_source : 9239eb648466f929733428eb1a18bb0c0af51506
2011-10-05 17:16:25 -07:00
Jeff Walden
8b4270b28b Bug 692039 - Split defineProperty into property and generic forms, and use them throughout the engine. r=bhackett
--HG--
extra : rebase_source : dce725d8771e2737f1a7059dc1698cc1b0814cd0
2011-10-05 01:00:23 -07:00
Jeff Walden
32f38cb2bb Bug 691993 - Split deleteProperty into property and generic forms, and use them throughout the engine. r=bhackett
--HG--
extra : rebase_source : a69ce113bb0f1787b10f203912bc95d9b9026c49
2011-10-04 17:49:57 -07:00
Jeff Walden
3cd5da43d5 Bug 691992 - Split getAttributes and setAttributes into property and generic forms, and use them throughout the engine. r=bhackett
--HG--
extra : rebase_source : ab383bf621c212424db6c0f358b6dd2c31443b68
2011-10-04 17:21:06 -07:00
Brian Hackett
0612add764 Fix bogus assert, bug 685472. r=dvander 2011-10-19 08:25:50 -07:00