Tom Schuster
b95d1edd6c
Bug 714894 - Remove tracer specific JSOPs. r=bhackett
...
--HG--
extra : rebase_source : 3b6d0a04fd8f1418113e9cb5d1299a1392aebd30
2012-01-04 21:29:47 +01:00
Blake Kaplan
1e06975ffc
Bug 689118 - Protect against JSVAL_IS_OBJECT(null) being true. r=luke
2012-01-04 17:45:02 +01:00
Kyle Huey
34080b89e1
Merge b-s to m-c.
2012-01-04 10:39:52 -05:00
Kyle Huey
4dbec7e0e6
Bug 714178: Expose the value of CPP from configure to the rest of the build system. r=ted
2012-01-03 13:47:26 -05:00
Marco Bonardo
6d541babbe
Merge last green PGO from mozilla-inbound to mozilla-central
2012-01-03 12:36:26 +01:00
Ms2ger
c06f7f2913
Bug 714580 - Remove extra parens from JS_ASSERT_IF; r=Waldo
2012-01-02 21:55:34 +01:00
Ms2ger
0dd7de973f
Bug 707049 - Followup: fix accidentally introduced 'uint8's from js/src; r=sparky
2012-01-02 19:06:35 +01:00
Gabor Krizsanits
2473827347
Bug 677294 - part 2: need a way to create new JS scopes and run scripts against them (same compartment); r=mrbkap
2012-01-02 19:06:07 +01:00
Ms2ger
055d033e8e
Bug 710805 - Assert validity in xpc_qsBasicString; r=jst
2012-01-02 19:05:19 +01:00
Ms2ger
907439a753
Bug 709086 - Don't use JS_GetParent in mozJSSubScriptLoader::LoadSubScript; r=jorendorff
2012-01-02 19:05:19 +01:00
Ms2ger
c8fd736d93
Bug 714057 - Remove uintn users from XPConnect; r=bholley+khuey
2012-01-02 19:05:19 +01:00
Ms2ger
1415925d63
Bug 713645 - Remove superfluous inclusions of jscntxt.h; r=luke
2012-01-02 19:05:19 +01:00
Ms2ger
bc9a659fe7
No bug - Return 'false' instead of 'NULL' from ContextStack::pushExecuteFrame.
2012-01-02 19:05:19 +01:00
Bill McCloskey
587dd47a33
Bug 712480 - Assert in most JSAPI functions that we're not inside a GC (r=Waldo)
2012-01-01 17:18:07 -08:00
Jeff Walden
e4a989aa9d
Return NULL from a pointer-returning method, not false. No bug, r=fix-warning
2012-01-01 18:44:30 -06:00
Bill McCloskey
8792081a10
Bug 714363 - Remove XPCWrappedNativeScope::mPrototypeJSFunction (r=bholley)
2012-01-01 14:48:15 -08:00
Igor Bukanov
845d732e8d
bug 714545 - js_FinishGC should not race with the background thread. r=wmccloskey
2011-12-31 21:29:41 +01:00
Igor Bukanov
e563738a39
bug 714344 - background decommit must not leave GC chunks with no empty arenas on the available allocation list. r=wmccloskey
2011-12-31 21:29:41 +01:00
Brian Hackett
162df8e297
Fix warnings and Clang compile errors, bug 707049. r=waldo
2011-12-31 12:39:05 -07:00
Brian Hackett
95d4e2f5d9
Backed out changeset 4282a285d381 (bug 707049 backout).
2011-12-31 07:32:04 -07:00
Ms2ger
a0619211ee
Backout 0d642e4e08cf (bug 707049); requested by evilpie.
2011-12-31 15:13:01 +01:00
Jeff Walden
59ce1153d0
Bug 713183 - Make JSOP_*PROP and JSOP_*NAME store a PropertyName immediate, not a JSAtom immediate, and take advantage of this fact. r=bhackett
...
--HG--
extra : rebase_source : 99d199382928758983765ce87e8e4a4121c6430b
2011-12-27 02:27:02 -06:00
Tom Schuster
af9ed84a89
Bug 622348 - JavaScript Math.round incorrect for (2^53)-1. r=Waldo
...
--HG--
extra : rebase_source : 51a780cf5ce9cbcc84c56d8a8dbe2c5d9867b36b
2011-12-25 15:16:12 +01:00
Makoto Kato
83773e137b
Bug 711919 - Remove AWT_11 and CM_BLDTYPE from autoconf.mk. r=khuey
2011-12-31 13:17:57 +09:00
Jeff Walden
d241aa2d92
Adjust the test for bug 713944 to work in the browser and reenable it there. r=unbust
...
--HG--
extra : rebase_source : 790fe3e662d723eddb956d156654b931327c603d
2011-12-30 21:23:36 -06:00
Brian Hackett
157daeeaa6
Add dynamic analysis for identifying moving GC hazards, autorooter classes, some VM rooters, bug 707049. r=billm
2011-12-30 20:12:45 -07:00
Jeff Walden
13830f85c4
Temporarily disable the test for bug 713944, there seem to be some shell/browser differences. r=orange
2011-12-30 20:42:38 -06:00
Jeff Walden
9b40b21432
Bug 713944 - Assert that a data descriptor referenced in the property cache was writable only if the property cache entry was a hit. If it wasn't, the descriptor might have been made writable in the interim -- and if the cache entry was for finding the property along the prototype chain, the shape key used for the entry lookup would be invariant across the data descriptor's mutation. This also fixes bug 643847. r=jorendorff
2011-12-29 05:44:10 -06:00
Jeff Walden
5ba070dc96
Bug 713944 - Move some declarations down to uses in fill(). r=sparky
...
--HG--
extra : rebase_source : f999d47ec439ff9311a8dabfb6e3e729dbc5a9f0
2011-12-29 05:44:08 -06:00
Jeff Walden
acc9c5e323
Bug 713944 -Convert PropertyCacheEntry::vindex into two separate, private fields, and add some accessors for them. r=jorendorff
...
--HG--
extra : rebase_source : f7efae003a443e5381900b95273370ff3baa8a62
2011-12-29 05:43:57 -06:00
Bobby Holley
4b6add2c77
Bug 713747 - Use UniversalXPConnect and UniversalXPConnect only in test coverage. r=bz
2011-12-30 09:35:38 -08:00
Jeff Walden
8988983e53
Bug 713755 - Convert all |a[...] parsing to use constructors that don't examine the token stream. r=jorendorff
...
--HG--
extra : rebase_source : 7b51c30ea52744535195d10d4502a1ee86754e13
2011-12-23 00:11:13 -05:00
Jeff Walden
62139d59a9
Bug 713755 - Convert all |a.<stuff>| parsing to use constructors that don't examine the token stream. r=jorendorff
...
--HG--
extra : rebase_source : c64a37e810c201df6fa2e5124f115ecc9c2e9b43
2011-12-21 18:43:20 -05:00
Jeff Walden
06ce8fce9a
Bug 713755 - Rename parse node variables in memberExpr, and shorten lifetimes where possible. r=jorendorff
...
--HG--
extra : rebase_source : ff143bd6bd50bd9036c47edb06c02eb01ff2f6cd
2011-12-21 18:22:34 -05:00
Luke Wagner
064d012384
Bug 711273 - rm cruft: JS_REQUIRES_STACK, find-child.py, jsstack.js, fallibility of ClonedBlockObject::put/UnwindScope (r=waldo)
2011-12-20 17:31:28 -08:00
Luke Wagner
395fb00310
Bug 713311 - give the remaining scope objects typed interfaces (r=waldo)
...
--HG--
rename : js/src/vm/CallObject-inl.h => js/src/vm/ScopeObject-inl.h
rename : js/src/vm/CallObject.cpp => js/src/vm/ScopeObject.cpp
rename : js/src/vm/CallObject.h => js/src/vm/ScopeObject.h
extra : rebase_source : 0efa6c9ac4ceb10f48fe7ee7b199333da2b54cd9
2012-01-02 15:02:05 -08:00
Jeff Walden
a6c3bde2ab
Bug 714264 - Move declarations around such that it's possible to include jsprvtd.h before Vector.h or HashTable.h. r=luke
...
--HG--
extra : rebase_source : e981944be5edf5c772df986d0898494b9bc53a3e
2012-01-02 16:34:25 -06:00
Jeff Walden
8696b441c0
Make vm/Unicode.h not include jsstr.h just for jschar and a couple <stdint.h> types. No bug, r=mozbot
...
--HG--
extra : rebase_source : acc00e217e99e33c92fa36832844ceb8550664c2
2012-01-02 14:22:54 -06:00
Jan de Mooij
055a9cb3bf
Bug 714607 - Make jit-test/tests/basic/bug680217.js run faster. r=bhackett
2012-01-02 22:41:49 +01:00
Jeff Walden
e63c17c497
Bug 710941 - Simplify |a.<here>| parsing by having it not reuse primaryExpr parsing. r=jorendorff
...
--HG--
extra : rebase_source : f4fdb7376ed8a6e2e59419052e14eae3243018f6
2011-12-14 20:08:02 -05:00
Nicholas Nethercote
5c8cc7d9f5
Bug 708159 - Avoid unnecessary work done by multi-reporters in nsMemoryReporterManager::GetExplicit. r=jlebar,bent.
2011-12-12 19:04:12 -08:00
Jeff Walden
da694f3589
Bug 710932 - Create true/false/this/null parse nodes with a constructor that doesn't examine the token stream. r=jorendorff
...
--HG--
extra : rebase_source : 29dc590794dd36409a5a171f8043aad1546b7b9a
2011-12-14 20:03:35 -05:00
Jeff Walden
6c586a2917
Bug 710932 - Create defsharp/usesharp expressions with a constructor that doesn't examine the token stream. r=jorendorff
...
--HG--
extra : rebase_source : e93396c31f7593b9698549f02a9b4aecda134340
2011-12-13 15:53:30 -05:00
Jeff Walden
d87cdbf3d5
Bug 710932 - Create ?: conditional expressions using a constructor that doesn't examine the token stream. r=jorendorff
...
--HG--
extra : rebase_source : cf8d22e47436d543a46115171460a4bfeae10971
2011-12-13 15:53:30 -05:00
Jeff Walden
4ac1f980e9
Bug 710932 - Create <?target data?> expressions using a constructor that doesn't examine the token stream. r=jorendorff
...
--HG--
extra : rebase_source : f3b8ca1065e7694cb411d14800052e7cef48f853
2011-12-09 23:28:59 -05:00
Jeff Walden
6e6818ff03
Bug 710932 - Create debugger statements using a constructor that doesn't examine the token stream. r=jorendorff
...
--HG--
extra : rebase_source : eb913a09cc70398e252c1c8914104c60f79073ab
2011-12-09 20:26:12 -05:00
Igor Bukanov
740ca657a6
bug 713916 - JS API to shrink GC buffers. r=wmccloskey
2011-12-28 21:08:44 +01:00
Igor Bukanov
b100457874
bug 714066 - Missed FreeChunkList call in JSRuntime::onOutOfMemory. r=wmccloskey
2011-12-30 00:33:44 +01:00
Steve Fink
33acf2969c
No bug. Fix --disable-methodjit build breakage from 23936f566781 (bug 710032). r=woof!
2011-12-29 15:19:26 -08:00
Jeff Walden
6f39713d32
Use < rather than != when comparing a bunch of pointers to sentinel end-pointer values, as a small hedge against things going awry and skipping past the sentinel. No bug, r=firebot
...
--HG--
extra : rebase_source : 567f70397ec9ef006c55c01f3acde305ab527b56
2011-12-29 15:50:33 -06:00
Hub Figuière
6801abcb82
Bug 714169 - Fix warning in HashTable.h by using |continue;| instead of |;|. r=jwalden
...
--HG--
extra : rebase_source : 176f652ee0e2c23b2c995b51814e4e1fd1ae0149
2011-12-29 13:37:04 -08:00
Robert O'Callahan
9453e34868
Back out c245807aad3a for bug 714066 to fix Linux make check orange
2011-12-30 11:10:59 +13:00
Robert O'Callahan
ed702fdf9d
Backed out changeset c245807aad3a for bug 714066
2011-12-30 11:09:16 +13:00
Igor Bukanov
3d50ba406c
bug 714066 - Missed FreeChunkList call in JSRuntime::onOutOfMemory. r=wmccloskey
2011-12-29 22:22:21 +01:00
Steve Fink
1d7fbb17f3
Bug 710414 - Split out the conservative testing for a GCThing from marking it. r=billm
...
Testing an arbitrary pointer for valid GCThing-ness is useful for things other tan the GC
--HG--
extra : rebase_source : 93098ac37970970feaea4440f89f01a501326e3f
2011-12-13 16:09:02 -08:00
Kyle Huey
c8de934380
Back out Bug 711895 for breaking l10n builds.
2011-12-29 15:45:51 -05:00
Cameron Kaiser
f27e919e45
Bug 713463 - Support JM+TI for architectures without native square root. r=dmandelin
2011-12-29 12:36:22 +01:00
Bill McCloskey
ad44974dec
Bug 709885 - Simplify read barriers for shapes and types (r=bhackett)
2011-12-28 23:56:55 -08:00
Nicholas Nethercote
da987c9b3a
Bug 711895 - Tweak the warning options used for GCC builds. r=waldo, derf.
...
--HG--
extra : rebase_source : bbe982c5feceac25fb4c0ccd03ced3a874205c38
2011-12-28 19:59:19 -08:00
Terrence Cole
0f8717c600
Bug 712460 - Add missing barriers in jsexn; r=billm
...
When we create an exception object, we copy Values into a custom exception
privates struct that we pass around. If any of the Values copied to this
struct are gcthings in the nursery, this external array needs to root them.
--HG--
extra : rebase_source : 6bc9926441a1cd3f66fa9ade74022e13a5f7e758
2011-12-28 15:02:23 -08:00
Terrence Cole
8251748a44
Bug 712828 - Mark slow tests as slow; r=dmandelin
...
In the jstest suite, four tests cause the suite to run for 120+ seconds, where
without these, the suite runs in ~30 seconds. We should mark these as slow, to
make the jstests suite more useful.
2011-12-28 14:49:30 -08:00
Terrence Cole
44161208ba
Bug 711626 - More missing barriers around object properties; r=billm
...
This adds post barriers in several locations where they are needed inside of
object manipulation.
--HG--
extra : rebase_source : ce956417a74d70551c1f9258ef7587d0563c0157
2011-12-28 14:06:21 -08:00
Boris Zbarsky
00746e91ea
Backing out bug 707717 because it seems to be a perf hit, not a perf win.
2011-12-28 16:22:05 -05:00
Jan de Mooij
d74eb5b1dd
Bug 713867 - Move arrayPrototypeHasIndexedProperty from JM to jsinfer. r=bhackett
2011-12-28 20:44:27 +01:00
Matt Brubeck
bac378b0fd
Merge mozilla-central and mozilla-inbound
2011-12-28 11:17:19 -08:00
Matt Brubeck
fc6cc90162
Merge from mozilla-inbound to mozilla-central
2011-12-28 11:02:59 -08:00
Josh Matthews
93504129e1
Bug 463122 - Propagate mozJSComponentLoader exceptions that occur while executing the script. r=mrbkap
2011-12-28 11:55:11 -05:00
Mike Hommey
21c1293aee
Backout 45820730dfa7 and 860035a3c04a (bug 701371) and 8ac6f34b44ff (bug 709776) because of Android random oranges.
...
--HG--
rename : mozglue/build/Makefile.in => memory/mozutils/Makefile.in
rename : mozglue/build/dummy.cpp => memory/mozutils/dummy.cpp
rename : mozglue/build/fixcrt.py => memory/mozutils/fixcrt.py
rename : mozglue/build/mozglue.def.in => memory/mozutils/mozutils.def.in
rename : mozglue/android/APKOpen.cpp => other-licenses/android/APKOpen.cpp
rename : mozglue/android/APKOpen.h => other-licenses/android/APKOpen.h
rename : mozglue/android/nsGeckoUtils.cpp => other-licenses/android/nsGeckoUtils.cpp
2011-12-28 12:12:09 +01:00
Ms2ger
a63b21f505
Bug 713550 - Move Base64 code on nsXPConnect to XPCOM / xpcpublic.h; r=bholley+khuey
2011-12-28 09:13:38 +01:00
Ms2ger
5092d42217
Bug 713340 - Fix jsShell_ErrorFormatString array lengths; r=luke
2011-12-28 09:13:37 +01:00
Ms2ger
18e7b4e1b4
Bug 713553 - Remove GetRTStringByIndex; r=bholley
2011-12-28 09:13:37 +01:00
Ms2ger
006d626a6e
Bug 713554 - Remove xpc_SameScope declaration; r=bholley
2011-12-28 09:13:37 +01:00
Phil Ringnalda
34b6051338
Bug 713756 - Remove js/src/tests/src/jstests.jar, r=bc
...
--HG--
extra : rebase_source : 15eec29090974a1f423e9bcbc8e350381c358b41
2011-12-27 22:41:49 -08:00
Igor Bukanov
ded4099dd6
bug 702251 - Decommit unused arenas in the background. r=wmccloskey
...
--HG--
extra : rebase_source : 6d3c092d14163c71cfb5bf0eec12a7900fcb8ff3
2011-12-16 21:36:34 +01:00
Igor Bukanov
35deb9e107
bug 702251 - free GC chunks in background outside the GC lock. r=wmccloskey
...
--HG--
extra : rebase_source : 40aaadef1af1a2cefcfeefd178096e5c51e32873
2011-12-25 02:45:22 +01:00
Brian Hackett
c45874a80f
Fix register allocation around inline returns, bug 713209.
2011-12-28 08:00:24 -07:00
Jeff Walden
4001f8b429
Mark a bunch more copy-construction, assignment, default-construction, etc. operators and methods as deleted in the JS engine. No bug, r=bhackett over IRC
...
--HG--
extra : rebase_source : c238c0f7230a2e43705f6069309ff0475724bee4
2011-12-28 08:09:07 -06:00
Jeff Walden
3b9017a2c5
Bug 713183 - Remove the global-property-finding code from stats() in the shell. It doesn't work now, and it's trying to look up a name that could be an index, when by definition a name is not an index. r=bhackett
...
--HG--
extra : rebase_source : f64725e47010264b098ccce525479f6b29991086
2011-12-27 16:45:49 -06:00
Jeff Walden
53dca71211
Bug 713183 - Don't generate JSOP_INITPROP for index properties of object literals. r=bhackett
...
--HG--
extra : rebase_source : 876bc52923df1d2ceaaae34699770b9a933ec05a
2011-12-27 16:40:21 -06:00
Jeff Walden
fa0c8875b7
Bug 713759 - Split PNK_INC and PNK_DEC into pre- and post- variants. r=bhackett
...
--HG--
extra : rebase_source : a429d9cc2d7095e06e54c48c3ae53e1c16076405
2011-12-23 21:19:52 -05:00
Mike Hommey
b193d0733f
Bug 701371 - Rename mozutils to mozglue, and move it to top-level. r=khuey
...
--HG--
rename : memory/mozutils/Makefile.in => mozglue/Makefile.in
rename : memory/mozutils/Makefile.in => mozglue/build/Makefile.in
rename : memory/mozutils/dummy.cpp => mozglue/build/dummy.cpp
rename : memory/mozutils/fixcrt.py => mozglue/build/fixcrt.py
rename : memory/mozutils/mozutils.def.in => mozglue/build/mozutils.def.in
2011-12-28 08:24:02 +01:00
Bill McCloskey
4813735866
Bug 713773 - Ensure GC statistics counters are initialized (r=igor)
2011-12-27 18:42:31 -08:00
Matt Brubeck
f8fdd2d3f6
Merge from mozilla-inbound to mozilla-central
2011-12-27 11:04:58 -08:00
Olli Pettay
d1c33f5f79
Bug 710380 - IndexedDB could use the dictionary reader, r=khuey
2011-12-27 20:01:28 +02:00
Steve Fink
8964bbed04
Bug 710055 - Merge SetVMFrameRegs into PushActiveVMFrame. r=bhackett
...
--HG--
extra : rebase_source : 7c4f8dde05533a082a7139077d6c983b610925fc
2011-11-21 16:17:49 -08:00
Oleg Romashin
4c74b7c007
Bug 703434 - Add support for Qt resource files (qrc) which possible to pre-compile with rcc compiler. r=glandium
2011-11-17 01:28:33 -05:00
Terrence Cole
fd6643611b
Backed out changeset d354ab9ac1f4
2011-12-26 11:20:04 -08:00
Terrence Cole
88d107dc02
Bug 712460 - Add missing barriers in jsexn; r=billm
...
When we create an exception object, we copy Values into a custom exception
privates struct that we pass around. If any of the Values copied to this
struct are gcthings in the nursery, this external array needs to root them.
--HG--
extra : rebase_source : 8d31ffd349bcbaca3f2bbbcd0c4b5a099d57ec21
2011-12-20 14:51:25 -08:00
Terrence Cole
a2d2e60025
Bug 712837 - Remove flakey test js1_5/extensions/regress-371636.js; r=dmandelin
...
In the test js1_5/extensions/regress-371636.js, we time a loop over an Array
using Numbers as keys, then do the same loop again using Strings as keys. The
test asserts that the time using Strings is less than 3 times as large as the
time using Numbers. Naturally, when running the tests with high parallelism,
this tends to fail at random. Since losing this optimization would be an
extremely serious perf bug, we would notice this immediately from our perf
tests. There is no reason to keep this as a correctness test.
--HG--
extra : rebase_source : 1b24b3326154c2f34b0bc0e7cba51ad7e5924c97
2011-12-22 09:51:50 -08:00
Terrence Cole
c13085c7d2
Bug 712519 - Update test file encodings; r=rwalden
...
Since we switched to using JS_CompileUTF8File in the shell, all of our tests
that include comments with non-UTF-8 encoded characters fail. This patch
replaces these characters with their UTF-8 equivalents.
--HG--
extra : rebase_source : 4090e824320a329e989cffb61b3eb3c421a1bbd7
2011-12-21 18:20:17 -08:00
Boris Zbarsky
8a05054a41
Bug 707717. Don't dynamically mutate the proto chains of DOM prototypes. r=peterv
2011-12-26 11:31:07 -05:00
Jacek Caban
34e17e538d
Backout ff350b65a616 due to Android build failure
2011-12-27 11:11:00 +01:00
Jacek Caban
39c91c27af
Bug 712584 - Properly use .def files on mingw builds r=khuey
2011-12-27 10:51:53 +01:00
Jacek Caban
cdd21ae361
Bug 712594 - libffi fails to build on mingw-w64 r=bsmedberg
...
--HG--
extra : rebase_source : 498652c35d8f628d276a938f2c526e2a44a6eb07
2011-12-23 13:22:48 +01:00
Tom Schuster
c2e3138a62
Backout b85379036da2 because of test failures
2011-12-25 15:47:27 +01:00
Tom Schuster
f540fe67b9
Bug 582841 use false instead of JS_FALSE. DONTBUILD
2011-12-25 15:32:35 +01:00
Tom Schuster
f415f53a3e
Bug 622348 - JavaScript Math.round incorrect for (2^53)-1. r=luke
2011-12-25 15:16:12 +01:00
Phil Ringnalda
8e7c10e41c
Merge m-i <-> m-c
2011-12-24 21:50:23 -08:00
Ms2ger
15fef19c0d
Bug 711859 - Add an IsObjectInContextCompartment API; seems-better-than-the-alternative-all-things-considered=Waldo
2011-12-24 09:28:55 +01:00
Ms2ger
4bf0b93208
Bug 711748 - Remove FIT_U32 from XPCConvert; r=bholley
2011-12-24 09:28:39 +01:00