Commit Graph

16442 Commits

Author SHA1 Message Date
Brian Hackett
7dd33f659d Move fixed slot count from JSObject to Shape, bug 594561. 2011-10-14 11:06:15 -07:00
Brian Hackett
bd47b18c9b Just load payload when accessing scope object chains, bug 694247. 2011-10-13 20:44:53 -07:00
Brian Hackett
47aca3f8c2 Move JSObject::parent to BaseShape, bug 638316. 2011-10-13 20:21:36 -07:00
Brian Hackett
6422769ff8 Add call scope to JSFunction, bug 693754. 2011-10-13 12:10:52 -07:00
Brian Hackett
a78ff80519 Account for ObjectElements header when inlining JSOP_NEWINIT, bug 693971. 2011-10-13 09:18:45 -07:00
Brian Hackett
83d28ee44c Fix uses of getParent() in nsXPConnect, bug 694247. 2011-10-13 09:03:52 -07:00
Brian Hackett
ce20b23c51 Fix compiler warnings. 2011-10-13 08:55:35 -07:00
Brian Hackett
d087a08c61 Preserve last shape while converting to dictionary mode, bug 693966. 2011-10-13 08:38:05 -07:00
Brian Hackett
35a50f4afb Move scope chains of scope objects to reserved slots, bug 694247. 2011-10-12 22:29:43 -07:00
Brian Hackett
ef3ad9e6ff Fix test failures, bug 693754. 2011-10-12 08:32:42 -07:00
Brian Hackett
a9e67532b0 Fix test failures, bug 693479. 2011-10-11 16:46:42 -07:00
Brian Hackett
9c64bfccd6 Remove JSObject::getFunctionPrivate, add call scope to JSFunction, bug 693754. 2011-10-11 15:28:54 -07:00
Brian Hackett
e9b876258d Remove JSObject::privateData, bug 693479. 2011-10-10 17:14:38 -07:00
Brian Hackett
f5a853bac0 Reallocate slots when inserting slotful properties into dictionaries, bug 693221. 2011-10-10 13:39:01 -07:00
Brian Hackett
99df9202c3 Remove JSObject::capacity and JSObject::initializedLength, split JSObject::slots into slots and elements, bug 693221. 2011-10-10 11:41:03 -07:00
Brian Hackett
a61bdb81a1 Move JSObject::newType to a hashtable, bug 684410. 2011-10-07 20:09:09 -07:00
Brian Hackett
b80ef4cb95 Address shape number removal review comments, bug 684505. 2011-10-05 11:54:28 -07:00
Brian Hackett
14ea545a2a Fix inline methods for debug builds, bug 690133. 2011-10-05 09:23:36 -07:00
Brian Hackett
b5ea0e25d1 Move inline methods depending on getClass into *inlines.h, bug 690133. 2011-10-04 18:46:03 -07:00
Brian Hackett
040f61cf85 Merge MC -> JM 2011-10-04 14:49:42 -07:00
Brian Hackett
e89780c40d Remove jsobj.h from installed headers, bug 690943. r=luke 2011-10-04 07:06:54 -07:00
Brian Hackett
6c416a55f0 Merge MC -> JM 2011-09-30 07:01:18 -07:00
Brian Hackett
7e3df0c914 Avoid assert botch when adding properties to objects, bug 684505. 2011-09-29 20:46:33 -07:00
Brian Hackett
7ac1c16082 Don't access object class during background finalization, bug 690133. 2011-09-29 20:29:13 -07:00
Jason Orendorff
d8a251886e Fix GCC warnings about using CHECK_EQUAL macro to compare a pointer to NULL. no_r=red. 2011-09-29 15:52:05 -05:00
Jason Orendorff
7ebbbb1c1a Bug 688571 - JS_PropertyIterator is broken. r=Waldo.
--HG--
extra : rebase_source : bde827991fb39bfc1fbae9e39dac2923713cf13d
2011-09-29 15:05:07 -05:00
Chris Leary
924c144871 Fix license block errors. (DONTBUILD) 2011-09-29 11:54:51 -07:00
Rafael Ávila de Espíndola
b9c70d96b3 Bug 689066 - Fix c++11 incompatibility. r=luke. 2011-09-29 13:49:54 -04:00
Ehsan Akhgari
a8d2514455 Merge mozilla-central into mozila-inbound 2011-09-29 12:51:50 -04:00
Kyle Huey
0b7e698fb5 Bug 688417: Test for Bug 505915 expects setting xhr.onreadystatechange to unwrap the object passed in. r=mrbkap 2011-09-29 12:06:36 -04:00
Kyle Huey
84a3c222e7 Bug 688776: test_doublewrappedcompartments.xul relies on XHR event listener being a wrapped JSObject. r=mrbkap 2011-09-29 12:06:36 -04:00
Kyle Huey
0b5c883353 Bug 688416: Test for Bug 502959 relies on XHR event listener being an nsIDOMEventListener. r=mrbkap 2011-09-29 12:06:35 -04:00
Brian Hackett
33b8b40aa6 Remove direct class pointer from JSObject, bug 690133. 2011-09-29 08:20:06 -07:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Makoto Kato
760958734d Bug 681202 - Add Android x86 target. r=glandium 2011-09-29 13:39:03 +09:00
Brian Hackett
e73941899c Remove shape numbers and Shape::slotSpan, factor Shape getter/setter into BaseShape, bug 684505. 2011-09-28 15:04:55 -07:00
Reuben Morais
b5b37104ac Bug 647390 - Remove the calloc+placement-new pattern (r=luke) 2011-09-28 09:17:51 -07:00
Felix Fung
047e9060cf Bug 674012 - Remove checks for HAVE_GCC3_ABI. r=glandium 2011-09-28 11:32:39 -07:00
Teemu Mannermaa
ab3d709d37 Bug 689157 - Fix CC variables used in "cl -showIncludes" detection logic. r=khuey 2011-09-29 15:20:51 +02:00
Makoto Kato
a1c2ba06b3 Bug 689288 - xpcshell\tests\js\src\xpconnect\tests\unit\test_attributes.js and test_params.js are perma-orange on Win64. r=bsmedberg 2011-09-29 18:43:50 +09:00
Jim Blandy
c5a26e35be (no bug): Fix comment reference to RejoinInterpreter (now js_InternalInterpret). r=bhackett
DONTBUILD
2011-09-28 15:40:23 -07:00
Luke Wagner
46803bb586 Bug 683361 - Fix part 6: add and call Proxy::objectClassIs (r=waldo)
--HG--
extra : rebase_source : b387bc288a45fc985df06ce2ca84823cf45803b3
2011-09-28 08:48:16 -07:00
Chris Leary
14bc4cf54d Bug 684039: rewrite JS LIFO allocator, avoids thrashing. (r=luke)
--HG--
rename : js/src/jsarena.h => js/src/ds/LifoAlloc.h
extra : rebase_source : 098bf9561114f82363ebd0862213acf952709257
2011-09-22 13:22:30 -07:00
Luke Wagner
edba706beb Bug 683361 - quell GCC over-warning from 90ff7402febc (r=me) 2011-09-27 23:20:46 -07:00
Luke Wagner
2ca10ad65e Bug 683361, part 5 - Handle transparent proxies correctly in [[Class]] == "X" queries (r=waldo)
--HG--
extra : rebase_source : 42d32c87f8cffc765649bbb5890009edfb4a4807
2011-09-20 16:48:50 -07:00
Luke Wagner
291999169a Bug 683361, part 4 - Handle transparent proxies correctly in non-generic methods (r=waldo)
--HG--
extra : rebase_source : 0f36c83685f2822453ce203a87cca4076222c48c
2011-09-08 21:18:23 -07:00
Luke Wagner
d8b2ca4ce3 Bug 683361, part 3 - add ProxyHandler::nativeCall (r=mrbkap)
--HG--
extra : rebase_source : 4494ddfc1e3f76bf550013c199a3f3b17a5e941f
2011-09-08 21:06:41 -07:00
Luke Wagner
2c8c55d13f Bug 683361, part 2 - use CallArgs more (r=waldo)
--HG--
extra : rebase_source : 0825a9729a7e24706e9fa1f3fdfb1586c475d8cf
2011-09-08 21:02:26 -07:00
Luke Wagner
7ff16e4820 Bug 683361, part 1 - Strip JS prefix from proxy names since they are already in namespace js (r=gal)
--HG--
extra : rebase_source : 5eded8e02c36991322c94fca1092970910c2ceea
2011-09-08 20:29:15 -07:00
Jeff Walden
224523470b Rewrite a very awkwardly worded comment describing the flat closure optimization. rs=cdleary over IRL 2011-09-27 16:35:41 -07:00