Commit Graph

8408 Commits

Author SHA1 Message Date
Robert Sayre
fc4b9ec6e1 FF 3.5.2 native JSON.stringify replacer applied only to array items, not object properties. bug 509184. r=waldo 2010-04-07 12:35:43 -04:00
Jason Orendorff
04c9cd4d7a Fix debug-only crash when doing TMFLAGS=full objdir/js -j t/string-unpack-code.js. no_r=me.
--HG--
extra : rebase_source : f4c43ffeb2fec7de027217500c6a4db7b76724c7
2010-04-07 10:14:35 -05:00
Nicholas Nethercote
c31c693e1b Update nanojit-import-rev stamp. 2010-04-06 20:17:37 -07:00
Nicholas Nethercote
76b149adce Bug 557705 - nanojit: clean up codegen of i386 jumps. r=edwsmith.
--HG--
extra : convert_revision : ec93bc283385c4e19bfbfda1aa1ecf94aef932ec
2010-04-06 20:09:32 -07:00
Nicholas Nethercote
6b08a7f055 Update nanojit-import-rev stamp. 2010-04-06 17:51:51 -07:00
Nicholas Nethercote
6968bfc5ba Windows bustage fix for bug 557483. r=me.
--HG--
extra : convert_revision : 3607404c8ab95af0866fd073ed5d6d51322198b6
2010-04-06 16:04:32 -07:00
Nicholas Nethercote
07fe6e6c98 Bug 557483 - nanojit: convert i386 codegen macros to functions. r=edwsmith.
--HG--
extra : convert_revision : 4062fae8baf26ee9fcdf5c8d1125b2a1fa806515
2010-04-06 15:55:43 -07:00
Nicholas Nethercote
fcb616851a Bustage fix for bug 545295. r=me.
--HG--
extra : convert_revision : 54edfaf7f89566f86822155e90d43ec6198228c4
2010-04-05 18:12:38 -07:00
Edwin Smith
8e9b1ee383 CodeAlloc changes to eliminate dependency on 4K system page size (bug 545295 r=edwsmith+)
--HG--
extra : convert_revision : f1734da5dae9a73cf52692fc8dd72c25d0f12a14
2010-04-05 16:17:01 -04:00
Edwin Smith
e802b90f31 Patch to clean up MSVC analysis warnings (bug 551690, r=edwsmith+ nnethercote+)
(pushing for Bill Maddox)
The following appear to be false positives.  The patch adjusts the code in a
meaning-preserving way such that the analysis warnings no longer appear.  My
best guess is that the analysis does not take into account the discretenes of
integer arithmetic in analyzing relational operators.

nanojit/Assembler.cpp(2004)
nanojit/Nativei386.cpp(1214)

Here, an outer definition is indeed hidden, but it is dead at this point, and
the code is correct as it stands.  Stylistically, however, the hiding should be
avoided, as in the patch.

nanojit\LIR.cpp(671)

--HG--
extra : convert_revision : fdff643a3c793c57150d0e8b48bc1f12383d939e
2010-04-05 11:25:55 -04:00
Dan Witte
2fab74a615 Bug 556902 - Fix ctypes warnings. r=benjamn 2010-04-06 17:43:18 -07:00
Luke Wagner
81d7c2cbea Vector::resize should initialize new elements always; fixes AutoValueVector bug (r=Waldo) 2010-04-06 16:40:49 -07:00
Luke Wagner
6b6463a8e6 Bug 557270 - on s390 pointers are 31-bits, have JS_CEILING_LOG2W use size_t instead of JSUword (r=brendan)
--HG--
extra : rebase_source : cf0f82a63a0d36f84470bfd1aa99c2917cbc5c95
2010-04-06 16:10:54 -07:00
Jason Orendorff
3a1a494d96 Bug 556937 - TM: Trace JSOP_SETNAME when preceding BINDNAME produces the global object. r=dmandelin. 2010-04-06 16:49:33 -05:00
Jason Orendorff
6fac8f385a Bug 556879 - JSRuntime::gcIsNeeded is needed after all. r=igor. 2010-04-06 16:39:16 -05:00
Bob Clary
75114bb688 Bug 557508 - Enable tracing JIT when running js tests in the shell. r=jorendorff.
--HG--
extra : rebase_source : 68f8accc4e9888225f1bbf0955c6cf484219fae2
2010-04-06 15:43:11 -05:00
Boris Zbarsky
182e509e5b Bug 556866. Try to cache the slot even for JOF_INCDEC ops, as long as the setter is a stub. r=jorendorff 2010-04-06 15:46:20 -04:00
Boris Zbarsky
1289dee978 Bug 556830. Fill the propcache even if we start the lookup on a Call whose parent is the global the property is on. r=jorendorff 2010-04-06 15:42:39 -04:00
Jason Orendorff
cb5afb060e Fix typeChar array (used only in debug output) to match the TraceType enum values. No bug#. r=dvander over IRC. 2010-04-06 12:44:13 -05:00
Jason Orendorff
ed90af06f2 Fix Windows build failures (and a warning) due to rev 2d43edce33a2. No review. 2010-04-06 10:22:28 -05:00
Jason Orendorff
91b24f195c Fix trivially busted test for bug 533876. 2010-04-06 10:05:13 -05:00
Jason Orendorff
7ef276f207 Bug 545962 - Workers for the js shell. r=igor. 2010-04-06 08:15:15 -05:00
Nicholas Nethercote
13d7fcefb2 merge 2010-04-05 22:17:33 -07:00
Nicholas Nethercote
934d8c0f95 Bug 556459 - TM: remove unnecessary cases from demote(), isPromoteInt(), isPromoteUInt(). r=gal. 2010-04-05 22:16:42 -07:00
Brendan Eich
244c77de79 Abort on non-dense-array, non-native JSObjectOp.getProperty op (557168, r=gal). 2010-04-05 22:10:22 -07:00
Nicholas Nethercote
46b653e0e1 Mac bustage fix for bug 556187. r=brendan via IRC. 2010-04-06 12:16:37 +10:00
Nicholas Nethercote
4542317997 Bug 556187 - encapsulate JSSLOT_ARRAY_* within JSObject. r=brendan. 2010-04-05 18:32:16 -07:00
timeless@mozdev.org
06c049adbc Bug 555687 - OBJ_SCOPE(obj) is unused in TraceRecorder::setProp. r=jorendorff.
--HG--
extra : rebase_source : 7a63d5edfb25a8b4ecacc2b069d9ad5da561ec3a
2010-04-05 15:37:33 -05:00
Jeff Walden
80e3a56f93 Bug 520696 - Implement support for string and numeric literals as names for properties defined using ES5 get/set syntax. r=jimb
--HG--
extra : rebase_source : 42120d6f31851efa9771e3c869989de70d5ed0f5
2009-12-14 18:31:05 -05:00
Jeff Walden
9fbb700478 Make the code prettier. r=style-police
--HG--
extra : rebase_source : 3bd513d15e315dcabf4d69e95e3ded5764a50363
2010-04-05 10:43:49 -07:00
Jason Orendorff
8187e1ef94 Bug 557247 - In debug js shell builds, expose whether we're on trace or not (tracemonkey.onTrace). r=gal. 2010-04-05 12:26:44 -05:00
Andreas Gal
cf22c89a43 b=551507; bad auto root usage in typed arrays; r=waldo 2010-04-04 22:11:07 -07:00
Robert Sayre
744599315f Merge mozilla-central to tracemonkey. 2010-04-04 14:15:05 -04:00
Robert Sayre
cd7a9e4cf3 Fix thinko in test. 2010-04-04 11:00:45 -04:00
Robert Sayre
c95c882b76 Fix up the tests from bug 555246 to run when there's no evalcx function available. 2010-04-04 09:41:11 -04:00
Jacek Caban
a143357a5d Bug 393119: Followup bustage fix for mingw. r=mrbkap 2010-04-03 07:32:59 -04:00
Michael Wu
9b1b632895 Bug 542146 - Add support for building JS on Android. patch by vlad, bcombee, and me. r=ted 2010-04-02 15:09:05 -07:00
Chris Jones
7c959e67d7 Bug 551254: Allow reviewed+approved STL headers to be included through <foo>. (<algorithm> and <vector> are provisionally in the list because of their use in libpr0n, but need to be reviewed in followup bug 556700 and bug 556701). r=ehsan,ted,zwol 2010-04-02 12:58:11 -05:00
Chris Jones
996c23e86b Backed out changeset cec7b12eb5e3 2010-04-02 13:20:22 -05:00
Chris Jones
94e6bcfee2 Bug 551254: Allow reviewed+approved STL headers to be included through <foo>. (<algorithm> and <vector> are provisionally in the list because of their use in libpr0n, but need to be reviewed in followup bug 556700 and bug 556701). r=ehsan,ted,zwol 2010-04-02 12:58:11 -05:00
Jason Orendorff
d447d924df Bug 555246 - Wrong answer for 'this' in function code when entry frame was produced by a call across globals. r=brendan. 2010-04-01 09:56:25 -05:00
Dan Witte
4e50af97f4 Typo fix. 2010-04-02 14:03:27 -07:00
Dan Witte
a0f7102bf7 Bug 538324 - Move ctypes into js/src. Part 9: Add ctypes to jsshell. r=gal 2010-04-02 13:34:19 -07:00
Dan Witte
691a56e2c8 Bug 538324 - Move ctypes into js/src. Part 8: Add ctypes JS module bits to toolkit. r=bsmedberg
--HG--
rename : js/ctypes/Makefile.in => toolkit/components/ctypes/Makefile.in
rename : js/ctypes/Module.cpp => toolkit/components/ctypes/Module.cpp
rename : js/ctypes/Module.h => toolkit/components/ctypes/Module.h
rename : js/ctypes/ctypes.jsm => toolkit/components/ctypes/ctypes.jsm
rename : js/ctypes/tests/Makefile.in => toolkit/components/ctypes/tests/Makefile.in
rename : js/ctypes/tests/jsctypes-test.cpp => toolkit/components/ctypes/tests/jsctypes-test.cpp
rename : js/ctypes/tests/jsctypes-test.h => toolkit/components/ctypes/tests/jsctypes-test.h
rename : js/ctypes/tests/unit/test_jsctypes.js.in => toolkit/components/ctypes/tests/unit/test_jsctypes.js.in
2010-04-02 13:16:51 -07:00
Dan Witte
35bd2129aa Bug 538324 - Move ctypes into js/src. Part 7: Remove additional NSPR dependencies. r=benjamn 2010-04-02 13:16:06 -07:00
Dan Witte
79b69ab8d7 Bug 538324 - Move ctypes into js/src. Part 6: Add ctypes to JSAPI. r=sayrer 2010-04-02 13:07:41 -07:00
Dan Witte
084f8dbd80 Bug 538324 - Move ctypes into js/src. Part 5: Remove nsILocalFile option, and corresponding XPCOM dependency, for ctypes.open(). r=jorendorff 2010-04-02 13:07:02 -07:00
Dan Witte
0f073ef219 Bug 538324 - Move ctypes into js/src. Part 4: Use js string conversion functions. r=benjamn 2010-04-02 13:06:15 -07:00
Dan Witte
feaa2c7898 Bug 538324 - Move ctypes into js/src. Part 3: Split out low-level JS 16-bit <--> 8-bit string conversion functions. r=jorendorff 2010-04-02 13:05:30 -07:00
Dan Witte
0ee7f0d0cc Bug 538324 - Move ctypes into js/src. Part 2: Use Vector classes instead of nsTArray/ns*String. r=benjamn 2010-04-02 12:58:34 -07:00