Commit Graph

7373 Commits

Author SHA1 Message Date
Jason Orendorff
55684f1763 Bug 553671 part 2 - extract PreGCCleanup() from js_GC() and get rid of 'goto out;'. r=jwalden.
--HG--
extra : rebase_source : 713a06123caefa0c5de75d6d14d0d43421f7e944
2010-04-08 07:54:18 -05:00
Jason Orendorff
aac995ee3e Bug 553671 part 1 followup - Minor cleanups in GC() suggested by jwalden in review.
--HG--
extra : rebase_source : b2cabed0b2de6c044a04fa00f7e1593fddf88786
2010-04-08 07:54:18 -05:00
Jason Orendorff
926b177eaa Bug 553671 part 1 - Extract GC() from js_GC(). r=jwalden.
--HG--
extra : rebase_source : 4fc17e71f7f7f3bd1d7392af585e61d265851918
2010-04-08 07:54:17 -05:00
Andreas Gal
ecdd402081 Backed out changeset 61de331861af (bug 558058). 2010-04-08 09:02:34 -07:00
Andreas Gal
0eaa2c4331 No need to lookup parent/proto for iterator objects, and cache the last free one (bug 558058, r=brendan). 2010-04-08 07:53:09 -07:00
Boris Zbarsky
32a8d53e03 Backed out changeset 698ace1f1027 (bug 556830) for causing jsreftest failures.
--HG--
extra : rebase_source : 6d4c5022177d0c47568f5be9c274b8b17e398bd4
2010-04-08 09:53:44 -04:00
Jeff Walden
808f44b3ab Bug 550402 - Property readonly bit interferes with setter functions in properties. r=jorendorff
--HG--
extra : rebase_source : a1cc89851d11337a76f916170ca22f9013ee0b2f
2010-04-01 18:11:14 -07:00
Jeff Walden
4d912ae324 Bug 556876 - PropertyDescriptor::initialize can throw a SyntaxError instead of a TypeError. r=jorendorff
--HG--
extra : rebase_source : d0a38deab525d8f78f81d56d9bc78dcd5f76fb97
2010-04-04 21:59:09 -07:00
Luke Wagner
e6880f1d41 Remove dead store (no bug, r=me) 2010-04-07 19:02:47 -07:00
Andreas Gal
b0126e4074 Backed out changeset 687d1e4c213e (bug 557914). 2010-04-07 18:34:05 -07:00
Luke Wagner
b9f8c249e6 Bug 552574 - de-mystify js_ValueToNumber API (r=igor) 2010-04-07 13:18:50 -07:00
Andreas Gal
d0f2401879 Remove gcIteratorTable (557914, r=Waldo). 2010-04-07 17:14:38 -07:00
Nicholas Nethercote
26d8277a75 Bug 413730 - Replace all OBJ_GET_CLASS() macro calls with JSObject::getClass() calls. r=gal. 2010-04-07 16:09:49 -07:00
Dan Witte
2249bd76de Revert accidental change. 2010-04-07 15:29:41 -07:00
Dan Witte
b065d2092c Bug 556902 - Fix ctypes warnings. r=benjamn 2010-04-07 15:25:46 -07:00
timeless@mozdev.org
ee0636be79 Bug 556340 - TypedArrayTemplate<*>::fun_slice leaks ntarray when JS_NewObject fails. r=jorendorff. 2010-04-07 16:16:19 -05:00
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