Leon Sha
cc30f43141
Bug 697014 - Javascript test case testTypedArrays.js failed on sparc with typed array and TI. Part II. r=bhackett1024.
2011-10-27 14:03:02 +08:00
Andrew Paprocki
e88ef4e464
Bug 696957 - Add Sparc, POWER/PPC, IA64 big-endian detection to jscpucfg.h. r=ted.mielczarek.
2011-10-27 14:02:20 +08:00
Dave Herman
ba7b5fdeb6
Bug 696109 - precedence bug in ASTSerializer::statement, r=jorendorff
2011-10-26 16:45:25 -07:00
Brian Hackett
45c90bc9f8
Try to coerce doubles to integers on tripped type barriers, bug 678687. r=dvander
2011-10-26 18:46:06 -07:00
Ed Morley
c6da4bc55e
Backout changeset d5cc34a9351d (bug 696109) for jsreftest orange
2011-10-27 01:53:05 +01:00
Dave Herman
ed8d4c9926
Bug 696109 - precedence bug in ASTSerializer::statement, r=jorendorff
2011-10-26 16:45:25 -07:00
Rasmus Jensen
91e3b3cc1a
Bug 680858 - Setting the namespace of an existing attribute may cause it to duplicate another existing attribute (E4X spec bug). Remove the already-existing attribute before mutating the attribute's namespace to not introduce duplicate attributes. r=jwalden
...
--HG--
extra : rebase_source : c99c0efad1e78c5a63ed6e04beb0fdedbf3e4967
2011-10-26 15:35:32 -07:00
Doug Sherk
942467690c
Bug 656824: Implemented ARB_robustness to detect driver resets in WebGL, only on GLX for now - r=bjacob
...
This patch implements ARB_robustness on GLX and allows scripts to handle driver resets
through events. The changes in this patch are very sweeping; they hit almost
every NS_IMETHODIMP function within WebGLContextGL.cpp and WebGLContext.cpp.
More work must be done on this to support EGL_CONTEXT_LOST.
2011-10-26 16:00:44 -04:00
Marty Rosenberg
b0a291feca
When using DoubleConditionBitSpecial, actually strip out the bits before emitting an instruction (bug 691073, r=dvander)
2011-10-26 12:35:41 -07:00
Boris Zbarsky
76831d4c0a
Bug 697244. Quickstub nsIDOMWindow.self. r=peterv
2011-10-26 15:34:22 -04:00
Stephan Herhut
4b991caa23
Bug 697515 - WeakMap.set should return undefined, not itself. r=jorendorff.
...
--HG--
extra : rebase_source : 0e01d5899710f05bc1d8379eb1b98df5b40bade5
2011-10-26 14:25:20 -05:00
Andrew Paprocki
d4762a5792
Bug 691001 part 2. AppendAttributeValue escapes values without creating transient StringBuffer and JSFlatString. r=brendan
2011-10-24 21:46:35 -04:00
Andrew Paprocki
1d9165b7fe
Bug 691001 part 1. Hoist property check out of tight loop / prevent unnecessary Namespace object creation. r=brendan
2011-10-24 21:45:17 -04:00
Boris Zbarsky
ee997f0fc3
Bug 697351. Implement has() on the nodelist proxy handler so that we don't have to do the property descriptor song and dance for it. r=peterv
2011-10-26 08:47:10 -04:00
Jan de Mooij
380ed2b04a
Bug 697076 - Fix some Clang warnings. r=luke
2011-10-26 11:50:40 +02:00
Jan de Mooij
1bc97aefb1
Bug 696803 - Remove unused PushMarkStack function. r=billm
2011-10-26 11:48:36 +02:00
Leon Sha
49d1ae0e0c
Bug 697014 - Javascript test case testTypedArrays.js failed on sparc with typed array and TI. r=bhackett1024.
2011-10-26 10:37:06 +08:00
Ted Mielczarek
d8cdf2fb12
bug 695685 - Make JS module/component dump go to stdout and flush. r=mrbkap
2011-10-19 10:01:24 -04:00
Ginn Chen
9bb956566a
Bug 689916 Fix yarr crashes on SPARC r=dmandelin
2011-10-25 12:50:03 +08:00
Brian Hackett
792fad2af9
Always discard methodjit code on GC, remove JM+TM integration, bug 685358. r=dvander
2011-10-24 20:46:00 -07:00
Matt Brubeck
5eb0c663ce
Merge mozilla-central to mozilla-inbound
2011-10-24 20:24:51 -07:00
Jeff Walden
a81490ead7
Bug 696941 - Privatize Token::u::dval. r=cdleary
2011-10-24 19:24:06 -07:00
Jeff Walden
2b6d3e6f09
Bug 696941 - Make Token::u::reflags private and hidden behind accessors. r=cdleary
2011-10-24 19:22:27 -07:00
Terrence Cole
6ffe6a8909
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
b90b74eb61
Bug 675553 followup: remove tautologous assertions. r=ehsan
2011-10-24 16:21:09 -07:00
Brendan Eich
b4e2eb67b6
Make test for bug 695577 shell-only pending investigation.
2011-10-24 00:27:48 -07:00
Brendan Eich
dda0a8f559
Ban E4X in ES5 strict mode (bug 695577, r=luke).
2011-10-23 22:42:29 -07:00
Brian Hackett
f6239901e0
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
940ffdae33
Small style fixes no bu r=lumpy
2011-10-22 16:30:28 +02:00
Brian Hackett
2b1dab452f
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
36e97f68a2
Backout cb50e96dbee0 (Bug 677079) for Win PGO mochitests failures.
2011-10-22 11:03:26 +02:00
Bill McCloskey
f206d1014a
Bug 677079 - Remove jscntxt.h from INSTALLED_HEADERS (r=Waldo)
2011-10-20 10:14:24 -07:00
Jim Blandy
0f04000933
Bug 696261: Correct references to 'tempPool' in comments; it's now 'tempLifoAlloc'. r=cdleary
2011-10-21 16:53:30 -07:00
Luke Wagner
f53995c346
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
4c1a947967
Bug 593768 - Remove --enable-cpp-exceptions configure option; r=ted
2011-10-21 18:56:25 +01:00
Marco Bonardo
4b7a9dbac1
Merge mozilla-central to mozilla-inbound
2011-10-21 10:02:30 +02:00
Marco Bonardo
a6e3f54ab0
Merge last green changeset from mozilla-inbound to mozilla-central
2011-10-21 10:00:11 +02:00
Nicholas Nethercote
90e630bc63
Bug 695756 - add missing files to 986f31890872. r=red.
2011-10-20 23:11:34 -07:00
Terrence Cole
c3b75b03ac
Bug 695756 - Implement js::BooleanObject. r=nnethercote.
2011-10-20 22:47:30 -07:00
Terrence Cole
aad8b765a1
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
2283759a8c
Back out 56ec5e954858 (from bug 685783) due to a Dromaeo regression.
2011-10-20 15:47:39 -07:00
Kyle Huey
bee1f84b2f
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
0935f45e0d
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
3ed290d62c
Bug 699691 - Remove an unused argument from ino2name in pathsub.{c,h}. r=ted
2011-11-04 18:36:40 -07:00
Jeff Walden
f4e9d09885
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
3e76d21379
Bug 700498 - Change StringBuffer::append to take a JSLinearString*, not a JSAtom*. r=cdleary
2011-11-07 16:28:37 -08:00
Chris Leary
5559fb1d83
Bug 634654 - Add RegExpPrivate cache. (r=Waldo)
2011-11-07 13:42:31 -08:00
Dave Mandelin
351eedb003
Bug 679986: Deoptimize unnecessary regexps. (r=cdleary)
...
--HG--
extra : rebase_source : 63f2d3865ea362fd2071751edce00737ab83ae26
2011-11-07 11:42:02 -08:00
Luke Wagner
c49db18547
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
7f3836c563
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
56bcb1338b
Bug 696813 - Simplify Decompile (r=waldo)
...
--HG--
extra : rebase_source : 452ffc58a6dc2f9d152fe6cbc2a1206fd3db0e27
2011-11-07 11:46:25 -08:00
Luke Wagner
ba6c290ff7
Bug 696813 - Remove dead Decompile parameter (r=waldo)
...
--HG--
extra : rebase_source : a97c2551cae6de7a1c5b345ce5b7ceee26868cff
2011-11-07 11:46:25 -08:00
Luke Wagner
b25d2075b4
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
57fc4a8bc5
Bug 696813 - Simplify Parser::forStatement (r=jorendorff)
...
--HG--
extra : rebase_source : 9e5d9eebffee46d35a55e869a45b8ec5db5877e6
2011-10-21 10:54:33 -07:00
Terrence Cole
f9f1340c27
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
328fbe7fcc
bug 684529 - remove script object. r=jorendorff
2011-09-22 12:08:55 +02:00
Marco Castelluccio
a9515b862f
Bug 642957 - Remove obsolete x|0 and x << 0 optimization. r=jandem
2011-10-24 19:11:15 +02:00
Mike Hommey
3bb2dfebd2
Fixup for bug 694499 for pa-risc. r=ted
2011-10-24 18:13:53 +02:00
Bill McCloskey
f8de4a3820
Bug 641027 - Add snapshot-based verifier for JS write barriers (r=luke)
2011-08-05 10:25:23 -07:00
Bill McCloskey
213017df51
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
4bfbc87471
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
c631916068
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
88455fc076
bug 694499 - get rid of jscpucfg binary. r=jimb
2011-10-19 10:01:24 -04:00
Nicholas Nethercote
9e7657a444
Bug 697931 - Remove KidHashes when possible. r=luke.
2011-10-27 23:06:17 -07:00
Chris Leary
26034f3767
Bug 700822: Randomize JIT VirtualAlloc location on win32. (r=dmandelin)
2011-07-18 20:39:13 -07:00
Chris Leary
a4908dc54a
Bug 700822: Add javascript.options.jit_hardening pref, default enabled. (r=dmandelin)
2011-11-08 13:28:49 -08:00
Jan de Mooij
ede3bf1dcd
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
073ee45aa6
Bug 684384 - Add JSOP_LABEL opcode for IonMonkey. r=dvander
2011-11-09 17:42:27 +01:00
Peter Van der Beken
d424202e66
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
b6eb396961
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
14543f2542
Bug 699724 - Shrink js::HashTable. r=luke.
2011-11-08 21:02:11 -08:00
Jeff Walden
5b31233839
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
5e93e4bbde
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
6225eff2b8
Merge mozilla-central to mozilla-inbound
2011-11-08 23:58:10 +01:00
Steve Fink
8299ac5543
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
3e6d624527
Bug 687102 - Check line2pc, pc2line argument range (r=cdleary)
...
--HG--
extra : rebase_source : a746956e36e1ecb24b540c25f3e5716e67fee152
2011-09-16 16:00:00 -07:00
Terrence Cole
f7d8caa632
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
3486aea238
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
86a6e932ad
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
bd57ffd306
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
541e0265be
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
6c0b9b4015
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
8cab112499
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
d29aeeaa5e
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
461d79ed18
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
32de59f86a
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
b6c4305d0a
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
a6c6fdc70b
Back out Bug 687511 since it doesn't work in pymake.
2011-11-08 11:49:54 -05:00
Joey Armstrong
1151bfaa89
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
f6cc9049b5
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
d542a26a63
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
e2f4183574
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
728e26c68b
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
be29e3d8a0
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
1d05a88d12
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
451166e8e7
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
25c7998192
Comment out busted assertions. See bug 695922. r=red.
2011-10-19 18:56:35 -05:00
Jason Orendorff
ac59883b3b
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
b51f23d47a
Bug 685783 - Take advantage of slop bytes in js::Vector. r=luke.
2011-10-19 16:19:06 -07:00
Jason Orendorff
45c701e5df
Bug 695752 - Part 3 - class ParseNodeAllocator. r=luke.
...
--HG--
extra : rebase_source : 28452c60079a18e5c872317f4ab32e4216215fc9
2011-10-19 16:45:05 -05:00
Jason Orendorff
3a3dd29d63
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
7f48ff4751
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
05a2528a5e
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
0759730e13
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
1ed99950f6
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
b3465b0a28
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
f82648527c
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
c7be68e46a
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
18aabe1f5a
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
258cdb9d83
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
2fcd3f7ed5
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
c38fb13c79
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
08cafbbe53
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
ecf1385a3b
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
edcb94af12
Fix bogus assert, bug 685472. r=dvander
2011-10-19 08:25:50 -07:00
Brian Hackett
30e7f67096
Fix --disable-tracejit build.
2011-10-18 14:50:35 -07:00
Bill McCloskey
0d232770c0
Bug 695213 - Add total time to MOZ_GCTIMER output.
2011-10-18 14:03:51 -07:00
Bill McCloskey
a1a70418bb
Bug 695493 - Fix JM opcode spew.
2011-10-18 14:03:40 -07:00
Jason Orendorff
4d84117ee0
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
b0e2fe4eb6
Add Array.concat stub for concatenating known dense arrays, bug 692960. r=dvander
2011-10-18 11:24:28 -07:00
Brian Hackett
6f4ec47449
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
a357dedce4
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
ad05e647fb
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
b41bdd602b
Bug 665279 - Resolve interface constants properly through Xray wrappers. r=peterv
2011-09-21 19:16:50 -07:00
Jason Orendorff
64564c03cf
Fix breakage from rev 31b5cad155fb (bug 695097). r=red.
2011-10-17 17:47:37 -05:00
Jason Orendorff
4937f46f9a
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
89f41c57cb
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
df6a22b112
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
d2aed4ebbb
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
64f2d633bf
Don't disable ICs on error paths, bug 694200. r=dvander
2011-10-17 14:23:40 -07:00
Brian Hackett
86c1a6104e
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
700d60d62e
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
23b544bd06
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
da5e98a535
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
506577d2e0
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
720e336a28
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
2c00c67862
Bug 694261 - link xpcshell against jemalloc on ia64. r=bz
2011-10-20 09:55:18 +02:00
Tom Schuster
59be441fb4
Bug 698584 - Fix crash in RegExp.test in case of OOM. r=mrbkap
2011-11-06 16:29:33 +01:00
Bobby Holley
b74a05397f
Bug 677788 - Remove use of length_is xpt value from gecko. r=mrbkap
2011-11-06 13:32:25 +01:00
Bobby Holley
a406584d82
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
68d352d87f
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
7ea8e12caa
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
e6363db3f2
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
ead08943a9
Bug 625639 - fix XPCConvert error handling (r=mrbkap)
2011-10-28 12:35:35 -07:00
Steve Fink
a4733c0242
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
67f3ba6848
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
1d668f92f1
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
ac65d0d88e
Bug 616542 - Shorten file path length of mochitest; r=ted
2011-11-04 21:13:42 +00:00
Boris Zbarsky
3680666bc7
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
4716afe7ef
Backout 8b394bdb306f because of test failures
2011-11-04 18:50:09 +01:00