Jason Orendorff
96ea0a4cf3
[revised per backout affc2782a250, jimb] Implement simple Map and Set builtins for JS. Bug 697479, r=jimb.
2011-12-08 21:04:10 -08:00
Brian Hackett
919522b206
Ensure consistent warnings when accessing undefined names, bug 706240. r=waldo
2011-12-08 19:50:09 -08:00
Brian Hackett
73697fd6b9
Avoid sharing owned base shapes between multiple shapes, bug 707842. r=luke
2011-12-08 19:37:17 -08:00
Christian Holler
215169273c
Ensure a consistent enumeration order when compiled in deterministic mode, bug 707017. r=luke
2011-12-08 19:28:36 -08:00
Brian Hackett
ddc8a34dc4
Refine shape changes done to preserve teleporting invariant on prototype changes, bug 707515. r=luke
2011-12-08 19:23:31 -08:00
Rafael Ávila de Espíndola
9f592f7c37
Bug 708851 - Any gcc that supports firefox support -pipe.
2011-12-08 22:16:06 -05:00
Nicholas Nethercote
6bbcf3b4f8
Bug 704400 - Implement --enable-dmd. r=khuey.
2011-12-08 19:09:36 -08:00
David Anderson
70cd428848
Cap objects to a saner memory limit (bug 705855, r=dmandelin).
...
--HG--
extra : rebase_source : 551bbcee86d617f3a55a0a3274083ae54af4b294
2011-12-08 17:46:39 -08:00
Ed Morley
5cf4a6e5bb
Backout edecc56b7c80 and ad8aee962832 (bug 697479) for check-jit-test failures
2011-12-09 01:47:42 +00:00
Jason Orendorff
d8479955ac
Add missing file and fix for bug 697479 (rev ad8aee962832 added failing tests). No bug#, r=orange.
...
--HG--
extra : rebase_source : b104347e7f77f0856cdf1e83b923dfab74f1c8d9
2011-12-08 19:05:52 -06:00
Chris Leary
8180eaa298
Bug 708873: Write unescape to match spec w/minor optimization. (r=Waldo)
2011-12-08 16:30:56 -08:00
Jason Orendorff
a54ab57307
Credit where it's due. No bug#, rs=jimb on IRC.
2011-12-08 17:59:59 -06:00
Jason Orendorff
b80608d22d
Implement simple Map and Set builtins for JS. Bug 697479, r=jimb.
2011-12-08 17:54:51 -06:00
Jason Orendorff
4171459713
Remove all mentions of imacros from js/src. Bug 708836, r=sfink.
2011-12-08 16:17:55 -06:00
Jim Blandy
8a555925f7
Bug 708838: Use findReferences instead of countHeap to make js1_8/extensions/regress-422269.js fail less randomly. r=jwalden
...
The SpiderMonkey test js/src/tests/js1_8/extensions/regress-422269.js fails
randomly, because it requires a certain object to be garbage-collected to
pass. With a conservative stack scanner, an object being retained is not
necessarily a bug, and in general, the engine makes no promises about which
objects it retains and which it doesn't.
The JavaScript shell's new findReferences function allows us to find all GC
edges referring to the object, and filter out ones we know to be benign.
This patch changes the test to use findReferences.
2011-12-08 14:51:35 -08:00
Rafael Ávila de Espíndola
6e5258a9d9
Bug 708065 - Fix configure check for -pipe. r=ted.
...
With the shell used on OS X, the test we were trying to compile was
#include <stdio.h>
int main() { printf("Hello World
"); exit(0); }
which fails.
2011-12-08 17:01:21 -05:00
Jason Orendorff
ec5523388f
A first cut at Debugger.Environment. Bug 690558, r=jimb.
...
--HG--
extra : rebase_source : 3cafc4e635f11b3219285fdf6fad952c15765f96
2011-12-08 14:54:26 -06:00
Jason Orendorff
be34d19756
Remove the last comment referring to imacros. No bug#, no_r=me.
...
--HG--
extra : rebase_source : ec684275939472f47dd5faee69c3b4023483d6e2
2011-12-08 14:28:13 -06:00
Jason Orendorff
7f42789ca7
Fix JS_TraceChildren crash triggered by findReferences. Bug 708261, r=jimb.
...
--HG--
extra : rebase_source : 336ebf499834345d364955000977a952014ea2bb
2011-12-08 14:23:31 -06:00
Jason Orendorff
3b59ea88cc
Remove another dead local variable so JS can build without warnings on GCC. No bug#, no_r=me.
...
--HG--
extra : rebase_source : 6f76525855ffc9a8b02ba9770109b490b9bde7c3
2011-12-08 14:14:01 -06:00
David Mandelin
0c3c6127b4
no bug, mark two slow tests as slow
2011-12-08 12:21:40 -08:00
Ed Morley
ce5d4c35f0
Bug 643167 - js/src configure should build js-config with MAKE, not GMAKE (based on patch by Kyle Huey); r=ted
...
* Switches js-config generation to use $MAKE rather than $GMAKE, since using
make.exe on pymake builds causes issues:
"config/autoconf.mk:354: *** Windows-style srcdir being used with GNU make"
* Ensures $MAKE is defined for configure when using client.mk
* For standalone js builds client.mk won't be used, so sets $MAKE manually if it
isn't already defined, to avoid bug 605133 comment 22.
2011-12-08 20:02:26 +00:00
Ed Morley
c59bb60cf9
Bug 707593 - Clean up makefile generation in js/src configure; r=ted
...
* Adds the omitted js/src/analysis-tests/Makefile
* Adds conditionals to prevent makefiles being generated where they won't be used
2011-12-08 20:02:25 +00:00
David Mandelin
601c506aba
no bug, fix warning in jsobj.h
2011-12-08 12:03:16 -08:00
David Mandelin
c0b87f3f39
no bug, fix warning in jsscope.h
2011-12-08 12:02:29 -08:00
David Mandelin
218c592c3d
Bug 707341: remove VOUCH_DOES_NOT_REQUIRE_STACK, r=jorendorff
2011-12-07 17:49:10 -08:00
Bill McCloskey
d895426887
Bug 705332 - Re-enable printing filename in quiet builds (r=njn)
2011-12-08 10:14:06 -08:00
Brian Hackett
ad0bbac119
Fix incorrect use of shape->slot() when clearing native objects, bug 708006. r=luke
2011-12-08 08:58:39 -08:00
Brian Hackett
7a130709e5
Fix test when starting compilation of loops with unreachable backedges and traps at the head, bug 707384. r=dvander
2011-12-08 08:57:17 -08:00
Jeff Walden
f76f7d6da3
Bug 704313 - Implement mozilla/StdInt.h. r=cjones
...
--HG--
extra : rebase_source : b221134fdfbde13a37a6ef621bba3ca183a46101
2011-11-22 17:42:57 -08:00
Jeff Walden
1ac593a9d5
Bug 704313 - Import, unmodified, the Microsoft-compatible <stdint.h> implementation from the 'msinttypes' Google Code project, r26, into mfbt. r=gerv for license compatibility and the addition to toolkit/content/license.html, r=cjones for the code
...
--HG--
extra : rebase_source : 9e1105b916d15023a91ffcca8b26445bc1bd930d
2011-11-22 16:40:45 -08:00
Mike Hommey
45173f5be0
Bug 695843 part 9 - Use FileLocations in the component manager. r=bsmedberg
2011-11-08 18:10:51 +01:00
Mike Hommey
de095d8e38
Bug 695843 part 8 - Properly handle jar-in-jars when importing modules. r=mrbkap
2011-12-08 11:03:36 +01:00
Mike Hommey
f5f83e1536
Bug 695843 part 7 - Use the URI string as the key for the various mozJSComponentLoader hashtables. r=mrbkap
2011-11-08 18:08:49 +01:00
Mike Hommey
0200da2985
Bug 703531 - Fix ARMAssembler::getOp2RegScale on < ARMv5. r=cdleary
2011-12-08 09:13:12 +01:00
Nicholas Nethercote
b33d3a9536
No bug. Remove last trace of removed 'lirasm' directory. r=dvander.
2011-12-07 18:52:07 -08:00
Brian Hackett
9f939e2a4b
Don't try to correlate scripts with functions in JSD interface, bug 707613. r=luke
2011-12-07 13:41:27 -08:00
Brian Hackett
16bb64e5ea
Remove JSOP_TRAP, bug 707454. r=jorendorff
2011-12-07 13:15:48 -08:00
Bill McCloskey
ca794912a1
Bug 707051 - Change MarkChildren for shapes (r=igor)
2011-12-07 09:52:16 -08:00
Bill McCloskey
9f2529ecd3
Bug 704795 - Fix setprop write barrier for non-objects (r=bhackett)
2011-12-07 09:39:40 -08:00
Jeff Walden
5316865db0
Bug 707383 - Rename ValueTo{ECMA,}{Ui,I}nt32 so that To{Ui,I}nt32 is the ECMA spec method and NonstandardTo{Ui,I}nt32 is the non-standard JSAPI method functionality. r=luke
2011-12-05 17:10:02 -05:00
Jeff Walden
c19126641c
Bug 707061 - Rename js_ValueToString to ToString. Also, consistent with ToObject, make ToString include an inline already-string fast path, and make ToStringSlow be an out-of-line slow path for the case where the value is not a string (asserting that this is the case). r=luke
2011-12-01 19:35:44 -08:00
Jeff Walden
1f4d038bdf
Kill the warnings. KILL THEM WITH FIRE. No bug, r=sparky
2011-12-06 11:58:37 -05:00
Igor Bukanov
0c1ccaf9a5
bug 708231 - fix set-but-unused warnings reported by GCC 4.6 in jsexn.cpp. r=evilpies
2011-12-07 16:21:40 +01:00
Blake Kaplan
61538a42aa
Bug 708215 - Report errors from the safe JS context. r=bent
2011-12-07 18:12:20 +08:00
Josh Matthews
6aee82c939
Bug 696450 - Add increment/decrement methods to PointerType jsctype objects. r=bobbyholley
2011-11-08 16:06:19 -05:00
David Mandelin
89736cc6c7
Bug 706316: don't clobber pinned registers in ImmutableSync, r=dvander
2011-12-06 17:06:56 -08:00
David Mandelin
eae384780a
Bug 702572: always clone function in DEFLOCALFUN, r=jorendorff
2011-12-06 16:27:41 -08:00
Brian Hackett
2052674f50
Properly model semantics of prototype setters or permanent properties when analyzing definite 'new' script properties, bug 706808. r=luke
2011-12-06 16:09:04 -08:00
Brian Hackett
12f3e72c19
Improve exception messages when an error occurs in the middle of a decomposed opcode, bug 706532. r=luke
2011-12-06 15:58:35 -08:00