Commit Graph

16886 Commits

Author SHA1 Message Date
Brian Hackett
35116a76ef Always discard methodjit code on GC, remove JM+TM integration, bug 685358. r=dvander 2011-10-24 20:46:00 -07:00
Matt Brubeck
4c00680be2 Merge mozilla-central to mozilla-inbound 2011-10-24 20:24:51 -07:00
Jeff Walden
a006f537e5 Bug 696941 - Privatize Token::u::dval. r=cdleary 2011-10-24 19:24:06 -07:00
Jeff Walden
711171807d Bug 696941 - Make Token::u::reflags private and hidden behind accessors. r=cdleary 2011-10-24 19:22:27 -07:00
Terrence Cole
0f6497a4d8 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
d2371a1d0e Bug 675553 followup: remove tautologous assertions. r=ehsan 2011-10-24 16:21:09 -07:00
Brendan Eich
2b72a53735 Make test for bug 695577 shell-only pending investigation. 2011-10-24 00:27:48 -07:00
Brendan Eich
28be4a7344 Ban E4X in ES5 strict mode (bug 695577, r=luke). 2011-10-23 22:42:29 -07:00
Brian Hackett
0d02665637 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
5affe6b9bf Small style fixes no bu r=lumpy 2011-10-22 16:30:28 +02:00
Brian Hackett
18fe4519ee 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
5a3249e076 Backout cb50e96dbee0 (Bug 677079) for Win PGO mochitests failures. 2011-10-22 11:03:26 +02:00
Bill McCloskey
222d42bf92 Bug 677079 - Remove jscntxt.h from INSTALLED_HEADERS (r=Waldo) 2011-10-20 10:14:24 -07:00
Jim Blandy
483651d34c Bug 696261: Correct references to 'tempPool' in comments; it's now 'tempLifoAlloc'. r=cdleary 2011-10-21 16:53:30 -07:00
Luke Wagner
1cdb3c6467 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
149f79153c Bug 593768 - Remove --enable-cpp-exceptions configure option; r=ted 2011-10-21 18:56:25 +01:00
Marco Bonardo
52f20d29d1 Merge mozilla-central to mozilla-inbound 2011-10-21 10:02:30 +02:00
Marco Bonardo
c5f832692e Merge last green changeset from mozilla-inbound to mozilla-central 2011-10-21 10:00:11 +02:00
Nicholas Nethercote
d263993569 Bug 695756 - add missing files to 986f31890872. r=red. 2011-10-20 23:11:34 -07:00
Terrence Cole
a268a94b9a Bug 695756 - Implement js::BooleanObject. r=nnethercote. 2011-10-20 22:47:30 -07:00
Terrence Cole
8f6bde32c9 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
fa675c2f52 Back out 56ec5e954858 (from bug 685783) due to a Dromaeo regression. 2011-10-20 15:47:39 -07:00
Kyle Huey
72ac2e4c02 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
30e3f5a366 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
Jeff Walden
8a84ed2439 Bug 699691 - Remove an unused argument from ino2name in pathsub.{c,h}. r=ted 2011-11-04 18:36:40 -07:00
Jeff Walden
2083d65f42 Remove js::tl::ArraySize and js::tl::ArrayEnd. They're unused, and mozilla::ArrayLength and mozilla::ArrayEnd supersede them regardless. No bug, r=lumpy 2011-11-04 01:37:53 -07:00
Jeff Walden
781a43526c Bug 700498 - Change StringBuffer::append to take a JSLinearString*, not a JSAtom*. r=cdleary 2011-11-07 16:28:37 -08:00
Chris Leary
c3ed758f26 Bug 634654 - Add RegExpPrivate cache. (r=Waldo) 2011-11-07 13:42:31 -08:00
Dave Mandelin
3a3c5caace Bug 679986: Deoptimize unnecessary regexps. (r=cdleary)
--HG--
extra : rebase_source : 63f2d3865ea362fd2071751edce00737ab83ae26
2011-11-07 11:42:02 -08:00
Luke Wagner
e7180dc786 Bug 696813 - Hoist function out of Decompile JSOP_POPV case for later reuse (r=jorendorff)
--HG--
extra : rebase_source : 49b7adbbaf2e9d3fbf2f4756cefdc659109488d3
2011-11-07 11:46:26 -08:00
Luke Wagner
b93fb2c304 Bug 696813 - Hoist two functions out of Decompile JSOP_ENTERBLOCK case for later reuse (r=jorendorff)
--HG--
extra : rebase_source : f9c0a19d1926efc7cc89ff64fa0eca3e73775830
2011-11-07 11:46:26 -08:00
Luke Wagner
04b64ac7ef Bug 696813 - Simplify Decompile (r=waldo)
--HG--
extra : rebase_source : 452ffc58a6dc2f9d152fe6cbc2a1206fd3db0e27
2011-11-07 11:46:25 -08:00
Luke Wagner
ea85e35e23 Bug 696813 - Remove dead Decompile parameter (r=waldo)
--HG--
extra : rebase_source : a97c2551cae6de7a1c5b345ce5b7ceee26868cff
2011-11-07 11:46:25 -08:00
Luke Wagner
81d9e6c903 Bug 696813 - Simplify several bytecode generator Emit* functions (r=jorendorff)
--HG--
extra : rebase_source : 2d85e4add09a9a99071755151ab8691299fc8c05
2011-10-24 11:15:34 -07:00
Luke Wagner
24dd17b1c9 Bug 696813 - Simplify Parser::forStatement (r=jorendorff)
--HG--
extra : rebase_source : 9e5d9eebffee46d35a55e869a45b8ec5db5877e6
2011-10-21 10:54:33 -07:00
Terrence Cole
19029087ac Bug 692547 - Split up array_extra; r=Waldo
Using array_extra as a common implementation method does not shave off many
bytes of code and makes understanding all of the functions it implements very
difficult.  This patch splits this mess up and makes these methods follow
ECMA steps.

--HG--
extra : rebase_source : e31647801e4c54414534bc5770cabfa463c7d149
2011-11-04 15:56:40 -07:00
Igor Bukanov
853a0397dc bug 684529 - remove script object. r=jorendorff 2011-09-22 12:08:55 +02:00
Marco Castelluccio
73d60b0ec8 Bug 642957 - Remove obsolete x|0 and x << 0 optimization. r=jandem 2011-10-24 19:11:15 +02:00
Mike Hommey
63ef0b31ba Fixup for bug 694499 for pa-risc. r=ted 2011-10-24 18:13:53 +02:00
Bill McCloskey
7f7d76b20f Bug 641027 - Add snapshot-based verifier for JS write barriers (r=luke) 2011-08-05 10:25:23 -07:00
Bill McCloskey
5ef98ce429 Bug 641027 - Add snapshot-at-the-beginning write barriers for incremental GC (r=luke,bhackett) 2011-10-25 16:07:42 -07:00
Jason Orendorff
2bfa9ef018 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
70c8e3e809 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
784b5ab386 bug 694499 - get rid of jscpucfg binary. r=jimb 2011-10-19 10:01:24 -04:00
Nicholas Nethercote
87638f34f3 Bug 697931 - Remove KidHashes when possible. r=luke. 2011-10-27 23:06:17 -07:00
Chris Leary
72a7212280 Bug 700822: Randomize JIT VirtualAlloc location on win32. (r=dmandelin) 2011-07-18 20:39:13 -07:00
Chris Leary
41bc510b10 Bug 700822: Add javascript.options.jit_hardening pref, default enabled. (r=dmandelin) 2011-11-08 13:28:49 -08:00
Jan de Mooij
ce234d64bb Bug 686381 - JSOP_AND/JSOP_OR should always leave the value on the stack. r=dvander 2011-11-09 17:43:46 +01:00
Jan de Mooij
0c9c517ff5 Bug 684384 - Add JSOP_LABEL opcode for IonMonkey. r=dvander 2011-11-09 17:42:27 +01:00
Peter Van der Beken
1776ef0e69 Bug 700668 - Don't enumerate all compartments for every traversal of a XPCWrappedNative. r=mrbkap. 2011-11-08 18:06:40 +01:00
Jeff Walden
9732b0dd63 Bug 700910 - Implement MOZ_DELETE to encapsulate C++11 = delete syntax. r=cjones
--HG--
extra : rebase_source : 0fc4bc154923c84fd91e52be99fdac78f7c6dbc4
2011-11-08 19:19:44 -08:00
Nicholas Nethercote
c32cc3b4fa Bug 699724 - Shrink js::HashTable. r=luke. 2011-11-08 21:02:11 -08:00
Jeff Walden
aacd616ea2 Bug 700802 - Define private overrides of all JSString methods with vacuous behavior for a given subclass, on that subclass. This will prevent someone from accidentally attempting to, say, linearize a linearly-typed string. r=luke 2011-11-08 14:18:29 -08:00
Jeff Walden
0f8c91fd48 Bug 700752 - Fix erroneous build warning about a may-be-used-uninitialized variable. r=cdleary 2011-11-08 14:17:58 -08:00
Marco Bonardo
de58c7bf0f Merge mozilla-central to mozilla-inbound 2011-11-08 23:58:10 +01:00
Steve Fink
43e6381597 indent the #ifdef tree for readability (no bug, r=firebot)
--HG--
extra : rebase_source : 3113540e5c9f1fc39e6f195d69899f795e964445
2011-11-08 13:08:43 -08:00
Steve Fink
be32728023 Bug 687102 - Check line2pc, pc2line argument range (r=cdleary)
--HG--
extra : rebase_source : a746956e36e1ecb24b540c25f3e5716e67fee152
2011-09-16 16:00:00 -07:00
Terrence Cole
14e2bd234f Bug 697322 - Add easier to use reset method to CallReceiver; r=luke
All users of InvokeArgsGuard that use calleeHasBeenReset use it before
setting a new callee/this in a loop.  We should make it easier to use
by combining the reset with the setup with the setting of the new
callee.
2011-11-08 10:17:25 -08:00
Jeff Walden
a51b0d1c3f Bug 699227 - Change ParseNode::getKind() to use a type separate from TokenKind, for greater clarity. r=jorendorff
--HG--
extra : rebase_source : a7a0f9028f6094a29f013aafd1eeea4b22d08fa2
2011-10-28 16:06:14 -07:00
Jeff Walden
52300d0417 Bug 697795 - Replace TOK_ASSIGN with separate kinds for each op it covers. r=cdleary
--HG--
extra : rebase_source : 00422b0c005bfbed5ad214f6d37463e4ffb56acf
2011-10-26 01:15:51 -07:00
Jeff Walden
100a2a21be Bug 697795 - Replace TOK_PRIMARY with separate kinds for each op it covers. r=cdleary
--HG--
extra : rebase_source : 170789e91bb378baf735fb99571924af83198514
2011-10-25 23:52:39 -07:00
Jeff Walden
263394f07b Bug 697795 - Replace TOK_DIVOP with TOK_DIV and TOK_MOD. r=cdleary
--HG--
extra : rebase_source : 17f89d9f41b9bab4ed12060d52b99aec3619ab15
2011-10-25 23:51:52 -07:00
Jeff Walden
e28581fa2e Bug 697795 - Replace TOK_SHOP with separate kinds for each op it covers. r=cdleary
--HG--
extra : rebase_source : 0b688db6762213793f1db7ac7916e11bff58a73a
2011-10-25 23:51:50 -07:00
Jeff Walden
5f54847d5e Bug 697795 - Replace TOK_RELOP with separate kinds for each op it covers. r=cdleary
--HG--
extra : rebase_source : bdc26f48b7915209567c9223718f4e47311a90af
2011-10-25 23:51:28 -07:00
Jeff Walden
447638f732 Bug 697297 - Replace TOK_UNARYOP with separate kinds for each op it covers, in both the tokenizer and in the parser (with different semantics in each!). r=dherman, r=cdleary
--HG--
extra : rebase_source : 8aca4520370b8ad3f5c0e7cb11e77fa9f486d9be
2011-10-25 16:04:48 -07:00
Jeff Walden
e91a58c2c7 Bug 697179 - Remove initializers from almost all TokenKind enumerations. Yay for simpler, more easily maintained code! r=cdleary
--HG--
extra : rebase_source : 1fd7105bba011f098e777387346702852da646aa
2011-10-25 16:03:53 -07:00
Jeff Walden
9fe9598f41 Bug 697179 - Split out appending behavior from js::ParseNode::newBinaryOrAppend into a new method, for a simpler-to-read algorithm. r=cdleary
--HG--
extra : rebase_source : 4788600a32be4d9dde31b218c5d45fda6cc426de
2011-10-24 19:39:20 -07:00
Jeff Walden
c156bbc34f Bug 697175 - Replace TOK_EQOP with separate kinds for each op it covers. r=cdleary
--HG--
extra : rebase_source : 71724c457d5563e67931a355ce5f93504f97a280
2011-10-24 19:39:20 -07:00
Kyle Huey
2f925f589e Back out Bug 687511 since it doesn't work in pymake. 2011-11-08 11:49:54 -05:00
Joey Armstrong
341e569d8a bug 687511 - edits allowing make-makefile to be run from sandbox root. Unit tests added - r=khuey 2011-10-24 09:59:39 -04:00
Boris Zbarsky
81399488cf Bug 699826. Fix nodelist access out of bounds to correctly forward to the proto. r=peterv 2011-11-08 07:59:38 -05:00
Luke Wagner
24ebb0ec95 Bug 650411 - assert in debug/release builds that JSRuntime is only used in a single-threaded manner (r=jorendorff,sr=dmandelin)
--HG--
extra : rebase_source : f18561fff556332789e05623ab0cec2e7faacf78
2011-07-01 14:11:31 -07:00
Ed Morley
6c0b453345 Bug 700166 - Hg rm dom/interfaces/threads/ since it's no longer built; r=bent 2011-11-07 15:44:11 +00:00
Peter Van der Beken
693361bf13 Bug 699796 - Note objects holding JSScript as roots in the CC. r=igor.
--HG--
extra : rebase_source : 68ef72cd709aed89ee6a1cc30bd6079d3e1ddf3d
2011-11-07 13:57:46 +01:00
Peter Van der Beken
ed7ffc3fae Bug 695867 - Crash [@ LookupPropertyById] with getPropertyDescriptor returning a NodeList. r=bz.
--HG--
extra : rebase_source : 7647c232594ab918b9c4488e8cb56d77dfea9b42
2011-10-27 19:31:37 +02:00
Peter Van der Beken
b63af58931 Bug 684938 - Proxy nsXPCWrappedJS::Release to the main thread. r=mrbkap.
--HG--
extra : rebase_source : faf9c46616c52bc03b776a4aae8fd3f87e11f132
2011-09-14 08:44:27 -07:00
Peter Van der Beken
0e028bfaf7 Bug 697643 - Crash [@ JS_IsExceptionPending] modifying a live NodeList. r=bz.
--HG--
extra : rebase_source : 1d2e5e17c76a04a88468d976e89576d127e4e54f
2011-10-27 19:39:03 +02:00
Jason Orendorff
ceb7eb3b77 Comment out busted assertions. See bug 695922. r=red. 2011-10-19 18:56:35 -05:00
Jason Orendorff
709bbe9a25 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
7aacac1758 Bug 685783 - Take advantage of slop bytes in js::Vector. r=luke. 2011-10-19 16:19:06 -07:00
Jason Orendorff
0ef02eb199 Bug 695752 - Part 3 - class ParseNodeAllocator. r=luke.
--HG--
extra : rebase_source : 28452c60079a18e5c872317f4ab32e4216215fc9
2011-10-19 16:45:05 -05:00
Jason Orendorff
b90a714b55 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
30b9012a13 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
a2522e62a9 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
bc453936f9 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
6aacc1383c 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
cc7558237c 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
1cd73e2f08 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
14dfea9c60 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
25eb75ff24 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
9ca73a5a08 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
9ca9fe0086 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
0ada627fa4 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
9d8833f545 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
e7437e5db9 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
73a6a54955 Fix bogus assert, bug 685472. r=dvander 2011-10-19 08:25:50 -07:00
Brian Hackett
7bedad19d8 Fix --disable-tracejit build. 2011-10-18 14:50:35 -07:00
Bill McCloskey
558e68e5ef Bug 695213 - Add total time to MOZ_GCTIMER output. 2011-10-18 14:03:51 -07:00
Bill McCloskey
074a4aac21 Bug 695493 - Fix JM opcode spew. 2011-10-18 14:03:40 -07:00
Jason Orendorff
2c0fe461ba Bug 695450 - Rename js/src/frontend/CodeGenerator.h to BytecodeGenerator.h to avoid conflict with IonMonkey. r=dvander.
--HG--
rename : js/src/frontend/CodeGenerator.cpp => js/src/frontend/BytecodeGenerator.cpp
rename : js/src/frontend/CodeGenerator.h => js/src/frontend/BytecodeGenerator.h
2011-10-18 14:45:33 -05:00
Brian Hackett
2762d10152 Add Array.concat stub for concatenating known dense arrays, bug 692960. r=dvander 2011-10-18 11:24:28 -07:00
Brian Hackett
9393f3f433 Speed up Array.shift, and Array.{pop,shift} on empty arrays, bug 692847. r=dvander 2011-10-18 11:08:52 -07:00
Brian Hackett
a8989c224b Always initialize 'this' value of constructor frames when going through InvokeConstructorKernel, bug 688974. r=luke 2011-10-18 11:00:54 -07:00
Dave Herman
3fd52e982f Bug 695238 - Reflect.parse should throw when an object literal is missing a property RHS. r=jorendorff 2011-10-17 21:09:56 -07:00
Blake Kaplan
fcc6580746 Bug 665279 - Resolve interface constants properly through Xray wrappers. r=peterv 2011-09-21 19:16:50 -07:00
Jason Orendorff
22883838ca Fix breakage from rev 31b5cad155fb (bug 695097). r=red. 2011-10-17 17:47:37 -05:00
Jason Orendorff
9faab81d05 Bug 695097 - Split up frontend/Parser.{h,cpp}. r=luke.
--HG--
rename : js/src/frontend/Parser.cpp => js/src/frontend/BytecodeCompiler.cpp
rename : js/src/frontend/Parser.h => js/src/frontend/BytecodeCompiler.h
rename : js/src/frontend/Parser.cpp => js/src/frontend/FoldConstants.cpp
rename : js/src/frontend/Parser.cpp => js/src/frontend/ParseNode.cpp
rename : js/src/frontend/Parser.h => js/src/frontend/ParseNode.h
2011-10-17 16:54:30 -05:00
Jason Orendorff
1102691b89 Bug 695094 - Move js{scan,parse,emit}.{h,cpp} into js/src/frontend/. r=luke.
--HG--
rename : js/src/jsemit.cpp => js/src/frontend/CodeGenerator.cpp
rename : js/src/jsemit.h => js/src/frontend/CodeGenerator.h
rename : js/src/jsparse.cpp => js/src/frontend/Parser.cpp
rename : js/src/jsparse.h => js/src/frontend/Parser.h
rename : js/src/jsscan.cpp => js/src/frontend/TokenStream.cpp
rename : js/src/jsscan.h => js/src/frontend/TokenStream.h
2011-10-17 16:54:28 -05:00
Jeff Walden
b0a6a72b75 Bug 693100 - Fix "warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]" with gcc 4.6.1 in SpiderMonkey. r=dvander
--HG--
extra : rebase_source : 92f3e6f79a27b3a83dec63d5c745c97453937889
2011-10-17 14:33:32 -07:00
Nathan Froyd
ab4cf36056 Bug 695025 - don't use false when we really mean NULL; r=luke
--HG--
extra : rebase_source : 6ea45cafa2dda181e1d8c43321a727a2b0bfd550
2011-10-17 12:38:08 -04:00
Brian Hackett
2db12b04ff Don't disable ICs on error paths, bug 694200. r=dvander 2011-10-17 14:23:40 -07:00
Brian Hackett
84f4720fa0 Bail out from compilation if an OOM was triggered during type inference, bug 693961. r=dvander 2011-10-17 14:18:23 -07:00
Chris Leary
0f159aabc9 Bug 694752: Test JSOP_REGEXP inline path on recompilation. (test only)
--HG--
extra : rebase_source : 16c8cbb20b028af184114c2dcdf288209f94755d
2011-10-15 20:57:08 -07:00
Andrew McCreight
0f5080a126 Bug 680482, part 2 - change debug string for grey globals to help analysis scripts. r=mrbkap 2011-10-20 09:26:49 -07:00
Andrew McCreight
070cdb9181 Bug 680482, part 1 - add new js::DumpHeapComplete to dump the entire heap. r=billm 2011-10-20 09:25:31 -07:00
Peter Van der Beken
86513cf220 Fix for bug 693258 (Fixes for test failures when turning off new list DOM bindings). r=bz/Waldo.
--HG--
extra : rebase_source : f0b6f8443cc29098ce75c114ff5a343597d9f38c
2011-10-13 15:36:09 +02:00
Matheus Kerschbaum
ae7960c546 Bug 694722 - Remove support code for obsolete platforms from js/src/Makefile.in r=ted 2011-10-20 09:57:36 +02:00
jhorak@redhat.com
27ea54ef2d Bug 694261 - link xpcshell against jemalloc on ia64. r=bz 2011-10-20 09:55:18 +02:00
Tom Schuster
118d0e5fef Bug 698584 - Fix crash in RegExp.test in case of OOM. r=mrbkap 2011-11-06 16:29:33 +01:00
Bobby Holley
ed31a8bfba Bug 677788 - Remove use of length_is xpt value from gecko. r=mrbkap 2011-11-06 13:32:25 +01:00
Bobby Holley
0b4ff99312 Bug 677788 - Remove array/string 'capacity' argument from XPCConvert. r=mrbkap
Because length_is duplicates size_is, 'capacity' is just an alias for 'count'.
2011-11-06 13:32:25 +01:00
Bobby Holley
2de88b7c43 Bug 691781 - Generate IDL lexer and parser as part of the build system. r=khuey 2011-11-06 13:32:25 +01:00
Ed Morley
7bc582f20f Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Terrence Cole
fdb5ec2f79 Bug 670596 - Mark ununused arenas as decommitted; r=?,njn
This patch tells the OS which pages we are not using after we do a GC_SHRINK.
The result is that the OS can do a better job managing memory, send less to
swap and will not count these pages against us in RSS.
2011-10-11 18:37:40 -07:00
Steve Fink
ec14aa4669 Bug 625639 - fix XPCConvert error handling (r=mrbkap) 2011-10-28 12:35:35 -07:00
Steve Fink
77bf8eb073 Bug 693907 - Once Upon a JSAPI (move JS_CallOnce from jslock.cpp to jsapi.cpp) (r=waldo)
--HG--
extra : rebase_source : 718fa503c0b73f0a4a94f50f28bc4a7981ef4202
2011-10-11 21:52:36 -07:00
Tom Schuster
70303788a7 no bug - Add 0 add the end of a char array rs=waldo
--HG--
extra : rebase_source : f0f7051cbb7842da215bf3163db49c68ada60bc3
2011-11-04 23:49:56 +01:00
ABE Hiroki
f64ab95bee Bug 675593 - Fix nspr4!1.pgc path mistake on NSPR PGO build (m-c part); r=ted 2011-11-04 21:26:53 +00:00
Rail Aliiev
8a56fd9db2 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Boris Zbarsky
3678f3ebd8 Bug 698495 followup: deal with uint32 being inconsistently defined by JS and NSPR in ways that break the Win64 build. r=waldo pending 2011-11-04 13:57:39 -04:00
Tom Schuster
92dba89a43 Backout 8b394bdb306f because of test failures 2011-11-04 18:50:09 +01:00
Tom Schuster
f0db7825f6 Bug 430927 - Don't decompile to \0 as it was incorrectly interpreted as octal. r=waldo
--HG--
extra : rebase_source : 354646d3fd2a28fd5b538f988f3b51aa98925728
2011-11-03 21:58:06 +01:00
Tom Schuster
ad9cccd366 Bug 698584 - Fix crash in RegExp.test in case of OOM. r=mrbkap
--HG--
extra : rebase_source : 832a69bf6a5e3d8d5f4e334646850ad3207714a9
2011-11-03 21:57:32 +01:00
Boris Zbarsky
26bc193987 Bug 699705. When forwarding property gets to the proto for arrays, send along the right receiver even if the property lives on a non-native object. r=waldo 2011-11-04 12:26:03 -04:00
Boris Zbarsky
92b5d3f4fd Bug 699237. Add a getElementIfPresent on typed arrays. r=waldo 2011-11-04 12:25:52 -04:00
Boris Zbarsky
adfd17214b Bug 698495 part 5. Implement getElementIfPresent on nodelist proxies. r=peterv 2011-11-04 12:25:18 -04:00
Boris Zbarsky
f54589df3b Bug 698495 part 4. Implement a JS_GetElementIfPresent API. r=waldo 2011-11-04 12:19:13 -04:00
Boris Zbarsky
44a9bf053c Bug 698495 part 3. Expose IndexToId to API consumers. r=waldo 2011-11-04 12:19:07 -04:00
Boris Zbarsky
f00eb19bad Bug 698495 part 2. Add an optional getElementIfPresent ObjectOps hook. r=waldo 2011-11-04 12:19:00 -04:00
Boris Zbarsky
175077ac69 Bug 698495 part 1. Create a getElementIfPresent method on JSObject with a generic implementation and use it from JSArray code. r=waldo 2011-11-04 12:18:52 -04:00
Boris Zbarsky
7c9b5321a5 Bug 698551. When forwarding gets to the prototype in nodelists, make sure to use the right |this|. r=waldo,peterv 2011-11-04 12:18:38 -04:00
Boris Zbarsky
f0db867bef Bug 688685 test. r=waldo 2011-11-04 01:32:10 -04:00
Boris Zbarsky
94ed6889d1 Bug 699661. Call the class getElement hook from JSObject::getElement as needed. r=waldo 2011-11-04 01:32:09 -04:00
Makoto Kato
90ba915e12 Bug 632630 - Should add debug flag of assembler obj when MOZ_DEBUG_SYMBOLS. r=khuey 2011-11-04 11:59:47 +09:00
Matt Brubeck
2ca7e7f331 Back out a242f11d7c58 and f73841ef020a because of test failures 2011-11-03 15:23:10 -07:00
Brian Hackett
3f0afe07ad Watch for global mismatches on regexp literals when compiling regexp ops, bug 695896. r=cdleary 2011-11-03 14:40:49 -07:00
Tom Schuster
43c95644be Bug 430927 - Don't decompile to \0 as it was incorrectly interpreted as octal. r=waldo 2011-11-03 21:58:06 +01:00
Tom Schuster
aa3bb9941f Bug 698584 - Fix crash in RegExp.test in case of OOM. r=mrbkap 2011-11-03 21:57:32 +01:00
Neil Deakin
c1bb964ad6 Bug 94199, part 2, add method to serialize/deserialize js function, r=mwu 2011-11-03 16:39:08 -04:00
Brian Hackett
787043a54b Try converting known doubles to integers in GETELEM/SETELEM paths, bug 678687. r=dvander 2011-11-03 09:24:40 -07:00