Jeff Walden
118086b8be
Bug 792108 - Implement JSCLASS_EMULATES_UNDEFINED to allow objects of a given class to act like the value |undefined| in certain contexts. Also add a TI flag for such objects, permitting us to assume that no objects use the flag until one is observed, also speeding up object-is-truthy tests when no falsy object is observed. r=jandem, r=bz
...
--HG--
extra : rebase_source : a76167661fffc26adf0e631d0b87c842b5fc0ed5
2012-09-15 11:19:54 -07:00
Benjamin Peterson
f91af4d7f2
Bug 821103 - Don't spit out strict warnings on non-strict code. r=njn
2012-12-17 19:11:44 -05:00
Masatoshi Kimura
2dcb7e6152
Bug 822094 - Part 1: Unwrap the transfable parameter if allowed. r=sfink
2012-12-17 17:43:45 -05:00
Gene Lian
f0473e1636
Bug 821633 - Alarm API - .getAll() need to wrap the objects respecting to the content window (part 1, ObjectWrapper.jsm and Cu.createDateIn()). r=sicking
2012-12-17 13:29:00 +08:00
Brian Hackett
d4f042754b
Bug 821735 - Cleanup/fix population and checking of register and slot information in safepoints, r=jandem.
2012-12-17 15:32:03 -07:00
Brian Hackett
cfb98cb9ff
Bug 821788 - Prevent elimination of phis and resume point operands for operands of inline calls, r=jandem.
2012-12-17 15:10:12 -07:00
Ed Morley
4fa304826b
Backout bc98fdc051f5 (bug 792108) for assertions on a CLOSED TREE
2012-12-17 21:35:12 +00:00
Steve Fink
f3f41134e7
Bug 821389 - Rooting for testLooselyEqual.cpp. r=terrence
...
--HG--
extra : rebase_source : f9190f387808dcacf86db265266f7bf7f7ca1ca2
2012-12-17 11:55:44 -08:00
Steve Fink
d8ac1e178e
Bug 817818 - Miscellaneous rooting fixes. r=terrence
...
--HG--
extra : rebase_source : 0b26361bc48a8c6879b85d9fa356e94f48b7b980
2012-12-17 11:55:15 -08:00
Steve Fink
c2dac7e840
Bug 821123 - do not assume the first rooter has been scanned. r=terrence
...
--HG--
extra : rebase_source : a59926b74388195337a066cb56786f119f7fe15c
2012-12-17 11:55:02 -08:00
Steve Fink
a4f77420ad
Bug 822409 - Need definition of JSFlatString. r=jimb
...
--HG--
extra : rebase_source : b74378ab44fe8a206b669159376998094ff609ea
2012-12-17 11:54:17 -08:00
Jeff Walden
c8cc474cd2
Bug 792108 - Implement JSCLASS_EMULATES_UNDEFINED to allow objects of a given class to act like the value |undefined| in certain contexts. Also add a TI flag for such objects, permitting us to assume that no objects use the flag until one is observed, also speeding up object-is-truthy tests when no falsy object is observed. r=jandem, r=bz
...
--HG--
extra : rebase_source : 0081cf0155a2ca30cee859db9dd9bf2e3374b204
2012-09-15 11:19:54 -07:00
Jim Mathies
10c1c2ce73
Bug 817881 - Move test plugin to dist/plugins, and touch up tests and test logic to support the change. r=glandium, dtownsend
2012-12-17 12:08:00 -06:00
Bill McCloskey
f802efe4fe
Bug 811587 - Limit scheduledForDestruction assert to brain transplants (r=luke)
...
--HG--
extra : rebase_source : 95c4634f5862508d8a798a9c651fd9aba808ca25
2012-12-17 11:27:48 -08:00
Nicholas Nethercote
faf60e4f57
Bug 821470 - Avoid calling TokenStream::strictMode() from the BytecodeEmitter. r=benjamin
...
--HG--
extra : rebase_source : 6099c1231425ca7b5fd5bf28ca9b712c840a31d2
2012-12-16 21:08:11 -08:00
Ed Morley
86fd28b774
Bug 820471 - Disable test_weakmaps.xul on Windows for too many intermittent failures
2012-12-17 13:21:18 +00:00
Bill McCloskey
6b7f52dc12
Bug 819635. r=bhackett
2012-12-16 19:59:51 -05:00
Masatoshi Kimura
816f18b1f1
Bug 818281 - Remove DOMClassInfo remnants from XMLHttpRequest. r=bz
2012-12-16 19:57:12 -05:00
Trevor Saunders
f8c71d8f54
bug 819215 - make NS_IMPL_CYCLE_COLLECTION_XXXCLASS unnecessary r=smaug, mccr8
2012-12-08 00:08:37 -05:00
Till Schneidereit
9522f0ec61
Bug 784293 - Support creating and lazily cloning arbitrary objects in self-hosted code. r=jwalden
...
--HG--
extra : rebase_source : fd34d2f604ee41e7e44307f3095227d202c8fb55
2012-10-10 22:53:51 +02:00
Jeff Walden
7146c23e80
Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger
2012-12-14 18:58:45 -05:00
Erick Dransch
a09d56895e
Bug 808286 - Use enum instead of JSBool for param to js_ErrorReportNumber. r=Waldo
2012-12-10 18:11:17 -08:00
Marty Rosenberg
736a1b4464
Don't spew uninitialized memory. (bug 822042, r=evilpie)
2012-12-15 16:38:36 -05:00
Boris Zbarsky
5f16f56da5
Bug 773911 part 1. Inline js::GetContextCompartment. r=waldo
2012-12-15 11:53:15 -05:00
Jan de Mooij
661c0f916b
Bug 821816 - Add INITELEM_ARRAY and use it instead of INITELEM in array literals. r=bhackett
2012-12-15 16:29:54 +01:00
Jan de Mooij
ce1bc41095
Bug 821707 - Refactor INITELEM code in the interpreter. r=jorendorff
2012-12-15 12:12:46 +01:00
Gary Kwong
026676d334
Bug 810767 - Update Valgrind flags in jit_test.py, r=njn
2012-12-14 22:09:58 -08:00
Phil Ringnalda
b840d01c48
Back out 96b591267cb3 (bug 745194) for test failures on a CLOSED TREE
2012-12-14 14:53:06 -08:00
Jason Orendorff
7979cd3ec3
Backout a567cc63a389 (bug 820180) due to red on Windows.
...
--HG--
extra : rebase_source : 83177da726fdd2945a3c3293b72c8c615ed7b25d
2012-12-14 15:29:02 -06:00
Kannan Vijayan
7e70419b9a
Bug 820084 - Fix handling of thisv value when top-level script is entered into via enterJIT. r=sstangl
2012-12-14 16:24:28 -05:00
Jason Orendorff
a98159093c
Bug 817368 - Map.prototype.{keys,values,entries}. r=luke.
...
--HG--
extra : rebase_source : c802c900efe40c7204747519868051e9fa085e99
2012-12-14 14:33:13 -06:00
Jason Orendorff
60824967d4
Bug 820180 - Isolate JS pseudorandom number generator state per compartment. r=luke.
...
--HG--
extra : rebase_source : 966bf5fd222b342a3ede69c68cb95d97568d98b7
2012-12-14 14:27:22 -06:00
Jason Orendorff
f8fbc8b1c9
Bug 745194 - [jsdbg2] Crash on Heap, trying to execute NULL, with Debugger forced return, methodjit, and GC. r=bhackett.
...
--HG--
extra : rebase_source : f5dbf256b10161f0859df94dcccec123415d7a4b
2012-12-14 13:48:46 -06:00
Sean Stangl
279790b352
Bug 808245, Part 6/6 - Add MatchOnly mode and lazify RegExpStatics. r=dvander
2012-12-12 18:11:28 -08:00
Sean Stangl
e3bdc88e36
Bug 808245, Part 5/6 - Use MatchPairs for RegExp output. r=dvander
2012-12-12 17:42:02 -08:00
Sean Stangl
123bfa85ad
Bug 808245, Part 4/6 - Compile RegExpShared at execution time. r=dvander
2012-12-12 17:23:04 -08:00
Sean Stangl
227fa29d29
Bug 808245, Part 3/6 - Merge RegExpCode into RegExpShared. r=dvander
2012-12-12 16:54:05 -08:00
Sean Stangl
60f9730397
Bug 808245, Part 2/6 - Remove the unused hackedSource RegExp type. r=dvander
2012-12-12 16:37:15 -08:00
Sean Stangl
b100af61f1
Bug 808245, Part 1/6 - Fix some nits, especially vim modelines. r=dvander
2012-12-12 16:31:49 -08:00
Jeff Walden
320df44ab6
Bug 823283 - Remove all remaining uses of JSRESOLVE_QUALIFIED, and the few remaining tests (which were pretty much purely diagnostic). r=luke
...
--HG--
extra : rebase_source : 51e2ac7ccc76be84d12600baeb6d458c2927bea7
2012-09-15 11:19:55 -07:00
Jeff Walden
0c31c1d351
Bug 823283 - Followup comment typo fix. r=lumpy
...
--HG--
extra : rebase_source : 06d73c3465c2e0f0ef105b505c06ac34930c23ff
2012-12-25 14:16:24 -05:00
Brian Hackett
c6a01859e2
Bug 814966 - Add backtracking register allocator, r=jandem.
2012-12-14 11:57:30 -07:00
Brian Hackett
6715b2cff1
Bug 821151 - Never call destructors for splay tree elements, r=luke.
2012-12-14 11:47:27 -07:00
Tom Schuster
64955d76e9
Bug 808148 -Implement experimental Math.imul. r=Waldo
2012-12-14 19:28:14 +01:00
Bill McCloskey
c9f25eed89
Bug 821493 - Change who is responsible for passing runtime to GCMarkers (r=terrence)
2012-12-13 14:48:55 -08:00
Terrence Cole
5197903f5d
Bug 816779 - Add some exact rooting assertions for JSScript; r=bhackett
...
--HG--
extra : rebase_source : e8318b572b481d68d3b17f6bbd18df297c2f2fc1
2012-11-29 10:22:12 -08:00
Till Schneidereit
58fc73176a
Bug 815010 - Create lazy interpreted function's script in the jsdbg API's JS_GetFunctionScript. r=luke
...
--HG--
extra : rebase_source : 3f326115a955bdb99789bf17a6ba1631c6ea3440
2012-12-10 15:46:52 +01:00
Brian Hackett
1daaf6608f
Bug 821151 - Add splay tree utility class, r=luke.
2012-12-14 09:53:52 -07:00
Jan de Mooij
6c6f6b95fe
Bug 821268 - Move NaNCond to the assembler. r=djvj
2012-12-14 09:51:11 +01:00
Nicholas D. Matsakis
b40acd8374
Bug 820676: Minor improvement. r=luke
2012-12-13 21:43:20 -08:00
Jim Blandy
d908449a9f
Bug 820692: JS GDB pretty-printers: find enum values correctly, whether GDB stores them as .bitpos or .enumval. DONTBUILD r=sfink
...
This patch also includes a fix for a minor error-printing bug in run-tests.py.
2012-12-13 21:03:22 -08:00
Nicholas D. Matsakis
785611b320
Bug 820676: Remove unreachable basic blocks from the control flow graph in
...
IonMonkey. r=jandem
2012-12-13 19:03:34 -08:00
Terrence Cole
3bbe19eef7
Bug 821551 - Correctly root all callers of elementWriteIsDenseArray; r=billm
2012-12-13 17:54:20 -08:00
Benjamin Peterson
5afc7cc636
Bug 821469 - Don't start compression thread if not requested. r=billm
2012-12-13 20:41:27 -05:00
Jason Orendorff
6a98092450
Tests for bug 744731, which luke accidentally fixed in rev b863ef9946b8. no_r=just-passing-tests.
...
--HG--
extra : rebase_source : e15699f34f19be134b952c6be826e6f0277b6d5c
2012-12-13 19:18:07 -06:00
Brian Hackett
d8eee7265d
Bug 820873 - Don't eliminate resume point uses of nodes which flow to phis, r=dvander
2012-12-13 17:44:25 -07:00
Brian Hackett
941a161781
Bug 821216 - Don't trigger off thread compilation with no threads available, r=dvander.
2012-12-13 15:27:07 -07:00
Till Schneidereit
75105f0e84
Bug 820390 - Implement AutoHashMapRooter and AutoObjectObjectHashMap. r=terrence
...
--HG--
extra : rebase_source : 5b6950ddae603ccdfabb7a6de0cd46b5c3d6331f
2012-12-13 22:50:56 +01:00
Boris Zbarsky
3076697db0
Bug 820862. JSJitInfo should say what sort of function it is. r=jandem
2012-12-13 17:08:43 -05:00
Terrence Cole
d6b9d83a60
Bug 816776 - Add debug-mode exact rooting assertions for Shape; r=sfink
...
--HG--
extra : rebase_source : fbd47f598964cbb03dcc782198c10164e09a26f2
2012-11-29 10:22:10 -08:00
Bill McCloskey
0c76f36845
Bug 816064 - Assert against NULL objects in deferred release (r=mccr8)
2012-12-13 11:18:41 -08:00
Benjamin Smedberg
38d848cbf1
Bug 776985 - libs-xpcshell-tests should not attempt to install backup files that end in ~, r=ted
...
--HG--
extra : rebase_source : 99524befd5c276a9028c778216425de20201fb6e
2012-07-25 10:26:41 -04:00
Brian Hackett
6b138b7b7d
Bug 813671 - ModI should not clobber input register, r=jandem.
2012-12-13 09:20:38 -07:00
Brian Hackett
358b0f0abc
Bug 814396 - CharCodeAt OOL call should not rejoin in the middle of the inline path, r=jandem.
2012-12-13 09:12:41 -07:00
Jan de Mooij
9ea1cdcde1
Bug 820816 - Refactor call object creation to not require a StackFrame. r=luke
2012-12-13 13:19:32 +01:00
Jon Coppeard
e91232b5a9
Bug 820871 - GC: Validate gray marking r=billm
...
--HG--
extra : rebase_source : 932c1be89d941714d4b4f4ab1b01509395d35749
2012-12-10 13:42:41 +00:00
Jon Coppeard
bbfebabe74
Bug 820422 - GC: Store buffered gray roots per-compartment r=billm
...
--HG--
extra : rebase_source : 0fb2e6d96c8a4cb91c045444be0ff12bf5eb4010
2012-12-11 17:03:44 +00:00
Jan de Mooij
a6d2f47035
Bug 820105 - Add callWithABI overload that takes the callee as Address. r=dvander
2012-12-13 09:33:15 +01:00
Robert O'Callahan
ddc6a67d43
Backing out bug 815010 due to test failures
2012-12-13 16:06:34 +13:00
Robert O'Callahan
83ad6aadb3
Backed out changeset 531eb76b7ab6 (bug 815010) due to major test bustage
2012-12-13 16:06:06 +13:00
Jim Blandy
f3b275a9f7
bug 820691: Don't use GDB's --python option to run JS pretty-printer tests; newer GDBs don't have that option. DONTBUILD r=sfink
2012-12-12 18:09:50 -08:00
Jim Blandy
affa256eba
Bug 819525: JS GDB pretty-printers: Don't trip over tagless structs. DONTBUILD r=sfink
2012-12-12 18:09:50 -08:00
Till Schneidereit
bbc14dabde
Bug 815010 - Create lazy interpreted function's script in the jsdbg API's JS_GetFunctionScript. r=luke
...
--HG--
extra : rebase_source : 937a9c607b5f703463539fffb1f298e61a6fd53b
2012-12-10 15:46:52 +01:00
Till Schneidereit
f782ba3600
Bug 819702 - apply de-macroization and de-constification form JS2C to selfhosted.js. r=shu DONTBUILD
...
--HG--
extra : rebase_source : 68579a8050c1ad7a1bc59cd2c4fdc450ec8faa74
2012-12-13 02:10:34 +01:00
Bobby Holley
3fcdd84451
Bug 818716 - Move XBL detection into nsContentUtils and remove filename hack. r=mrbkap
2012-12-12 17:09:37 -08:00
Bobby Holley
b9b954824f
Bug 820666 - Tag XBL script for <field> elements and child scripts. r=jorendorff
2012-12-12 17:09:37 -08:00
Terrence Cole
ccf9451d1a
Bug 821013 - Exactly rooting IonBuilder::jsop_initelem; r=billm
...
--HG--
extra : rebase_source : 6616c002c039b92dacbd5b5ef76ee320af8073dd
2012-12-12 15:01:36 -08:00
Bill McCloskey
06ed6fc353
Bug 819443 - Fix compile error (r=red)
2012-12-12 13:44:33 -08:00
Bill McCloskey
bd1e47165c
Bug 819443 - Make sure we don't finalize on background thread (r=luke)
2012-12-12 13:17:45 -08:00
Bill McCloskey
17f16ce86d
Bug 819443 - Fix some enums (r=terrence)
...
--HG--
extra : rebase_source : f6d9342a5b077c5691cefa8eeb760e6527855290
2012-12-12 13:17:43 -08:00
Bill McCloskey
5bccb8cdf0
Bug 782818 - Temporarily enable compartment assertions (r=luke)
2012-12-12 12:59:51 -08:00
Brian Hackett
7eab3ec7a5
Bug 819329 - Use AutoFlushCache when attaching finished compilations, r=dvander.
2012-12-12 13:18:00 -07:00
Justin Lebar
822f4ee221
Bug 820540 - Build more things with -funwind-tables when DMD is enabled on ARM. r=glandium
...
This allows our backtraces to trace into more files.
As part of this fix, fix typo in gfx/cairo/cairo/src/Makefile.in introduced in bug 785422.
2012-12-12 11:15:35 -05:00
Benjamin Peterson
bd0c6115e7
Bug 819509 - Rename almost everything dealing with strict mode to just |strict|. r=njn
...
--HG--
extra : rebase_source : b9698ec5c0fee259ca84aa29ec15118509d9e86f
2012-12-12 01:37:34 -05:00
Benjamin Peterson
7044ad9b09
Bug 819509 - Reduce possible tokenizer lookahead. r=njn
...
--HG--
extra : rebase_source : 85362ff2f4703c23cb5a46cef5fa837a4d8f8240
2012-12-12 01:35:26 -05:00
Benjamin Peterson
1b37e03c8c
Bug 819509 - Remove old strict mode code and simplify. r=njn
...
--HG--
extra : rebase_source : bc45b3d5c6229042512a8079ec9941e86df8a4c5
2012-12-12 01:35:17 -05:00
Benjamin Peterson
5447f78806
Bug 819509 - Make strictness a boolean. r=njn
...
--HG--
extra : rebase_source : c27dcc98cf86d2550590e097f484a15bd26e89a3
2012-12-12 01:35:12 -05:00
Benjamin Peterson
d142cbe071
Bug 819509 - Reimplement banning of XML in defaults. r=njn
...
--HG--
extra : rebase_source : c6caca04941cd93ccc19414cb1f15bccf686f49c
2012-12-12 01:35:06 -05:00
Benjamin Peterson
77dac08f38
Bug 819509 - Reparse functions if we discover they are strict. r=njn
...
--HG--
extra : rebase_source : ab04928f5922e6785f32dcd802b2474525981e99
2012-12-12 01:35:05 -05:00
Benjamin Peterson
8cbbec8014
Bug 819509 - Make some JSFunction setters idempotent. r=njn
...
--HG--
extra : rebase_source : 71dab04f49a84d1d3108d610e33fa7e06a18a143
2012-12-12 01:34:46 -05:00
Benjamin Peterson
b43c7084b8
Bug 819509 - Make the tokenizer record if it sees an octal escape. r=njn
...
--HG--
extra : rebase_source : 924bbbfe3fdcad5c4334f2bf6cbb91763fced512
2012-12-12 01:34:35 -05:00
Benjamin Peterson
c80d3162ca
Bug 819509 - Minimal tokenizer support for seek and tell. r=njn
...
--HG--
extra : rebase_source : 0689ce098094157e1dc9967e86bf30b42a75622c
2012-12-12 01:34:29 -05:00
Mike Hommey
7a281758d5
Bug 780448 - Add rules for generic python unit tests. r=ted
2012-12-12 16:01:32 +01:00
Mike Hommey
400ba91116
Bug 820724 - Add support for more elaborate expressions for Preprocessor.py. r=ted
2012-12-12 16:00:40 +01:00
Tom Schuster
ce2db82e4a
Bug 812446 - Optimize str[double], str.char[Code]At(double). r=nbp
2012-12-12 13:21:41 +01:00
Jon Coppeard
853469c636
Bug 817343 - GC validation isn't happening r=billm
...
--HG--
rename : dom/tests/browser/browser_ConsoleStoragePBTest_perwindowpb.js => dom/tests/browser/browser_ConsoleStoragePBTest.js
rename : toolkit/components/places/tests/browser/browser_visituri_privatebrowsing_perwindowpb.js => toolkit/components/places/tests/browser/browser_visituri_privatebrowsing.js
extra : rebase_source : 7deb5ea796a0dfd68a3baa5b616af5ec98db545f
2012-12-05 17:55:26 +00:00
Nicolas B. Pierron
d8fe3007ea
Bug 800862 - Unwind bailouts exception with the interpreter. r=dvander
2012-12-11 20:45:01 -08:00
Nicholas Nethercote
5aca577162
Bug 816250 - Make it harder to break the JSScript size constraints. r=luke.
2012-12-11 17:48:40 -08:00
Terrence Cole
1f312f6f66
Bug 819118 - Use accessor rather than direct script access; r=billm
...
This abstracts the requirement to manually cast from HeapPtr to Unrooted.
2012-12-05 14:21:44 -08:00
Kyle Huey
947106a519
Bug 811615: Enable chrome code to create a new File object by wrapping an existing Blob and provide a custom name/type. r=sicking a=basecamp-blocking
2012-12-11 13:21:03 -08:00
Ms2ger
ac97224f7a
Bug 776539 - Move FormData to Paris bindings; r=bz
2012-12-11 19:09:56 +01:00
Mike Hommey
dca27bb5bb
Bug 755724 - Use DIST_SUBDIR for XPIs too. r=ted
2012-12-11 16:37:07 +01:00
Mike Hommey
7faae537f1
Bug 820289 - Quote paths in install/preprocessing/mkdir "magic" rules. r=ted
2012-12-11 16:36:40 +01:00
Mike Hommey
d52dad1185
Bug 820351 - Use pymake native touch in config/makefiles/autotargets.mk. r=ted
2012-12-11 16:36:39 +01:00
Jeff Walden
e753142a19
Bug 805121 - Be more careful checking math to avoid incorrect behaviors. r=terrence
2012-10-31 15:07:59 -07:00
Ed Morley
afe82ab291
Backout 194d8f675d2d & 251a18603db4 (bug 811615) for xpcshell and mochitest failures
2012-12-11 13:09:38 +00:00
Kyle Huey
9b92167718
Bug 811615: Enable chrome code to create a new File object by wrapping an existing Blob and provide a custom name/type. r=sicking a=basecamp-blocking
2012-12-11 03:54:08 -08:00
Hannes Verschore
fa92ccc83d
Bug 816492: Add testcase, r=testcase
2012-12-11 12:51:13 +01:00
Hannes Verschore
d4c37ed4f4
Bug 819797: Create script for lazy functions before using the script, r=dvander
2012-12-11 12:22:06 +01:00
Hannes Verschore
fe2c0df0a9
Bug 819797: Don't use range information when range analysis is disabled, r=bhackett
2012-12-11 12:22:03 +01:00
Hannes Verschore
d75d66b99a
Bug 813773: Increase speed of calls with unknown function target using IM to IM fastpath, r=nbp,sstangl
2012-11-27 22:03:37 +01:00
Hannes Verschore
cdfe72685c
Bug 819299: Add handling of MagicValue(JS_IS_CONSTRUCTING) to MCreateThis, r=dvander
2012-12-09 22:57:01 +01:00
Till Schneidereit
fa7b8b7f31
Bug 819700 - Part 4: Followup for a bug introduced in Part 1. r=ms2ger
...
--HG--
extra : rebase_source : f2dc7ac7d6c2e74a8a3eb01e61541a7162ad8833
2012-12-11 10:40:25 +01:00
Till Schneidereit
7a588e2984
Bug 819700 - Part 3: Cleanup of intrinsics naming and arguments order of callFunction. r=shu
2012-12-11 09:48:42 +01:00
Till Schneidereit
b596355508
Bug 819700 - Part 2: Remove support for the "%FunName" syntax in self-hosted code. r=shu
2012-12-11 09:48:42 +01:00
Till Schneidereit
b0cc210f52
Bug 819700 - Part 1: Move all self-hosting code from jscntxt.cpp to vm/SelfHosting.cpp. r=luke
2012-12-11 00:58:42 +01:00
Nicholas Nethercote
0d84313efb
Bug 717853 - Add a native version of DMD. r=jlebar,glandium.
...
--HG--
extra : rebase_source : 9b824556591abd63b42aa7ff823e9cd25976c162
2012-12-10 16:05:07 -08:00
Steve Fink
6e6bee80b5
Bug 817812 - Fix --enable-root-analysis compile. r=terrence
...
The recent jsgc.cpp splitup removed some functions that my rooting analysis optimization depended on. This patch exposes a simplified IsAddressableGCThing overload and uses it.
--HG--
extra : rebase_source : a9295ec574824462d3b8c0c9f7bca3a4baec1300
2012-11-30 16:04:42 -08:00
Blake Kaplan
16f5dc38bc
Bug 820185 - Fix the copy constructor to not use uninitialized members. r=bent
...
--HG--
extra : rebase_source : bef21925492ded3580021e3546b6117bb8a6639e
2012-12-10 16:12:49 -08:00
Sean Stangl
0281a13d0d
Bug 807464 - Increase Ion script size limit to 2000. r=dvander
2012-12-10 15:27:47 -08:00
Kannan Vijayan
bd0ecc3268
Bug 819611 - test case. r=gkw
2012-12-10 16:41:07 -05:00
Terrence Cole
ced5b24cdc
Bug 820080 - Don't limit test count to be less than 10,000; r=sfink
...
Running jittests with --tbpl broke because of this limitation.
--HG--
rename : layout/reftests/backgrounds/background-referrer-ref.html => image/test/reftest/generic/accept-image-catchall-ref.html
rename : layout/reftests/backgrounds/background-referrer.html => image/test/reftest/generic/accept-image-catchall.html
rename : layout/reftests/backgrounds/background-referrer.sjs => image/test/reftest/generic/check-header.sjs
rename : layout/reftests/backgrounds/background-referrer-image.png => image/test/reftest/generic/green.png
rename : toolkit/components/places/tests/browser/favicon-normal16.png => toolkit/components/places/tests/favicons/favicon-normal16.png
rename : toolkit/components/places/tests/browser/browser_favicon_setAndFetchFaviconForPage_failures.js => toolkit/components/places/tests/favicons/test_setAndFetchFaviconForPage_failures.js
extra : rebase_source : e5d099dc930b865014441e1dff06f3d75f1aef88
2012-12-10 13:11:04 -08:00
Kannan Vijayan
d48d1f6a7d
Bug 819611 - Dont attach scall-StrictPropertyOp-setter stubs for SetProps on non-writable properties. r=dvander
2012-12-10 15:48:54 -05:00
Brian Hackett
7d1ac71bab
Bug 815258 - add missing cloneTypeSet(), r=dvander
2012-12-10 12:08:09 -07:00
Brian Hackett
bacc5d530d
Remove bytecode uses analysis, keep track of SSA values that were folded away when building MIR, bug 818869. r=jandem
2012-12-10 12:02:31 -07:00
Ryan VanderMeulen
7235f1bb84
Backed out changeset 51f84c093747 (bug 805121) for test failures.
2012-12-10 11:07:18 -05:00
Jeff Walden
705ffec92b
Bug 805121 - Be more careful checking math to avoid incorrect behaviors. r=terrence
2012-10-31 15:07:59 -07:00
Ralph Giles
a2d849874c
Bug 815931 - Fix up valgrind stack-scan annotations. r=terrence
...
Conditionalize on MOZ_VALGRIND instead of aliasing it to JS_VALGRIND, and add includes for the memcheck macros. The memcheck header is removed from jsgc.cpp, where is is no longer necessary.
2012-12-06 13:19:58 -08:00
Brian Hackett
44ff0d6f9c
Improve loading elements from arrays with holes on x86, bug 727857. r=sstangl
2012-12-10 06:18:43 -07:00
Makoto Kato
e478224aa6
Bug 817960 - cannot build AssemblerBufferWithConstantPool.h using clang 3.1 in NDK r8c. r=mrosenberg
2012-12-10 14:05:45 +09:00
Hannes Verschore
776376531d
Backed out changeset f1a9592618ec due to orange
2012-12-10 00:48:59 +01:00
Hannes Verschore
e9c221edf3
Backed out changeset 82e13120f8b9 due to orange
2012-12-10 00:46:43 +01:00
Hannes Verschore
0c7b909240
Bug 813773: Enable IM to IM fastpath for constructing calls, r=nbp,sstangl
2012-11-27 22:03:37 +01:00
Hannes Verschore
d9768d1f83
Bug 819299: Add handling of MagicValue(JS_IS_CONSTRUCTING) to MCreateThis, r=dvander
2012-12-09 22:57:01 +01:00
Ehsan Akhgari
6a8d44025c
Merge mozilla-central into mozilla-inbound
2012-12-09 12:40:04 -05:00
Saurabh Anand
c9e3659e16
Bug 818817 - Fix some compiler warnings, r=Ms2ger
2012-12-09 22:53:19 +05:30
Mike Hommey
ec5aefdc0a
Bug 818903 - Link with --build-id when available. r=ted
2012-12-09 09:34:01 +01:00
Nicolas B. Pierron
68850f3566
Bug 807443 - IonMonkey, Compile named lambdas. r=dvander
2012-12-08 18:28:47 -08:00
Brian Hackett
dc306f9d2a
Tweak locations where compiled chunks begin/end, bug 808481. r=dvander
2012-12-08 16:14:15 -07:00
Saurabh Anand
2eaca62ca5
Bug 814562 - Implement clear() on WeakMaps
2012-12-09 04:27:58 +05:30
Brian Hackett
102ffc76e9
Improve check that code will not be preserved in mjitChunkLimit(), bug 808349. r=dvander
2012-12-08 12:16:44 -07:00
Marty Rosenberg
35c0a9b4a5
Attempt to fix the issues by disabling IM when we run into a corner case, rev 3, looks good on try (bug 805299, r=dvander)
2012-12-02 22:21:57 -05:00
Terrence Cole
a98057a10f
Backout 4356739a6f44 for breakage.
2012-12-07 17:15:57 -08:00
Terrence Cole
6704d9eebf
Bug 819118 - Use accessor rather than direct script access; r=billm
...
This abstracts the requirement to manually cast from HeapPtr to Unrooted.
--HG--
rename : browser/components/tabview/test/browser_tabview_privatebrowsing_perwindowpb.js => browser/components/tabview/test/browser_tabview_privatebrowsing.js
rename : layout/reftests/backgrounds/background-referrer-ref.html => image/test/reftest/generic/accept-image-catchall-ref.html
rename : layout/reftests/backgrounds/background-referrer.html => image/test/reftest/generic/accept-image-catchall.html
rename : layout/reftests/backgrounds/background-referrer.sjs => image/test/reftest/generic/check-header.sjs
rename : layout/reftests/backgrounds/background-referrer-image.png => image/test/reftest/generic/green.png
extra : rebase_source : 5a04a709fa1042509d1d2aa3cbd0cf8f2a0b012b
2012-12-05 14:21:44 -08:00
Terrence Cole
07a8807f72
Bug 819553 - Remove unused JS_UndependString getCharsZ user; r=luke
2012-12-07 12:33:19 -08:00
Bobby Holley
2db9f70258
Bug 813901 - Validate __exposedProps__. r=mrbkap
...
This also involves modifying test_cows to deep clone in getCOW.
2012-12-07 14:49:11 -08:00
Bobby Holley
12044005c7
Bug 813901 - Throw COW exceptions in the wrapper's scope. r=mrbkap
2012-12-07 14:49:11 -08:00
David Anderson
9d6bdb756f
Turn PGO off for various functions (bug 791214, r=jandem).
2012-12-07 14:01:40 -08:00
Jason Orendorff
78e9d780b0
Fix some comments about JSRuntime::gcLock. No bug#, rs=billm over IRC.
2012-12-07 12:51:02 -06:00
Kannan Vijayan
7c5434bd42
Bug 819393 - Refactor BoxNonStrictThis. r=jorendorff
2012-12-07 13:02:04 -05:00
Marty Rosenberg
b92fbcf202
Port IM to armhf (bug 802358, r=jbramley)
2012-12-07 11:12:18 -05:00
Marty Rosenberg
0c71491d98
Don't hoist typeguards that are guaranteed to bail. (bug 818791, r=dvander) (also fix a comment for mrbkap)
2012-12-07 11:12:16 -05:00
Nicholas D. Matsakis
92b19b1f77
Bug 818247: Modify thread pool to (1) not spawn threads if useHelperThreads()
...
is false and (2) spawn threads lazilly. r=billm
2012-12-07 05:27:57 -08:00
Mike Hommey
95d176978d
Bug 804303 part 1 - Cleanup how the mozjemalloc/jemalloc3 glue is set up, attempting to make it clearer. r=jlebar,r=khuey
...
--HG--
rename : memory/build/extraMallocFuncs.c => memory/build/jemalloc_config.c
rename : memory/mozjemalloc/jemalloc.h => memory/build/mozmemory.h
rename : memory/build/extraMallocFuncs.c => memory/build/mozmemory_wrap.c
2012-12-07 09:32:24 +01:00
Steve Fink
7596fd6977
Bug 811050 - Intialize stolen ArrayBuffer data. r=billm
2012-11-13 16:20:43 -08:00
Jeff Walden
d70294271f
GC some sharp-variable js.msg entries that have probably been unused since sharp variables were removed. No bug, rs=lumpy, salting the ground
...
--HG--
extra : rebase_source : 29b522e6debcee7d6009d585f138a0e2d89e7ed2
2012-12-03 16:12:12 -08:00
Jeff Walden
5b328e2898
Back out 75e0d521bc2b, breaks standalone JS builds on Linux, at the very least. No bug, r=bustage
...
--HG--
extra : rebase_source : bbc50bca64c951f22e5b31d06717de5581d24b58
2012-12-06 17:08:01 -08:00
Bill McCloskey
09086dd412
Bug 747066 - Add vtable assertion (r=bz)
...
--HG--
extra : rebase_source : e989536ee950152925c353c26ead9a56adea2baa
2012-12-06 17:11:45 -08:00
Ehsan Akhgari
33068537f7
Backed out changeset 747b04228fa6 (bug 807443) because of crashes on a website when scrolling
2012-12-06 19:58:21 -05:00
Bill McCloskey
417249e590
Bug 747066 - Inline xpc_UnmarkGray (r=terrence)
...
--HG--
extra : rebase_source : 260e28983e892928daee5e661f52a66d7e6cd30a
2012-11-28 17:03:54 -08:00
Ian Stakenvicius
efd606d6fe
Bug 809430 - Add symbol-versions to libxul and libmozjs for linux. r=glandium
2012-12-06 16:21:02 -05:00
Peter Van der Beken
a5de435427
Fix for bug 818219 (Replace HTMLElement quickstubs with new binding methods). r=bz.
...
--HG--
rename : layout/reftests/backgrounds/background-referrer-ref.html => image/test/reftest/generic/accept-image-catchall-ref.html
rename : layout/reftests/backgrounds/background-referrer.html => image/test/reftest/generic/accept-image-catchall.html
rename : layout/reftests/backgrounds/background-referrer.sjs => image/test/reftest/generic/check-header.sjs
rename : layout/reftests/backgrounds/background-referrer-image.png => image/test/reftest/generic/green.png
rename : toolkit/components/places/tests/browser/browser_favicon_setAndFetchFaviconForPage.js => toolkit/components/places/tests/favicons/test_setAndFetchFaviconForPage.js
extra : rebase_source : 45715d6abe3155a6bcd1d21e5cc3f7b048180eb6
2012-11-26 15:19:02 +01:00
Jim Blandy
a43ba24aea
Bug 815045: Delete JOF_TYPE_IS_EXTENDED_JUMP; it is unused. Fix comment in js::frontend::AddToSrcNoteDelta. r=luke
2012-12-06 13:00:55 -08:00
Jim Blandy
bd52abcd05
Bug 815468: BaseProxyHandler::iteratorNext is never used; delete it. r=luke
2012-12-06 13:00:55 -08:00
Boris Zbarsky
d1c8d3b88e
Bug 815803. Now that JSSLOT_PROXY_PRIVATE == 0, simplify binding code that had to deal with different slot indices on proxy and non-proxy objects. r=peterv
2012-12-06 15:21:19 -05:00
Boris Zbarsky
c3afd4c569
Bug 803606. Reverse the order of JSSLOT_PROXY_HANDLER and JSSLOT_PROXY_PRIVATE. r=waldo
2012-12-06 15:21:19 -05:00
Boris Zbarsky
f6e486d716
Bug 816842. Clean up jsval return values in quickstubs a bit. r=bholley
2012-12-06 15:21:18 -05:00
Bill McCloskey
c48589384d
Bug 810169 - Extra marking for JSContext::global() (r=luke)
...
--HG--
extra : rebase_source : 573ec5d6efb8ba5e5b4ecb0c459ab6160543d1bc
2012-12-05 17:44:49 -08:00
Terrence Cole
11bdd71483
Bug 818944 - Share progressbar code between js test suites; r=sfink
2012-12-06 09:48:08 -08:00
Ehsan Akhgari
4e4ec52654
Merge mozilla-central into mozilla-inbound
2012-12-06 13:13:33 -05:00
Mike Hommey
097fa29aa1
Bug 818092 - Properly use CC/CXX from mozconfig on non-cross-compile Mac builds. r=ted
2012-12-06 17:06:37 +01:00
Terrence Cole
a742e2bb8f
Bug 817091 - Merge Unrooted<T> and Return<T>; r=billm
...
After Bug 811168, Unrooted<T> and Return<T> perform the same assertions and
allow the same implicit casts. Given this and the performance impact of keeping
Return<T> as a struct, it would be better to just merge these two classes.
--HG--
extra : rebase_source : 173ab623c21b3da9b693b56a33f72aa8efef7b87
2012-12-04 11:10:53 -08:00
Tom Schuster
86e9485ee7
Bug 818138 - On x64 optimize push with small pointer immediates. r=jandem
2012-12-06 16:33:35 +01:00
Tom Schuster
643f882ee6
Bug 818414 - CodeGenerator::visitValueToInt32 generates suboptimal code. r=jandem
2012-12-06 16:33:30 +01:00
Peter Van der Beken
e2dae3625c
Back out 79fc9d732bf7 (bug 818219) for orange.
...
--HG--
extra : rebase_source : 862b4c446f9b454c4c72e7536e73b9d9ede9feb6
2012-12-06 16:09:55 +01:00
Peter Van der Beken
56e664510b
Fix for bug 818219 (Replace HTMLElement quickstubs with new binding methods). r=bz.
...
--HG--
extra : rebase_source : ddbedbaea030272ce8fc1ac7245175f7fd3edaa4
2012-11-26 15:19:02 +01:00
Jon Coppeard
81d4577b37
Bug 817614 GC: Fix minor issue with GC zeal mode and add tests r=billm
...
--HG--
extra : rebase_source : c5e87721d98c66b84d15d083a68bb0233f513192
2012-12-03 17:35:10 +00:00
Jon Coppeard
95a68422ba
Bug 817002 - Crash [@ js::shadow::Object::numFixedSlots] or "Assertion failure: (l.asBits & 0x8000000000000000LL) == 0," or "Assertion failure: JSVAL_IS_DOUBLE_IMPL(data)," r=sfink
...
--HG--
extra : rebase_source : cea1838a5196dc414cb2f944e151d14e7527d515
2012-12-04 17:30:30 +00:00
Nicolas B. Pierron
92421f7e34
Bug 811111 - Ensure that no GC happen during bailouts. r=terrence
2012-12-05 16:26:47 -08:00
Brian Smith
8b3350f6d2
Bug 772365, Part 1: Implement JARSignatureVerification, r=honzab, parts r=ehsan
...
* * *
Bug 772365, Part 2.1: Generate test cases for signed app signature verification
* * *
Bug 772365, Part 2.2: Test JAR signature verification
--HG--
extra : rebase_source : 198be789e8b1565dad418e15760fa6dc90da843f
2012-11-14 15:31:39 -08:00
Nicolas B. Pierron
4df310e2f0
Bug 807443 - IonMonkey, Compile named lambdas. r=dvander
2012-12-05 22:51:52 -08:00
Jim Mathies
4b5bd2fb0c
Bug 817076 - Update package manifests to new service locations and key PREF_DIR location off DIST_SUBDIR. r=glandium
2012-12-05 16:36:15 -06:00
Jim Mathies
0c8f97af4e
Bug 817076 - Update xpcshell's NS_APP_PREFS_DEFAULTS_DIR_LIST so that it returns the app dir if specified. r=glandium
2012-12-05 16:35:34 -06:00
Bill McCloskey
14126c37f3
Bug 817493 - Address review comments (r=jonco)
2012-12-05 13:21:00 -08:00
Brian Hackett
2aa9efa18a
Fix test for incremental GC when triggering off thread compilation, bug 817635. r=billm
2012-12-05 09:54:57 -07:00
Nicolas B. Pierron
1e30c860c2
SpiderMonkey: Cancel GCC compilation noise. no bug r=jandem
2012-12-05 01:56:17 -08:00
Nicolas B. Pierron
37d3b0fa31
Bug 807461 - IonMonkey: Support JSOP_CONDSWITCH. r=h4writer
2012-12-05 00:14:44 -08:00
Bill McCloskey
aaa9a6c9d8
Bug 817493 - Use templates for compartment group finder (r=jonco)
...
--HG--
rename : js/src/gc/FindSCCs.cpp => js/src/gc/FindSCCs-inl.h
extra : rebase_source : 7e615cdbf19930171de3ae6ac7c960d4e59a46ec
2012-12-04 11:31:41 -08:00
Bill McCloskey
6bfd4379b9
Bug 817341 - Differentiate marking and sweep-marking in GC stats (r=jonco)
2012-12-04 18:29:45 -08:00
Benjamin Peterson
aa43825f66
No bug - Remove extra comma which gcc dislikes. r=me
2012-12-05 00:09:27 -05:00
Benjamin Peterson
b90a600d03
Bug 817452 - Remove AutoRelease[Nullable]Ptr. r=njn
2012-12-05 00:09:15 -05:00
Nicolas B. Pierron
7a071fabd7
Bug 810253 - Add tests and comments. r=dvander
2012-12-04 18:10:05 -08:00
Chris Peterson
6b00e891cd
Bug 818245 - Part 2: Mark some functions as static and capitalize their names in Assembler-arm.cpp. r=dvander
2012-12-03 16:17:23 -08:00
Chris Peterson
4f91a7d146
Bug 818245 - Part 1: Fix "NULL used in arithmetic" warnings in Assembler-arm.cpp. r=dvander
2012-12-03 16:07:15 -08:00
Jim Blandy
4be2be38bd
(no bug): Fix js/src/gdb/README. DONTBUILD
2012-12-04 11:38:33 -08:00
Rafael Ávila de Espíndola
86e6f515d8
Bug 803184 - Remove .cfi_sections .debug_frame. r=ted.
2012-12-04 15:15:05 -05:00
Andrew McCreight
bf4449f2b7
Bug 792861 - Make HoldJSObjects/DropJSObjects infallible. r=smaug
2012-11-12 17:15:00 -08:00
Tom Schuster
688299e293
Bug 797970 - Use stdint types in IonMonkey. r=jandem
2012-12-04 19:10:23 +01:00
Jim Blandy
0a3912edfc
Bug 506717: GDB pretty-printing support for SpiderMonkey. r=sfink,ted
2012-12-04 08:47:57 -08:00
Jason Orendorff
654db152e3
Bug 800586 - jsdbg2: Compartment assertion when calling direct eval from evalInGlobal code. r=jimb.
...
--HG--
extra : rebase_source : 520a13dcb9998dd24d65028f8c4613b7159b9961
2012-12-03 17:23:57 -06:00