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
Jeff Walden
2d21b7a6d5
Adjust the assertEq replacement function in JS tests not run in the shell to use same-value semantics. No bug, driveby fix, r=samantha the wonder dog
2009-09-22 14:35:14 -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
Boris Zbarsky
395f56d6c5
Bug 521010. Expose a .script on jsdIValue, r=brendan
2009-10-07 21:19:54 -04: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
Dan Witte
33058ca79e
Implement jsctypes with raw JSAPI. b=518721, r=jorendorff, sr=bsmedberg
2009-10-06 12:16:38 -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
Makoto Kato
dcb67bd558
js-ctypes cannot build on Windows x64. b=518741, r=dwitte
2009-10-02 23:14:19 -07:00
Dan Witte
0eb900286c
Fix jsctypes unsigned __int64 conversion on MSVC. b=519235, r=jorendorff
2009-10-02 22:47:56 -07:00
Dan Witte
fcff058b34
jsctypes broken on OSX 10.4/gcc-4.0.1/i686. b=519465, r=bsmedberg
2009-10-02 22:47:16 -07:00
Dan Witte
00839251a1
Fix typo.
2009-10-02 22:44:00 -07: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
Dan Witte
061229fc6b
comment out failing test for now.
2009-09-25 18:22:48 -07:00
Dan Witte
ba4cd7b03d
fix windows, again.
2009-09-25 16:50:46 -07:00
Dan Witte
76423c9a43
fix windows xpcshell test.
2009-09-25 13:07:34 -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
Dan Witte
c80c91ab38
Improve ctypes error handling per review comments.
2009-09-23 18:01:21 -07:00
Reed Loden
fd8dbb7389
Fix orange due to differences between 'system-headers' copies.
2009-09-23 18:10:38 -05:00
Dan Witte
dea6b5403c
fix windows linking.
2009-09-23 13:56:49 -07:00
Dan Witte
c3d8b30c89
fix msvc build.
2009-09-23 13:15:03 -07:00
Dan Witte
f188e30970
update per review comments.
2009-09-23 10:57:22 -07:00
Dan Witte
b2b12ba398
Add libffi_msvc fork for msvc x86 builds, and other build fixes for various platforms.
...
bug 513783, r=bsmedberg.
2009-09-23 10:57:22 -07:00
Dan Witte
38eb8b7058
Land jsctypes. b=513783, r=jorendorff, sr=bsmedberg.
2009-09-23 10:57:22 -07: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