Commit Graph

6050 Commits

Author SHA1 Message Date
Ted Mielczarek
d71194fb76 bug 518107 - don't force re-linking on every build pass for PGO builds. r=bsmedberg
--HG--
extra : rebase_source : 4d7240ab80caa53e5843b085a4b3f4c160882b89
2009-09-25 12:50:53 -04:00
Mitchell Field
eb31b31d25 Bug 514665 - fix stupid module name differences on windows. r=ted 2009-09-25 18:41:16 +02:00
Andreas Gal :gal
9089264187 Bug 517640. TM: we don't substitute the global object for apply(null, ...). r=mrbkap 2009-09-25 11:16:44 -04:00
Igor Bukanov
27c2d57074 bug 517749 - removal of weakRoots.newborn = null. r=mrbkap 2009-09-25 16:30:11 +04:00
Nicholas Nethercote
7ca135d39f Bug 518747 - NJ merge: get rid of NJ_LOG2_PAGE_SIZE et al. r=graydon. 2009-09-25 16:01:55 +10:00
Nicholas Nethercote
4a1d349255 Bug 518740 - NJ merge: NativeSparc stuff. r=graydon. 2009-09-25 11:56:37 +10:00
Jeff Walden
d13f5937b4 Bug 518731 - Ensure the count of non-hole elements in the array returned by Object.keys(O) is correct. r=mrbkap 2009-09-24 17:38:32 -07:00
Nicholas Nethercote
20271af76e Bug 518724 - NJ merge: yet more Assembler/Nativei386.cpp folderol. r=graydon. 2009-09-25 10:21:35 +10:00
Jeff Walden
12df1ce230 Bug 518663 - Fix some typos in JSAutoTempValueRooter uses. r=dvander 2009-09-24 14:48:24 -07:00
Luke Wagner
a79d78e239 Fix ridiculous manual merge error. (r=graydon) 2009-09-24 12:40:13 -07:00
Benjamin Smedberg
f2b4e282b8 Add sys/quota.h to the system headers the correct way (followup to bug 72892) 2009-10-01 10:40:11 -04:00
Luke Wagner
668372111c Bug 517973 - remove deep abort, fix blacklisting bug 2009-09-23 18:21:41 -07:00
Nicholas Nethercote
6695f76eda Bug 518491 - NJ merge: Assembler bits and pieces. r=graydon. 2009-09-24 12:30:56 +10:00
Nicholas Nethercote
9598899fc8 Bug 518477 - NJ merge: LIR.{cpp,h} changes from TR. r=graydon. 2009-09-24 10:42:25 +10:00
Graydon Hoare
232e0c7e37 Bug 518427 - TM: fix valgrind error in jsregexp.cpp, r=dmandelin. 2009-09-23 16:56:25 -07:00
Graydon Hoare
f0b694edca Bug 517083 - Fix performance regression, r=dvander.
--HG--
extra : rebase_source : 57e132434da8c652c41ffa889aa2002eeeb4698c
2009-09-23 15:12:58 -07:00
David Mandelin
99fb23d064 Bug 511695: Fix JS warnings in MSVC8, r=brendan 2009-09-23 11:16:30 -07:00
Luke Wagner
c1a69497a0 Bug 511777 - avoid regexp engine for flat strings (r=waldo)
--HG--
extra : rebase_source : bf121e6918f2174378babc72b3dbe1b2f4ffdbec
2009-09-23 08:54:50 -07:00
Ginn Chen
1857540d32 Bug 514632 Use Sun Studio inline asm template for NativeCompareAndSwap r=jorendorff
--HG--
rename : js/src/lock_SunOS.s => js/src/lock_sparcv8plus.il
2009-09-25 15:30:35 +08:00
Boris Zbarsky
51e7cd5b8d Bug 478251. Implement the Null and Undefined annotations from webidl in quickstubs. r=jst,bsmedberg,jorendorff 2009-09-24 13:59:43 -04:00
Jeff Walden
b7b5073917 I hate PPC, can we kill it? Hoping this will fix, --disable-jit is fail on my system 2009-09-22 17:55:58 -07:00
Jeff Walden
729fcd0f3d I hate !JS_TRACER architectures. r=redness for the final time
--HG--
extra : rebase_source : f3e9e8f8bdfb50e68c7ae6f9ae271fd9bcf5b2eb
2009-09-22 17:12:21 -07:00
David Mandelin
449c761537 Bug 517633 followup: fix printf format strings, no_r=me 2009-09-22 17:06:32 -07:00
Graydon Hoare
a18f57ecfd Bug 495734 - NJ: don't store non-LIR data in LIR buffers, r=gal.
--HG--
extra : rebase_source : 4a73fd251f3077fe3623ef1341a8aa3729a4e8bf
2009-09-22 16:06:52 -07:00
Jeff Walden
3b1976c31a Try to fix redness on one Mac tinderbox, r=red
--HG--
extra : rebase_source : cfaeae4518917131658367f4d9f7c98cf829f767
2009-09-22 16:46:13 -07:00
Graydon Hoare
ccc6ad4904 Bug 517083 - TM: introduce a temp allocator for allocations during recording and compilation, r=gal. 2009-09-22 12:36:20 -07:00
Graydon Hoare
21b35a3bac Bug 517633 - Fix trailing-semicolon typo that broke build, r=me. 2009-09-22 16:22:07 -07:00
David Mandelin
10e9f4f6b8 Bug 517633: printf that can be called from trace, r=lw
--HG--
extra : rebase_source : 7bf61fae910feab40ef706717420e883ccafc4da
2009-09-22 15:02:50 -07:00
Peter Van der Beken
e2e773f880 Fix for bug 517196 (The JSClass of wrappers shouldn't change when morphing from slim to XPCWrappedNative). r=mrbkap.
--HG--
extra : rebase_source : 95898b5ab53d60200058374c52cdb8161aabf78b
2009-09-18 12:43:48 +02:00
Taras Glek
bfe943ded9 Bug 412796: Optimize fastload system (mmap fileIO) r=brendan
--HG--
extra : rebase_source : 425e1c4254b8e5c7c3b9fc98efb91c06805d1f02
2009-10-08 10:30:21 -07:00
David Mandelin
dbad0b0f5d Bug 519363 - topcrash [@ js_Interpret], change some code to aid in debugging efforts. r=brendan
--HG--
extra : rebase_source : 51c16011f74f154bee8d124b2dedfd5f2f5a5a62
2009-10-07 17:30:34 -07:00
Robert Sayre
86b8a6126e Merge tracemonkey to mozilla-central. 2009-10-07 01:39:01 -04:00
Andreas Gal :gal
2b78e63495 Bug 518227 - TM: spilled quads are passed incorrectly when calling a function [ARM, nanojit] r=graydon 2009-10-06 14:31:44 -07:00
Ben Hsieh
3eab496287 Bug 510991 - NS_GetURLSpecFromFile does a stat(). r=biesi 2009-10-06 15:43:59 +02:00
Makoto Kato
e3fe66b156 Bug 469654 - Windows x64 build support. r=ted 2009-10-06 17:28:05 +09:00
David Anderson
8481e1f4db Removed assertion that had too many false positives (bug 519534, r=gal). 2009-10-05 13:41:02 -07:00
Olli Pettay
bc14675f76 Bug 519932 - Quickstub commonly used DOMEvent methods and properties, r=peterv
--HG--
extra : rebase_source : 6fba39740c9c7a391499f90030fe865000e8efe4
2009-10-05 22:32:19 +03:00
Marco Bonardo
87d521d9ce test for lazy getters scope, bug 508850, r=sdwilsh 2009-10-05 12:12:28 +02:00
Benjamin Smedberg
53d8912065 Copy changes from revision d26387e649bd to js/src. 2009-10-04 19:21:24 -04:00
Chris Jones
08de77b6a4 Backed out changeset 8cbc47eee659 2009-10-02 18:09:08 -05:00
Chris Jones
3e5fef214c bug 441324: implement infallible ::operator new(), malloc() and friends. make |new Foo()| infallible, but leave |malloc()| fallible for the time being. r=blassey sr=bsmedberg,vlad 2009-10-01 21:50:09 -05:00
Blake Kaplan
1b993d3f38 Bug 518991 - Implement access controls in COWs. For now, this is opt-in default unsafe. r=jst 2009-09-30 19:38:57 -07:00
Ben Newman
c68af46729 Bug 518003 - implement function to check whether element matches a CSS selector. r+sr=bzbarsky
--HG--
extra : rebase_source : 67a7867a5cca52c867a8ee7daeea1bd1e613f1bc
2009-09-30 15:17:14 -07:00
Mitchell Field
26d68e5abf Bug 513921 - remove echo-requires-recursive target. r=ted 2009-09-26 17:49:56 +02:00
Robert Sayre
b635467e82 Merge backout 2009-09-26 08:22:56 -07:00
Robert Sayre
5dbce00686 Backed out changeset f5ea964eb493. (Brendan Eich — High-level CSE for shape guards (518448, r=jorendorff). 2009-09-26 08:16:58 -07:00
Robert Sayre
5f2aafc67c Merge 2009-09-25 20:35:33 -07:00
Doug Turner
1af28ccf1f Bug 517999 - Some floating point values crash VFP enabled CPUs. r=gal 2009-09-25 11:16:08 -07:00
Reed Loden
fd8dbb7389 Fix orange due to differences between 'system-headers' copies. 2009-09-23 18:10:38 -05:00
Walter Meinl
7209d54085 [OS/2] Bug 512504 - don't link against external libs that are stubs when the real function is in libc, r=pweilbacher 2009-09-22 15:57:05 +02:00
Benjamin Smedberg
56a8d84c46 Bug 485409 - Handle a Windows-style path as $srcdir in configure, by modifying the default autoconf M4 macros so that they recognize Z:/ as an absolute path. r=ted 2009-09-22 09:05:48 -04:00
Andreas Gal
23b5f8a4b9 Bug 517567: NJ: ARM asm_arg does not handle LIR_ldq in register parameters with softfloat, r=dvander 2009-09-21 12:35:37 -07:00
Jeff Walden
553915decf Bug 307791 - Implement ES5's Object.keys(O). r=jorendorff 2009-09-08 15:59:14 -07:00
David Mandelin
72c8946af6 Bug 518056: better error message for nonexistent js shell argument in trace-tests.py, r=graydon 2009-09-22 12:15:06 -07:00
David Mandelin
611fbb67d5 Bug 518026: enable running trace-test.py with valgrind for dev testing, r=graydon
--HG--
extra : rebase_source : d759a8ea41bba557c825f3afe8eed7de7a69a04c
2009-09-22 12:04:34 -07:00
Jeff Walden
9c93800f2c Bug 516329 - Defining a non-enumerable getter-or-setter property over an enumerable getter-or-setter property loses non-enumerability. r=brendan, hail=jorendorff for jsapi-tests 2009-09-14 13:02:36 -07:00
Luke Wagner
88b39718d0 Backed out changeset 20ee84099e38 2009-09-22 10:19:59 -07:00
Luke Wagner
ca5191b5f2 Bug 511777 - avoid regexp engine for flat strings
--HG--
extra : rebase_source : 81afb9a486643f4d88dff9bba6ec2cccd07b07f0
2009-09-16 18:23:27 -07:00
Leon Sha<leon.sha@sun.com>
86908c4497 Bug 518068 - TM: Debug build failed on NativeSparc.cpp. r=gal 2009-09-22 16:25:48 +08:00
Leon Sha<leon.sha@sun.com>
136b94d6f4 Backout last change. Bug 516318 - [TraceMonkey] Multiple cases in trace-test failed on Sparc platform. 2009-09-22 15:55:25 +08:00
Nicholas Nethercote
401cfd7471 Bug 518061 - NJ merge: add ExprFilter::insLoad(). r=graydon. 2009-09-22 17:21:59 +10:00
Leon Sha<leon.sha@sun.com>
2a166fa683 Bug 516318 - [TraceMonkey] Multiple cases in trace-test failed on Sparc platform. r=brendan. 2009-09-22 14:19:02 +08:00
Nicholas Nethercote
3457c17879 Bug 518042 - NJ merge: Nativei386.h whitespace wibbles. r=graydon. 2009-09-22 14:27:35 +10:00
David Anderson
647db183ee Limit JSString length to 28 bits on 64-bit platforms (bug 513348, r=brendan). 2009-09-21 17:17:19 -07:00
Graydon Hoare
0d45861f13 Bug 518011 - NJ merge: XORPD in x86, and some tidying, r=gal.
--HG--
extra : rebase_source : 96eeedbe25f5931ed71835d0cb7383188e016880
2009-09-21 17:03:07 -07:00
David Mandelin
6b652df63e Bug 516458 followup: adding the terminator to improve accuracy for short strings, rs=brendan 2009-09-21 17:00:25 -07:00
Brendan Eich
bc30b36a39 Merge 2009-09-21 16:41:37 -07:00
Brendan Eich
4bb103007a Sync record_JSOP_LAMBDA with interpreter (517637, r=jorendorff). 2009-09-21 16:41:16 -07:00
David Mandelin
e64eff4b1e Bug 517332: adjust expected side exit count by platform to fix spurious arm test failures, r=dvander 2009-09-21 16:40:25 -07:00
Graydon Hoare
e102fc5e1c Bug 517299 - Allocator mismatch (calloc+delete) for class TraceRecorder and LirWriter, r=gal. 2009-09-21 14:06:42 -07:00
Graydon Hoare
7ac990150d Bug 517601 - TM merge: revive lirasm, r=jorendorff. 2009-09-18 16:07:49 -07:00
Andreas Gal
fae898aa3f Bug 517567: NJ: ARM asm_arg does not handle LIR_ldq in register parameters with softfloat, r=dvander 2009-09-21 12:30:39 -07:00
Graydon Hoare
369e54f9b3 Bug 512591 - trace-tests needs a |valgrind| flag, r=sayrer. 2009-09-21 11:32:09 -07:00
Jeff Walden
d47fa5ba16 Bug 517594 - Add assertions to verify that sprops being used don't have an id == JSVAL_NULL, to attempt to catch such bugs as early as possible. r=jorendorff
--HG--
extra : rebase_source : 0018d627c98d37dae8b008fba7681d63747e18f1
2009-09-18 15:39:09 -07:00
Julian Seward
20c60b8f33 Bug 514071: fix 32/64-bit format warnings in TMFLAGS=stats code, r=graydon 2009-09-21 11:14:07 -07:00
David Mandelin
328ad0c965 Bug 514071: count external strings as malloc'd memory for JS GC scheduling, r=igor
--HG--
extra : rebase_source : b2888a1705c49deabaf4aeac9be23c4ed06132d7
2009-09-21 11:01:09 -07:00
Igor Bukanov
1e96fce476 bug 517795 - followup to fix the issue 512046. 2009-09-21 12:49:12 +04:00
Blake Kaplan
ed88fddf07 Bug 517721 - Deal with incelem on NULL. r=gal 2009-09-19 17:18:34 -07:00
Igor Bukanov
8da9fad53a bug 512046 - avoid maintaing a per-runtime iterator list. r=brendan 2009-09-19 13:40:43 +04:00
David Mandelin
653ee067df Bug 517345 followup: fix turning off jitstats test in non-debug builds, no_r=me 2009-09-18 17:46:16 -07:00
David Mandelin
7c2e702632 Bug 517345: fix jitstats architecture flags, r=gal
--HG--
extra : rebase_source : bea8fd342f3f57071150c64e689971f14ecaa55e
2009-09-18 14:27:07 -07:00
Graydon Hoare
c421bb6e66 Bug 517530 - NJ merge: whitespace, equivalent code, PPC churn, r=dvander. 2009-09-18 13:31:09 -07:00
Jason Orendorff
a452c93626 Merge backout of bug 500431. 2009-09-18 08:58:48 -05:00
Jason Orendorff
cb511bce9e Backed out changeset 2fbd2420ef8b (bug 500431) due to Tinderbox orangeness. 2009-09-18 08:58:24 -05:00
Jason Orendorff
3260b4d4c5 Merge. 2009-09-18 08:55:30 -05:00
Jason Orendorff
b74384b5c8 Backed out changeset 3f508cfdfa36 (bug 500431) due to tinderbox orangeness 2009-09-18 08:55:01 -05:00
Jason Orendorff
d4c849d0f3 Merge. 2009-09-18 08:54:30 -05:00
Jason Orendorff
5d26f5c835 Backed out changeset 8abad92fd850 (bug 500431) due to Tinderbox orangeness 2009-09-18 08:53:03 -05:00
Jason Orendorff
5c38a9e48d Backed out changeset eafee0100926 (bug 500431) due to Tinderbox orangeness 2009-09-18 08:52:27 -05:00
Jason Orendorff
b2c20c2d5e Follow-up to bug 500431: change int constants to unsigned as Waldo asked in review. No bug#.
--HG--
extra : rebase_source : dfd17cf24d7d4c8362a8899521a7b6fed049d00a
2009-09-17 23:02:08 -05:00
Brendan Eich
2cf8dc9cf7 Remove now-redundant USE2DEF flags propagation before LinkUseToDef, which does it (510783 followup, r=mrbkap). 2009-09-17 19:44:24 -07:00
Brendan Eich
59ee053a5e Propagate USE2DEF flags in LinkUseToDef, duh (510783, r=mrbkap). 2009-09-17 18:56:23 -07:00
Graydon Hoare
16f6673674 Bug 517366 - NJ Merge: A Container assertion and more VMPI insulation, r=dvander. 2009-09-17 18:13:05 -07:00
David Mandelin
b152e9656d Bug 517117: don't trace JSOP_ARGCNT if arguments.length has been overridden, r=dvander
--HG--
extra : rebase_source : a53403064c533bdc3270408f0d29eeec12970040
2009-09-17 18:13:20 -07:00
Jason Orendorff
28f39d7f60 Fix JS_PROPERTY_CACHE_METERING-only build breakage from bug 500431. No bug#, rs=brendan.
--HG--
extra : rebase_source : 8f31bd8358bbd7957381dd1cac34067ea1a3bb5b
2009-09-17 20:02:33 -05:00
David Mandelin
38779e6762 Bug 516062: detect overridden arguments.length on trace for JSOP_ARGCNT, r=dvander 2009-09-17 18:00:01 -07:00
David Mandelin
836a74cc80 No bug, fixing tinderbox orange apparently caused by missing OOM check, r=gal in person 2009-09-17 17:44:19 -07:00
Jason Orendorff
b040e5c724 Bug 500431 - Encapsulate the property cache using C++ best practices - Part 2, refactoring. r=Waldo. 2009-09-17 18:24:38 -05:00
Jason Orendorff
666b4c3e13 Bug 500431 - Encapsulate the property cache using C++ best practices - Part 1, just moving a few functions to a new file. 2009-09-17 18:23:36 -05:00
x0
8180b3b7c3 Bug 429243 - /[\0]/.exec('\0') fails. r=crowder 2009-09-17 15:48:00 -07:00
Blake Kaplan
9b523edf4a Bug 517349 - Remove an incorrect assertion (we already do the work to make the condition not matter. r=dvander 2009-09-17 16:10:36 -07:00
Blake Kaplan
9d9aa554b9 No bug - Fix GCC warning by removing unused 'typedef' keyword. r=graydon
--HG--
extra : rebase_source : fcccfa5384f53f275caecca1e1e83b3951379b50
2009-09-17 15:47:58 -07:00
Graydon Hoare
fd60b3339c Bug 517331 - NJ merge: harmless Nativei386.h changes, r=dvander. 2009-09-17 14:50:32 -07:00
Graydon Hoare
d9af42beb8 Bug 517333 - NJ merge: move LIR 64-bit opcodes around, r=dvander. 2009-09-17 14:49:49 -07:00
Andreas Gal
a01c7f0d78 Merge. 2009-09-17 15:46:25 -07:00
Andreas Gal
55697d8ebf Merge. 2009-09-17 15:44:30 -07:00
David Anderson
d89c2f19a1 Fix over-counting of trace abort stats (no bug, r=gal). 2009-09-17 15:42:48 -07:00
Andreas Gal
38b0ee0297 Backed out changeset 5f449dffdff5 (regressed tp4 private bytes, and we are not sure what the hell that means). 2009-09-17 15:40:37 -07:00
David Anderson
9d96cfda08 Fixed bogus Nanojit x64 assertion with very wide shifts (bug 517150, r=gal). 2009-09-17 15:25:21 -07:00
David Anderson
1be03c2e1d Added LIR_div/LIR_mod support to x64 Nanojit (bug 516898,
r=njn).
2009-09-17 14:32:12 -07:00
Blake Kaplan
712df10db4 Bug 517250 - Fix a bad assert. r=waldo 2009-09-17 12:31:42 -07:00
Graydon Hoare
377ef84d89 Bug 517335 - TM: Add a 'cacheFlushed' counter to the tracemonkey stats, r=dvander. 2009-09-16 16:12:25 -07:00
Graydon Hoare
8f2fdcf156 Bug 517328 - NJ merge: copy changes to nanojit insulation layer, r=dvander.
--HG--
extra : rebase_source : 02c89206ca735a23a5633a2c4fa0d7522c9cdddc
2009-09-17 15:02:30 -07:00
Andreas Gal
4b2f3150ab Use one single GC heap chunk, avoiding frequent mmap and malloc calls (508707, r=igor,brendan). 2009-09-15 14:29:01 -07:00
Jeff Walden
f0654601f8 Bug 516623 - Followups to change signed-type overflow to unsigned-type overflow, because only the latter has defined behavior. r=mrbkap 2009-09-15 12:15:10 -07:00
Jason Orendorff
f3527c52c4 Bug 516715 - js shell should uneval results for display in interactive mode. r=brendan. 2009-09-15 14:54:48 -05:00
Jeff Walden
9da7781747 Bug 516623 - jsnum.cpp:87: warning: integer overflow in expression. r=mrbkap 2009-09-14 23:00:15 -07:00
Graydon Hoare
2521578c2d Backed out changeset 35777195800a, perf regression. 2009-09-14 21:07:57 -07:00
Graydon Hoare
963fd74e53 Bug 516620 - Kill off residue of MMgc, r=gal.
--HG--
extra : rebase_source : 1bd814f499014507fb60ad554687b12b9fe09a3e
2009-09-10 16:29:36 -07:00
Nicholas Nethercote
66fe28e11c Bug 516909 - nanojit: improve LIR_div/LIR_mod codegen. r=gal. 2009-09-17 11:10:26 +10:00
Nicholas Nethercote
d43a49fd27 Bug 516903 - nanojit: fix printing of cmov, cmovq. r=edwsmith. 2009-09-17 10:39:03 +10:00
Blake Kaplan
afba815d74 Merge tracemonkey to mozilla-central. 2009-09-16 16:15:59 -07:00
Blake Kaplan
f823db9527 Bug 517041 - Instead of giving pseudo frames an sp, protect against null sps during GC. r=brendan 2009-09-16 16:13:41 -07:00
Doug Turner
3ff92d0640 Bug 515818 - cleaning up comment. r=staurt 2009-09-16 14:27:58 -07:00
Blake Kaplan
c39783bcf1 Bug 513160 - Rework how we calculate this on trace. 2009-09-15 21:18:33 -07:00
David Mandelin
13be6d7f4a Fixing a warning, no_r=me
--HG--
extra : rebase_source : 2aca8c5affcfe0add916f6cb89d4a2944db3012e
2009-09-16 12:11:18 -07:00
Blake Kaplan
0d3ac085c7 Bug 516897 - Give the pseudo frame an sp that the GC can appreciate. r=waldo 2009-09-16 00:49:25 -07:00
Nicholas Nethercote
ea34e5ace1 Bug 515901 - nanojit: make #ifdefs consistent for _fpuStkDepth. r=rreitmai. 2009-09-16 16:00:51 +10:00
David Anderson
ec78fde205 Merge. 2009-09-15 19:37:20 -07:00
David Anderson
ef57e2d451 Quick x64 debug build bustage fix (no_r=me). 2009-09-15 19:36:48 -07:00
David Mandelin
0146da3559 Bug 516853: disable page-touching on MacOS to improve JS engine startup, r=gal 2009-09-15 19:08:21 -07:00
David Anderson
ee6117f29d Enable x64 JIT backend by default (bug 489146, r=gal). 2009-09-15 18:36:16 -07:00
Graydon Hoare
d0efa663da Bug 503424 - Additional followup to fix more profound build-breakage, r=me. 2009-09-15 17:07:33 -07:00
Graydon Hoare
70f3343672 Bug 503424 - Followup to fix windows build breakage, r=gal.
--HG--
extra : rebase_source : 338e0b9c4b5c52fbec05074086a80076cf9f8299
2009-09-15 16:31:07 -07:00
Blake Kaplan
c34aa4b473 No bug - Force the type here to be wide enough. r=gal/someone who can do bit math 2009-09-15 15:49:00 -07:00
Blake Kaplan
4a42334b38 Bug 516815 - Give shell JS a way to tell if the given object is an inner or outer object. Also correctly outerize in the shell for the thisObject hook. r=jorendorff 2009-09-15 15:16:36 -07:00
Julian Seward
b214130415 Bug 503424 - Add built-in support for compiled-trace and -guard profiling, r=graydon. 2009-09-15 15:05:53 -07:00
Serge Gautherie
4a459d4682 Bug 507897 - Remove 'WINDOWS16' (support) code everywhere; (Bv1-MC) version.mk
r=ted.mielczarek
2009-09-16 02:54:54 +02:00
Blake Kaplan
5ee9e532ef Bug 516102 - Refactor XPCNativeWrapper's constructor into callable-from-JS and callable-from-C++ functions. r+sr=jst 2009-09-14 18:26:18 -07:00
Mitchell Field
9bf8383b06 Bug 513924 - "remove tons of options from configure" [r=ted.mielczarek r=benjamin]
--HG--
extra : rebase_source : 2ca44f54f550507248b41c69c883090c389db419
2009-09-15 13:06:32 -04:00
Doug Turner
5faaa5cee5 Bug 515818 - crash at js3250.dll\!nanojit::CodeAlloc::alloc. OOM. WINCE only. Use jemalloc (default allocator). r=gal 2009-09-14 22:04:35 -07:00
Graydon Hoare
5d33edd2e9 Bug 516620 - Kill off residue of MMgc, r=gal. 2009-09-10 16:29:36 -07:00
Brendan Eich
eaabbf253c Bug 516075 - Move shape into JSObjectMap from JSScope, const-ipate and use LIR_ldc* to get to it (r=jorendorff). 2009-09-14 20:29:46 -04:00
David Anderson
92ad5b2859 Renamed JSOP_LOOP to JSOP_TRACE, which now also gets emitted at the start of scripts (bug 515806, r=brendan). 2009-09-14 17:26:16 -07:00
Graydon Hoare
1b282006e0 Bug 516567 - Remove unused error codes from Assembler, r=gal. 2009-09-10 16:05:47 -07:00
Luke Wagner
854c0294df Bug 412571 - replace thisp with thisv (r=brendan,mrbkap) 2009-09-11 19:07:00 -07:00
Brendan Eich
7232012b19 Don't be confused by eval's frame inheriting its caller's fun member when propagating sharp slots (516263, r=igor). 2009-09-14 10:36:01 -04:00
Brendan Eich
5de171f5f5 Don't assume a script with sharps whose caller has no sharps has no other fixed slots (516262, r=igor). 2009-09-14 10:29:56 -04:00
Nicholas Nethercote
dc36e0b4cd Follow-up for bug 516298. r=brendan. 2009-09-14 17:38:48 +10:00
Nicholas Nethercote
79ded264a4 Bug 516298 - TM: fix three compiler warnings. r=brendan. 2009-09-14 14:17:45 +10:00
Nicholas Nethercote
497b41e674 Bug 515904 - nanojit: merge bug 513007 from Tamarin. r=graydon. 2009-09-14 08:29:29 +10:00
Andreas Gal
ec9363019f Add a way to flush CodeAllocs without deleting/recreating (515874, r=graydon). 2009-09-12 23:06:51 -07:00
Andreas Gal
72c92b196f Use a single code cache for the JIT and the RegExp compiler (515852, r=dmandelin). 2009-09-12 23:04:27 -07:00
Vladimir Vukicevic
b5e4a179d5 b=516107; TM: bad partial merge causes bad ARM codegen; r=gal 2009-09-11 19:20:15 -07:00
David Anderson
04069b3bf5 Fixed register allocation bug in x64 backend (bug 516093, r=gal). 2009-09-11 18:31:12 -07:00
David Mandelin
cfdd0c20d7 Bug 516009: do stack update after all guards for JSOP_LAMBDA_FC, r=gal 2009-09-11 17:32:20 -07:00
David Mandelin
1ccc6f7025 Bug 515844 followup: change debug option to moz-standard -g, no_r=me 2009-09-11 16:43:50 -07:00
Andreas Gal
2b967c4b02 Add test for bug 504516. 2009-09-11 15:59:04 -07:00
Brendan Eich
1f562c224a Bug 516069 - Common the side exit used with shape guards (r=gal). 2009-09-11 15:44:30 -07:00
Jeff Walden
9d39c0d549 Bug 515285 - Implement JS_SameValue, and make assertEq use it rather than JS_StrictlyEqual. r=jorendorff 2009-09-09 11:51:52 -07:00
Jeff Walden
23423d9733 Fxi tpyo 2009-09-11 11:53:00 -07:00
Neil Rashbrook
e4cac4353a Bug 508780 Followup to make qsgen.py compatible with Python 2.4 r=peterv 2009-09-19 18:10:09 +01:00
Phil Ringnalda
e62c83fdc6 Bug 495228 - Remove checks for mac MOZ_WIDGET_TOOLKIT, r=ted 2009-09-18 19:59:53 -07:00
Benjamin Smedberg
004047451f Sync changes to static-checking.js from the NS_OVERRIDE and NS_MUST_OVERRIDE bugs. 2009-09-18 17:12:19 -04:00
Benjamin Smedberg
124c9c8007 Bug 517278 - JS_REQUIRES_STACK errors (jsobj.cpp and jstracer.cpp), r=jorendorff 2009-09-18 09:36:51 -04:00
Peter Van der Beken
9a6bc55b64 Fix for bug 508780 (Stop using tearoff from quickstubs for nsDOMCSSDeclaration/nsComputedDOMStyle), part 1. r=jst.
--HG--
extra : rebase_source : c08832cbf78e54b82a7bc3dd22e7bc8710ed8b29
2009-09-18 15:09:53 +02:00
Blake Kaplan
67c44c0769 Backed out changeset a01f270b961a to fix tinderbox orange. 2009-09-17 21:47:50 -07:00
Vladimir Vukicevic
e2c066ebc4 b=516107; TM: bad partial merge causes bad ARM codegen; r=gal 2009-09-11 19:16:10 -07:00
Blake Kaplan
7615f61052 Fix bustage. 2009-09-11 17:03:53 -07:00
Blake Kaplan
3598007c8f Fix bustage from bug 509557. 2009-09-11 14:43:22 -07:00
Blake Kaplan
6d09f51003 Bug 505915 - Throw exceptions eagerly when we try to convert a cross-origin security wrapper to a C++ object. r=jst 2009-09-02 17:25:25 -07:00
Blake Kaplan
5e85bedc27 Bug 517163 - Add missing call to morph slim wrappers when wrapping them in XPCNativeWrappers. r+sr=jst 2009-09-17 18:51:10 -07:00
Blake Kaplan
9ab2d4e1e8 Merge the backout. 2009-09-17 15:30:33 -07:00
Blake Kaplan
3ad62940d0 Backed out changeset 5f449dffdff5. Trying to fix Tp4 heap size regression. 2009-09-17 15:27:04 -07:00
Blake Kaplan
e4fc79f8a7 Merge backout. 2009-09-17 15:24:08 -07:00
Blake Kaplan
5e4fdf8802 Backed out changeset af649bce14da. Trying to fix performance regressions. 2009-09-17 15:23:58 -07:00
Benjamin Smedberg
667f14f6d4 Bug 503451 - remove GeckoActiveXObject/COMObject, and similar functions which aren't usable by content except that content can still detect which COM objects are present on the system r=mrbkap sr=jst 2009-08-27 12:38:33 -07:00
Reed Loden
9c07d8dabb Bug 516862: Backported a change from dtoa.c upstream made on 2009-03-01. [r=crowder r=mrbkap]
Here is an excerpt from the 'changes' file describing this change:
"dtoa.c and gdtoa/gdtoaimp.h and gdtoa/misc.c: reduce Kmax, and use
MALLOC and FREE or free for huge blocks, which are possible only in
pathological cases, such as dtoa calls in mode 3 with thousands of
digits requested, or strtod() calls with thousand of digits. For the
latter case, I have an alternate approach that runs much faster
and uses less memory, but finding time to get it ready for distribution
may take a while."
2009-09-17 01:22:51 -05:00
Andreas Gal
231c6c273f Objects of different JSClass can share scopes (505523, r=jorendorff). 2009-08-25 20:17:11 -07:00
Graydon Hoare
12b7a6e203 Provide missing ARM defines, fix tinderbox, r=me.
--HG--
extra : rebase_source : 8c2e414874c5da5db61db9d0ecc7feec35e5227f
2009-08-25 16:39:13 -07:00
Jason Orendorff
092787084d Bug 507683 part 2 - Avoid lookup on trace when calling a native getter with no slot. r=gal.
--HG--
extra : rebase_source : 38c552c3c1daad34bda66fc9ced2ec31d954eef0
2009-08-25 15:02:58 -07:00
Jason Orendorff
c45d09492c Bug 507683 part 1 - Trace native getters. r=gal.
--HG--
extra : rebase_source : f73754b7946e3d525b11f5973c61e22bd2f56dba
2009-08-25 15:01:29 -07:00
Graydon Hoare
8c36a6157c Bug 512366 - insert some missing assembler bits, r=dvander. 2009-08-24 16:57:25 -07:00
Jacob Bramley
a3ca948c53 Bug 507117 - Merge Tamarin NativeARM changes into TraceMonkey, r=graydon.
--HG--
extra : rebase_source : f374bb29ae56dbff12da60d200868fa4f1e2b4fa
2009-08-24 15:57:55 -07:00
Andreas Gal
d2459a75f9 Merge. 2009-08-25 14:43:09 -07:00
Andreas Gal
030a8114b2 Backed out changeset 9b6b17a275ec (bug 506125). 2009-08-25 14:42:42 -07:00
Jason Orendorff
e941aa6935 Bug 510895 comment #3 - Indentation nit, follow-up to changeset eb6e2f20bbde. 2009-08-25 14:11:21 -07:00
David Mandelin
8df006e722 Bug 512382: control lines for trace-test.py, r=jorendorff
--HG--
extra : rebase_source : 3d11ca29af8ff07d899a78ff09eb4766be12f7eb
2009-08-25 14:06:47 -07:00
Jason Orendorff
8d17eb83a0 Bug 510895 - Select getc/getc_unlocked/_getc_nolock in autoconf. r=jimb.
--HG--
extra : rebase_source : 828e017e94ffd5f742d0ead3d48c42e7ad38eace
2009-08-25 12:33:03 -05:00
David Anderson
1b040156e7 Fixed assertion botch, (fallout from bug 512029 desk r=jorendorff). 2009-08-25 12:32:03 -07:00
Luke Wagner
5d3b52b8ea Use JS_CEILING_LOG2W in JSTempVector (r=waldo) 2009-08-25 12:09:20 -07:00
David Anderson
e322e64001 Removed JSStackFrame::xmlNamespace (bug 512389, r=brendan). 2009-08-25 12:07:45 -07:00
Andreas Gal
58465e64d5 Another build fix for 512049. I wish DOM wouldn't poke into the guts of the JS engine. 2009-08-24 23:05:54 -07:00
Andreas Gal
59cc079901 Build fix for bug 512049. 2009-08-24 22:00:30 -07:00
Andreas Gal
7644588864 Inline DoubleToECMAInt32 (512049, r=dmandelin). 2009-08-24 18:46:21 -07:00
Andreas Gal
f808b9ca98 Memory-pressure based GC scheduler (506125, r=igor,jwalden). 2009-08-24 18:24:52 -07:00
Jason Orendorff
3bab9b25d4 Bug 511575 - TM: Crash [@ js_HashString] with "continue LABEL;" (in ojay 0.2.1). r=gal.
--HG--
extra : rebase_source : 91137fdb9d870cbc7a4ee3d1dbaed881b185b60c
2009-08-24 14:27:41 -05:00
Jason Orendorff
5dd467a8d4 Bug 511974 - Treat "continue LABEL;" like "break;". r=gal.
--HG--
extra : rebase_source : d9507a3c8ef0e64f12c5890e9c3104e5329d3f29
2009-08-24 13:37:07 -05:00
Nicholas Nethercote
74317cbe5d Bug 505388 - nanojit: refactor two Assembler methods. r=edwsmith. 2009-08-25 10:59:09 +10:00
David Anderson
d6567c21e2 Build fix (followup to bug 512029). 2009-08-24 17:18:41 -07:00
David Anderson
744033066f Removed JSStackFrame::callee (bug 512029, r=brendan). 2009-08-24 17:09:44 -07:00
David Anderson
5a190d8788 Fix warnings on Linux gcc (bug 506714, desk r=jorendorff). 2009-08-24 15:09:21 -07:00
Nicholas Nethercote
0aeb8fe419 Bustage fix for optimised builds for bug 511329. 2009-08-24 09:41:11 +10:00
Nicholas Nethercote
761fce9249 Bug 511329 - nanojit: don't print dead LIR instructions with TMFLAGS=assembly. r=edwsmith. 2009-08-24 08:57:40 +10:00
Igor Bukanov
cd5052cc4c bug 509143 - js_CloneRegExp is missing a call to js_SetLastIndex. r=mrbkap 2009-08-22 19:59:55 +03:00
Luke Wagner
37ea69aa3d Fixed template-id in JSTempVectorImpl 2009-08-21 19:31:51 -07:00
Brendan Eich
f5c41293a5 Unit strings not in atom table means we must always mark them unless shutting down the runtime (511835, r=gal). 2009-08-21 17:28:05 -07:00
Graydon Hoare
24358ae9d8 Bug 511972 - More Fragment cleanups, r=dvander.
--HG--
extra : rebase_source : 186782bd96d8155eb3f0277616012636d6ebe469
2009-08-21 13:51:55 -07:00
Jason Orendorff
f9a7d4274f Fix silly crash in HashMap::remove(). r=graydon on IRC, no bug.
--HG--
extra : rebase_source : 25d53309e30bec26f7a93148c9000e1c79431986
2009-08-21 15:14:37 -05:00
Jason Orendorff
c78334cec0 Merge. 2009-08-21 13:52:34 -05:00
Graydon Hoare
5a401319ba Bug 511919 - Copy the x64 backend from Tamarin, r=dvander. 2009-08-21 11:27:08 -07:00
Jason Orendorff
7eb0c31f08 Fix trace-test.py -f. r=dmandelin via IRC, no bug.
--HG--
extra : rebase_source : 7ae99002a44e6e5323c9c2909f523d278ac0f38d
2009-08-21 13:18:36 -05:00
Jason Orendorff
6772d63b3d Bug 511836 - Assertion failure: JSVAL_IS_INT(v), at ../jsapi.h. Iterator.prototype not initialized properly. r=mrbkap.
--HG--
extra : rebase_source : 50975b84c4b399a96d24eaa1884308c6a5b4d586
2009-08-21 11:58:34 -05:00
Blake Kaplan
bfebb50319 Bug 509557 - Initialize the prototype's flags so that we can always assume that an XPCNativeWrapper's flags are integers. r=jst sr=bzbarsky 2009-08-18 21:02:05 -07:00
Blake Kaplan
439954f9eb Bug 509557 - Don't do a bunch of extra work and create a bunch of extra objects during window creation. 2009-08-18 21:02:05 -07:00
Blake Kaplan
79c31490dc Bug 515475 - Get rid of a spurious security check in js_InternalGetOrSet that isn't needed anymore. r=brendan 2009-09-10 14:47:19 -07:00
Blake Kaplan
71d5ed8b0d Bug 514554 - Don't skip state transitions without initializing members. r=peterv sr=jst 2009-09-10 14:09:35 -07:00
Robert Sayre
ca5aa4b4ac Temporarily ifdef jsapi-tests on wince, so the rest of the tests can run. r=ted 2009-09-09 12:48:04 -04:00
Josh Aas
621cf29067 Add executable bits back to config.guess files. b=515002 2009-09-09 08:20:25 -04:00
Reed Loden
b5846b26bb Bug 294375 - Remove support for libgnomevfs's handling of user modifications to the MIME database, as it has been deprecated for years [r=karlt sr=roc] 2009-09-08 15:08:02 -05:00
Josh Aas
099411b764 Sync config.guess to latest version from gnu, include fix for GNU Savannah bug 6827. b=515002 r=ted 2009-09-08 14:55:19 -04:00
cls
9ab69d6189 Bug 505739 - "Remove XCFLAGS from default compile line to fix mingw cross-compile issues" ( remove XCFLAGS from COMPILE_CFLAGS / COMPILE_CXXFLAGS) [r=bsmedberg] 2009-09-04 21:54:07 -05:00
Jacek Caban
354f838a98 Bug 505739 - "Remove XCFLAGS from default compile line to fix mingw cross-compile issues" (remove X_CFLAGS from CPPFLAGS) [r=bsmedberg] 2009-09-04 21:54:02 -05:00
Benjamin Smedberg
008e309c7f Bug 513032 - remove empty conditionals in our makefiles, r=ted 2009-08-27 10:48:18 -07:00
Shawn Wilsher
993694805d Bug 513710 - Places toolkit JS should use XPCOMUtils.defineLazy[Service]Getter
r=sayrer for XPCOMUtils change
r=mak for places changes

--HG--
extra : rebase_source : 70367abfaf16fcf37aab6f55f024b95ff3d269fa
2009-09-02 13:55:16 -07:00
Mitchell Field
be725fa2ce Bug 514131 - remove xpcom/obsolete, r=bsmedberg 2009-09-02 13:01:29 -04:00
Serge Gautherie
374aaaddf3 Bug 513602 - Remove (now) useless MOZ_GFX_TOOLKIT; (Bv1-MC) Just remove it
r=vladimir
2009-09-01 00:41:38 +02:00
Shawn Wilsher
287d6992b8 Bug 508850 - XPCOMUtils should provide a convenient way to define lazy getters
r=sayrer
sr=bsmedberg
2009-08-31 09:32:05 -07:00
Ben Newman
4d0f1f9548 Trivial indentation fixups that should have gone in with 9e16ec20e6fe. r=brendan 2009-08-28 15:34:31 -07:00
Ben Newman
e5a024bacf Bug 500644 - PAC: crash when using PAC-based manual proxy config and the attached testcase. r=mrbkap sr=brendan
--HG--
extra : rebase_source : 68dbf79d8e257f3915b817723ca51deb840e4298
2009-08-27 18:07:44 -07:00
Blake Kaplan
eb16f9a84d Bug 495325 - Follow ES about indirect eval being global eval. r=brendan/igor
--HG--
extra : rebase_source : 397bd79f787fc6d079fea1b2433a8e262626ca46
2009-08-17 18:08:20 -07:00
Graydon Hoare
56a6b95359 Bug 518925 - LirWriter leak with regexp match in debug builds, r=dvander. 2009-09-25 15:45:45 -07:00
Graydon Hoare
ee59e42dc3 Bug 518730 - TM: change the allocators to calloc, r=gal. 2009-09-25 15:16:10 -07:00
Graydon Hoare
b5097e03aa Bug 497009 - Deallocate LIR after recording, r=gal.
--HG--
extra : rebase_source : 5fc9d76620f83d3bbf6ba7a4656c296654bb6323
2009-09-23 18:46:34 -07:00
David Mandelin
df2ec67c4d No bug, undo change to obsolete valgrind option in 886a447d6a8f, no_r=me 2009-09-25 15:03:03 -07:00
Luke Wagner
3cf8a59c01 Bug 503952 - Use JSTempVector in scanner/parser; remove JSStringBuffer (r=brendan) 2009-08-14 16:10:59 -07:00
David Anderson
bed67e910c Removed callee from FrameInfo, and fixed upvar bugs in stack reconstruction (bug 510300, r=dmandelin,brendan). 2009-08-21 08:09:47 -07:00
Graydon Hoare
cad54739ba Bug 511309 - Followup patch to force flush on the CodeAllocs, r=sayrer. 2009-08-20 21:02:41 -07:00
Robert Sayre
4d69e4136d Merge. 2009-08-20 22:47:58 -04:00
Robert Sayre
4bf25b4f6e Fix jsapi-tests assert in debug builds. tests need to happen inside a request. 2009-08-20 22:16:32 -04:00
Graydon Hoare
503c025d90 Bug 511309 - Delete class Fragmento and all uses of it, r=dvander.
--HG--
extra : rebase_source : 47047589288ac0758e0068307b5a8f393db97606
2009-08-20 17:22:47 -07:00
Andreas Gal
ebfe09b112 Fast path for writing a double into an array (511737, r=danderson). 2009-08-20 16:53:10 -07:00
Graydon Hoare
ebe9c3f20b Bug 511237 - Remove primary use of Fragmento from jsregexp, r=dmandelin. 2009-08-18 15:32:54 -07:00
Graydon Hoare
571bd08a08 Bug 511040 - Make nanojit::HashMap usable for non-word keys, r=edwsmith.
--HG--
extra : rebase_source : 7d4dff334de629f60342736e50c518ec891df19f
2009-08-18 15:32:47 -07:00
Jason Orendorff
0615e68e91 Bug 505798 - JSAPI test harness. r=Waldo. 2009-08-20 17:20:14 -05:00
David Mandelin
6e0758faf2 Trailing whitespace cleanup, no_r=me 2009-08-20 15:21:14 -07:00
Robert Sayre
86100e21e2 Merge mozilla-central to tracemonkey. 2009-08-20 18:02:17 -04:00
David Anderson
57bffd92e3 Consolidated inner global typemap completion logic and fixed a bug when extending nested exits (bug 510518, r=gal,sayrer). 2009-08-20 13:06:27 -07:00
Jason Orendorff
5418886640 Bug 511418 - static-analysis error in jsobj.cpp:4257: cannot access JS_REQUIRES_STACK variable JSContext::fp and another trivial error in jstracer.cpp. r=gal.
--HG--
extra : rebase_source : 9ee93b34fbf656437932a4f3c8b373a11911cffd
2009-08-20 14:13:21 -05:00
Jason Orendorff
88e3edcd5e Bug 506491 - Download Manager opens 'Blank' - intermittent - Error: gStr.timeUnits is undefined and download is null. r=brendan.
--HG--
extra : rebase_source : 22338610bff62f5aefca99a07f4f54621d18a680
2009-08-20 12:25:09 -05:00