Commit Graph

23555 Commits

Author SHA1 Message Date
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
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