Commit Graph

17503 Commits

Author SHA1 Message Date
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
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
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
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
Jeff Walden
99b28861ed Bug 714218 - Specialize some get* implementations to do property-type-specific handling, with their getGeneric forwarding to the appropriate specific implementation. r=bhackett
--HG--
extra : rebase_source : 1fcbac06cb7215b00a5756cef659318e6368fc49
2011-09-15 11:44:10 -07:00
Luke Wagner
4b19e21219 rm lingering remains of JS_REQUIRES_STACK analysis (no bug, rs=dmandelin)
--HG--
extra : rebase_source : 5e4d245d44f7a0d8f2cd226366e938338d02c7a8
2012-01-03 14:46:18 -08:00
Luke Wagner
8b4f6c255c Bug 714650 - make sure not to change block into dictionary mode when adding empty destructuring properties (r=jorendorff)
--HG--
extra : rebase_source : e414906c47ac14a63b9570208452d8705f1ce1f3
2012-01-02 15:03:57 -08:00
Luke Wagner
201a9df25f Bug 714697 - rm lingering remains of JSCLASS_CONSTRUCT_PROTOTYPE (r=waldo)
--HG--
extra : rebase_source : d39774d9d5ae206ea24a0dda45ad308593db1e9d
2012-01-02 16:01:34 -08:00
Luke Wagner
4a0d3254fd Bug 714696 - rm lingering remains of tracer in js::Value (r=waldo)
--HG--
extra : rebase_source : c0d377c97e450b515941a5677eaafd5b23122d2c
2012-01-02 15:06:15 -08:00
Nicholas Nethercote
f7b2a8b9f1 Bug 710958 - Remove gfx{Glitz,DirectFB,QuartzPDF}Surface. r=joedrew.
--HG--
extra : rebase_source : da77b2ceb7840a42651386c822d5b21499bae439
2011-12-18 14:54:50 -08:00
Nicholas Nethercote
f9d7184369 Bug 631138 - Update the big comment describing Shapes. r=bhackett.
--HG--
extra : rebase_source : f20c7fb10703a6d5cced7ac53715e240b4367f38
2011-11-01 19:16:48 -07: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
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
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
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