Commit Graph

8870 Commits

Author SHA1 Message Date
Ginn Chen
16585a758c Bug 584219 Fix the use of sPayloadOffset for big endian machine r=lw 2010-08-11 06:53:03 +08:00
Robert Sayre
fc8cf1e11d Merge mozilla-central to tracemonkey. 2010-08-10 15:41:49 -07:00
Jason Orendorff
5534502a01 Bug 583850 - Assert that certain security checks in the JS engine never fail. r=mrbkap. 2010-08-02 16:38:46 -05:00
Jason Orendorff
652b4f196b Bug 583262 - Remove security checks on f.prototype.constructor property at last. r=mrbkap.
--HG--
extra : rebase_source : d41e97b9ec4367ed4eb1f28a082571f37a9696e2
2010-08-02 15:59:06 -05:00
Jason Orendorff
8ed74ae25b Fix two MSVC warnings. no_r=me. 2010-08-02 09:44:24 -05:00
Jacek Caban
faaaf8264b Bug 580904 - remove jsval_layout.debugView in mingw-w64 r=lw 2010-08-02 12:01:22 +02:00
Jacek Caban
37c9c36c36 Bug 569819 - Fix nanojit compilation failure on mingw-w64. r=edwsmith 2010-08-02 11:59:50 +02:00
Jacek Caban
29531fc3b8 Bug 573341 - Wrong AVMPLUS_ALIGN16 declaration on mingw r=dvander 2010-08-02 11:58:44 +02:00
Dave Herman
21f32eaeb6 bug 583281, r=khuey: njs should get symlinked into objdir
--HG--
rename : js/src/njs => js/src/shell/njs
2010-08-01 22:42:41 -07:00
Luke Wagner
49550f19b6 Bug 581747 - Remove JSOP_CONCATN. Good-night, sweet prince. (r=waldo) 2010-08-01 21:54:09 -07:00
Nicholas Nethercote
e06b7385ea Bug 582766 - JIT vastly slows down Data Manager (let in .nextSibling loop makes TM loop way too often). r=dvander. 2010-08-01 18:03:12 -07:00
Robert Sayre
94a5ae0e6e Merge relanding of bug 577648 and bug 582479. 2010-08-01 09:59:36 -07:00
Robert Sayre
a72794c86d Reland Bug 582479 - TM: Assertion failure: (&cx->regs->sp[1 - (iargc + 2)].toObject())->isFunction(). 2010-08-01 09:59:02 -07:00
Robert Sayre
898b0d6094 Merge 2010-08-01 09:58:16 -07:00
Robert Sayre
250c59eece Reland: Bug 577648 - arguments.callee.caller does not work in FF 4 under certain circumstances. 2010-08-01 09:58:03 -07:00
Robert Sayre
e934a9cb50 Merge. 2010-08-01 09:57:13 -07:00
Robert Sayre
eebc988390 Reland bug 577648 tests. 2010-08-01 09:57:01 -07:00
Kyle Huey
934e198a7e Sync js/src/config/ and config/ build files from silly mistakes on my part on this CLOSED TREE 2010-08-01 03:14:05 -07:00
Kyle Huey
353f0f4dfb Fixing typos on a CLOSED TREE 2010-08-01 02:32:15 -07:00
Kyle Huey
6cabbd4fed Bug 522770: Followup to turn on fakelibs only on Windows since gcc is dumb, even on a CLOSED TREE 2010-08-01 02:12:17 -07:00
Kyle Huey
932ea79b49 Bug 522770: Link directly to object files instead of intermediate static libs. Patch originally written by Ted Mielczarek. Checking into a CLOSED TREE as a bustage fix. reviews pending.
--HG--
extra : rebase_source : 54a506a5815dcdedaf3f61ad7d6bdd0529d7f5f7
2010-08-01 01:48:21 -07:00
Robert Sayre
b90c702db2 Remove tests associated with backouts. 2010-07-31 14:19:00 -07:00
Robert Sayre
9bae5e1079 Backout changeset 80382d88b92c. (Bug 577648 - arguments.callee.caller does not work in FF 4 under certain circumstances). The patch is righteous, but MSVC's behavior with a mere 3GB of addressable memory is not. Will reland soon. 2010-07-31 14:01:26 -07:00
Robert Sayre
fcd927ce28 Back out changeset c877176cbbed in order to get Windows compiling. (Bug 582479 - TM: Assertion failure: (&cx->regs->sp[1 - (iargc + 2)].toObject())->isFunction().) 2010-07-31 13:17:20 -07:00
Robert Sayre
6bf99d92ea Merge backout. 2010-07-31 11:16:52 -07:00
Robert Sayre
90cb325bbf Backed out changeset af011e92ad0b. (Dave Herman – bug 583281, r=jimb: njs should get symlinked into objdir). This doesn't build on windows. 2010-07-31 11:16:38 -07:00
Dave Herman
1cd082cba6 bug 583281, r=jimb: njs should get symlinked into objdir
--HG--
rename : js/src/njs => js/src/shell/njs
2010-07-30 15:17:14 -07:00
Zack Weinberg
788b4d617f Bug 568863: Add a scriptable interface to operating-system performance measurement APIs (Linux only for now). r=cjones,waldo,mitch a2.0=bz
--HG--
rename : toolkit/components/ctypes/Module.cpp => toolkit/components/ctypes/ctypes.cpp
rename : toolkit/components/ctypes/Module.h => toolkit/components/ctypes/ctypes.h
2010-07-30 12:17:56 -07:00
Chris Leary
460cdeaae5 Rename displaySave member of the stack frame to padding. (r=luke) 2010-07-30 11:57:03 -07:00
Jason Orendorff
6972003bf8 Delete obsolete comment. no_r=me.
--HG--
extra : rebase_source : 8b9b7408c0efd682a5f11f827fca2d2304e0a4a3
2010-07-30 10:21:11 -05:00
Ginn Chen
7a935c4faf Bug 568782 add #ifdef SOLARIS for mmap/munmap changes r=igor 2010-07-30 18:51:58 +08:00
Boris Zbarsky
0d44d3fad5 Bug 586204. Remove pointless null-check. r=peterv, a=bsmedberg 2010-08-11 17:05:28 -04:00
Michael Wu
2abb47c1f1 Bug 556644 - 4. Fix tests, r=bsmedberg a=blocking2.0
--HG--
rename : caps/tests/mochitest/test_bug292789.html => caps/tests/mochitest/test_bug292789.html.in
2010-08-10 15:18:40 -07:00
Oleg Romashin
8144f44a16 Bug 584727 - contentaction.h system-header is missed. r=doug.turner 2010-08-10 12:53:17 -07:00
Steven Michaud
864fe41a26 Bug 581573 - Trunk builds fail when using --enable-cpp-rtti. r=gal a=bsmedberg 2010-08-10 11:31:06 -05:00
Luke Wagner
dd44050eb2 Bug 581875 - use js::HashSet in JSAtomState (r=igor) 2010-07-28 09:54:14 -07:00
Robert Sayre
909914ff10 Merge backout. 2010-07-29 18:15:03 -07:00
Robert Sayre
c7bd912564 Backed out changeset d8bbb2ef3038. (Igor Bukanov – bug 579957 - parent as a field in JSObject. r=lw) 2010-07-29 18:11:41 -07:00
Igor Bukanov
4eff9db05f bug 579957 - parent as a field in JSObject. r=lw 2010-07-29 19:11:27 +02:00
Jason Orendorff
3e23944c3b Fix MSVC warnings about class JSFunction. no_r=me. 2010-07-29 08:08:23 -05:00
Jason Orendorff
566beedf1f Remove extra backslashes. no_r=me. 2010-07-29 08:06:32 -05:00
Blake Kaplan
b1090c307e Fix bug 584180. 2010-08-11 14:35:07 -07:00
Igor Bukanov
041b1e86e5 bug 574313 - checking that autoroots are conservatively scanned and aborting if not. The check is enabled in optimized build for better test coverage. r=anygregor 2010-07-26 10:24:27 +02:00
Igor Bukanov
b4a4d8d48e bug 579957 - parent as a field in JSObject (relanding after wixing bug 583404). r=lw 2010-07-31 11:54:01 +02:00
Igor Bukanov
fc98a499af bug 583404 - backport of fix from David for JM branch. 2010-07-31 11:42:28 +02:00
Robert Sayre
073bde8d2b Merge mozilla-central to tracemonkey. 2010-07-30 21:57:41 -07:00
Robert Sayre
fdb70f359e Change a comment to match the surrounding code. 2010-07-30 20:26:06 -07:00
Robert Sayre
d733703b0c Change a comment to match the surrounding code. 2010-07-30 20:12:45 -07:00
Jeff Walden
cfbbbaa362 Really test bug 583429. :-) rs=tpyo 2010-07-30 19:17:15 -07:00
Jeff Walden
f6cbfcea4c Bug 582643 - Reject '0x' without any hex digits. r=jorendorff 2010-07-29 17:37:25 -07:00
Jeff Walden
9bb90b0bc3 Bug 583126 - parseInt(string) traceable native ignores OOM. rs=jorendorff
--HG--
extra : rebase_source : b9244f62e7f4bc0e0db96a7b5fa21b43ffc1b7de
2010-07-30 17:25:20 -07:00
Andreas Gal
482da28f6d Test for bug 583429 2010-07-30 19:04:03 -07:00
Andreas Gal
98a47a4f07 Array.prototype lost its length property (583429, r=brendan). 2010-07-30 18:24:03 -07:00
Jeff Walden
5891afb00c Followup to bug 577536: move parse-as-octal inference to a slightly different location so as not to cause |parseInt('0A', 16)| to be parsed as octal. r=jorendorff 2010-07-30 14:39:51 -07:00
Luke Wagner
48166dd26f Fix warning in js_DumpAtoms on 64-bit (no bug) 2010-07-30 16:50:38 -07:00
Blake Kaplan
443e8e48fa Bug 577750 - Make computing global this a little simpler. r=jorendorff 2010-07-15 23:49:13 -07:00
Blake Kaplan
4d1ed260a0 Bug 580544 - Don't bother trying to use the global object as a constructor. r=jorendorff 2010-07-21 16:56:57 -07:00
Luke Wagner
9210cc1267 Silence warning in jscntxtinlines.h (r=me) 2010-08-10 13:29:17 -07:00
Dan Witte
14456b5938 Bug 585175 - Don't automangle ctypes stdcall symbols for WINAPI. r=bsmedberg, a=blocker 2010-08-10 09:10:50 -07:00
Luke Wagner
b23d605527 Bug 579183 - loosen-up StackSegment invariants - part 5 - CallArgs (r=waldo)
--HG--
extra : rebase_source : 4031cc1def70bef58bfa759a4cc90af06adfc9cd
2010-07-30 10:41:03 -07:00
Luke Wagner
facb1029e6 Bug 579183 - loosen-up StackSegment invariants - part 4 - StackSpace (r=waldo)
--HG--
extra : rebase_source : ef600f1185199cf65e251325995f772170502cca
2010-07-30 10:40:58 -07:00
Luke Wagner
bbea6273e3 Bug 579183 - loosen-up StackSegment invariants - part 3 - renaming (r=waldo)
--HG--
extra : rebase_source : 3adc886f47b9e0ae77e33cbe15dec9d831576266
2010-07-29 14:43:11 -07:00
Luke Wagner
271d6b6562 Bug 579183 - loosen-up StackSegment invariants - part 2 - xpconnect (r=mrbkap)
--HG--
extra : rebase_source : af3a68294495984e06db7c73a84e444f12c97a8d
2010-07-26 19:49:27 -07:00
Luke Wagner
c9c381b11c Bug 579183 - loosen-up StackSegment invariants - part 1 - decompiler (r=brendan)
--HG--
extra : rebase_source : 77f1977e20773431266c7794b6cf8a2595b1c8f2
2010-07-30 14:49:29 -07:00
Igor Bukanov
32c740b945 bug 568730 - folloup to add missing activity callback null check 2010-08-10 15:32:33 +02:00
Alon Zakai
8ba541a087 Bug 568730 - Allow customizing the sleep duration in XPCJSRuntime::WatchdogMain. r=igor/jst/gal 2010-08-09 16:39:28 -07:00
David Mandelin
71cf6e222a Bug 584615: adding missing oom check, r=jwalden
--HG--
extra : rebase_source : c3357167c84ab2e2e408facdcbf083df78f2fa9c
2010-08-09 16:18:07 -07:00
Luke Wagner
d75cf631d5 Define gczeal in testBug584650.js so opt builds pass 2010-08-09 15:18:05 -07:00
Dave Herman
c5d0735e45 bug584124, r=shu: njs terminal annoyances 2010-08-09 14:39:01 -07:00
Luke Wagner
9644ea639c Bug 581900 - obj_getPrototypeOf produces wrong error when Invoked (r=brendan) 2010-08-09 14:07:27 -07:00
Luke Wagner
42f82923f9 Fix bustage; don't #include jstl.h from jsvalue.h, it messes up the mozalloc wrapper ritual
--HG--
extra : rebase_source : ac82f78d3d34a8d58d28d7e556ae4fd516fc83d5
2010-08-09 13:59:28 -07:00
Steve Fink
082cfbef39 Bug 507012: function call/return callback for profiling, r=dmandelin, a=sayrer 2010-08-09 13:38:13 -07:00
Tom Austin
5075855584 Bug 584625. Renamed Narcissus modules and removed JSON style labels. r=dherman 2010-08-09 12:37:38 -07:00
Luke Wagner
05d9f91b76 Bug 584650 - address comments in bug missed by previous patch 2010-08-09 12:02:26 -07:00
Luke Wagner
0e832b8f5c Bug 584650 - Make value/id range safe after auto rooter resize (r=waldo) 2010-08-09 11:56:38 -07:00
Paul Biggar
6634b70997 Split object/function allocation paths to avoid branch (578158, r=brendan). 2010-08-09 09:11:22 -07:00
Robert Sayre
a11c4c6043 Merge mozilla-central to tracemonkey. 2010-08-07 23:05:12 -07:00
Robert Sayre
2e619a2217 Merge backout. 2010-08-07 20:11:53 -07:00
Robert Sayre
5672347230 Backed out changeset 96ef97b766e6. (Bug 458271 - Property cache causes resolve hooks not to be called. r=brendan.) 2010-08-07 20:11:42 -07:00
Andreas Gal
5322ed0408 JSString::mLengthAndFlags and mChars are not constant (585309, r=apierce). 2010-08-07 20:01:02 -07:00
Gregor Wagner
35c318f12b Bug 583598 - GC-related JS_ASSERT (r=igor) 2010-08-07 18:56:24 -07:00
Jason Orendorff
6e4e0d61ae Bug 458271 - Property cache causes resolve hooks not to be called. r=brendan. 2010-08-07 14:57:59 -05:00
Igor Bukanov
c834b35395 bug 583763 - followup to add more information into printout about missing roots and an extra assert.
--HG--
extra : rebase_source : 1889cc878be4e8fdf1c1902139208ad12cc28760
2010-08-06 21:45:25 +02:00
Luke Wagner
940ef90c85 Bug 584653 - increase JSVAL_SHIFTED_TAG_MAX_DOUBLE to include innocuous qnans (r=brendan) 2010-08-06 22:10:07 -07:00
Andreas Gal
ea8ed0fbf0 Ensure that JSOPTION_UNROOTED_GLOBAL is set when we cycle collect (stop-gap measure for bug 584495, r=brendan). 2010-08-06 20:24:49 -07:00
David Anderson
bbead0c23f Fixed assertion failure in callNative (bug 579740, r=jorendorff). 2010-08-06 18:54:51 -07:00
Luke Wagner
8d67384340 Bug 585231 - Remove ArgsPrivateNative (r=dmandelin) 2010-08-06 17:19:22 -07:00
Robert Sayre
d1662b9077 Backed out changeset 504bc84513b0. Andreas Gal – Ensure that JSOPTION_UNROOTED_GLOBAL is set when we cycle collect (stop-gap measure for bug 584495, r=brendan). default tip 2010-08-06 18:15:51 -07:00
Andreas Gal
fe2812701c Ensure that JSOPTION_UNROOTED_GLOBAL is set when we cycle collect (stop-gap measure for bug 584495, r=brendan). 2010-08-06 16:37:26 -07:00
Dave Herman
b097f3a7a8 bug 584103, r=taustin: Narcissus Harmony mode 2010-08-06 16:26:59 -07:00
Dave Herman
a9b8553184 bug 583001, r=pwalton: narcissus REPL 2010-08-06 16:16:39 -07:00
Robert Sayre
ca10e5d657 Merge mozilla-central to tracemonkey. 2010-08-06 15:41:41 -07:00
Paul Biggar
8bee826b83 Bug 584993 - Expose js_DumpObject as a shell function. r=jorendorff. 2010-08-06 15:45:14 -05:00
Tom Austin
ce1464db45 Bug 584807 - Simplify Narcissus testing setup. (r=gal) 2010-08-06 11:06:30 -07:00
Chris Leary
d254245df1 Submillisecond now() shell function for benchmark stability. (r=jorendorff) 2010-08-06 10:18:44 -07:00
Jason Orendorff
fbf41f6a18 Bug 584565 - TM: When f.length is resolved at record time, we can fail to emit a shape guard. r=brendan. 2010-08-05 13:44:31 -05:00
Bob Clary
117454e744 bug 584868 - do not use fake document object in test js1_5/extensions/regress-361964.js as it can interfere with test reporting object detection, r=sparky. 2010-08-06 03:42:54 -07:00
Andreas Gal
ed7dc4ad2d Inline unit string comparison (577883, r=njn). 2010-08-06 03:29:14 -07:00
Andreas Gal
db59ff9fcf Fix int -> int32, msvc is being picky about it (follow-up for 584499, r=me). 2010-08-05 23:16:23 -07:00
Andreas Gal
9bfcb05899 Optimize string[idx] on trace (584499, r=lw). 2010-08-05 22:54:34 -07:00