Brendan Eich
afa77ac32c
Add test for 541455.
2010-02-02 11:10:19 -08:00
Brendan Eich
c42c170a64
Cleanup pass on bug 543119 (r=vlad).
2010-02-01 15:50:30 -08:00
Luke Wagner
7714144859
Bug 535656 - remove JSStackFrame::dormantNext and varobj (r=waldo)
2010-01-29 18:25:16 -08:00
Vladimir Vukicevic
ac27cfa766
b=543119; typed array tracing should be more const than it is; r=gal
2010-01-29 23:03:59 -08:00
Robert Sayre
c7ce498f03
Merge mozilla-central to tracemonkey.
2010-01-29 09:51:21 -08:00
Nicholas Nethercote
247420b724
Bug 540368 - nanojit: split LIR_qlo, LIR_live and LIR_ret into two opcodes each to faciliate LIR type-checking (TM-specific part). r=dvander.
2010-01-28 09:43:36 +11:00
Nicholas Nethercote
6478f53e9b
Bug 541491 - ARM_ARCH, ARM_VFP, and ARM_THUMB2 should be runtime options everywhere (TM-specific part). code=stejohns, r=nnethercote.
2010-01-28 09:41:07 +11:00
Nicholas Nethercote
832be7e522
Update nanojit-import-rev stamp.
2010-01-28 09:38:06 +11:00
Julian Seward
c0ca91a9e9
Bug 536153 - NativeARM.cpp: Incorrect use ALUr_shi to generate compare insns. r=Jacob.Bramley.
...
--HG--
extra : convert_revision : f4ece4c13545709edbd5b8f856ec39f155223892
2010-01-28 09:31:38 +11:00
Nicholas Nethercote
b61775ba66
Bug 540368 - nanojit: split LIR_qlo, LIR_live and LIR_ret into two opcodes each to faciliate LIR type-checking (NJ-specific part). r=edwsmith.
...
--HG--
extra : convert_revision : 54cf6d39a21dc1e209d3e0e48bb6c2b61ab5f909
2010-01-28 08:45:29 +11:00
Edwin Smith
1cd47593e7
Fix unused local variable warning in NativePPC.cpp (r=me)
...
--HG--
extra : convert_revision : e58ebcf59d3eb1a75a4ad41df32db2794732284b
2010-01-27 10:17:19 -05:00
Steven Johnson
cc53ad5c4e
Bug 541491 - ARM_ARCH, ARM_VFP, and ARM_THUMB2 should be runtime options everywhere (r=rreitmai,nnethercote)
...
--HG--
extra : convert_revision : 90cd176398da34d02665e189e6311b72e8d3657d
2010-01-26 10:37:38 -08:00
Luke Wagner
89799b298a
Bug 541456 - change ConvertSupportsTojsvals not to use js_AllocStack (r=jst)
2010-01-25 08:48:07 -08:00
Igor Bukanov
836b8a84eb
bug 540805 - using reference counting only for empty scopes. r=jorendorff
2010-01-27 09:50:17 +03:00
Vladimir Vukicevic
10bddbda2d
b=542395; really enable typed array tracing and support JSOP_LENGTH; r=gal
2010-01-26 21:45:11 -08:00
Jeff Walden
de3dc07e82
Rearrange jsbuiltins.h's list of traceable natives by file. No bug, r=sparky
2010-01-26 18:20:04 -08:00
Igor Bukanov
7227718637
bug 541790 - do not purge again if the GC restarts. r=jorendorf
2010-01-26 22:27:09 +03:00
Luke Wagner
4040498e00
Fix ARM bustage, part deux
2010-01-26 04:41:00 -08:00
Nicholas Nethercote
8498d179bc
Bug 541886 - nanojit: move compile() into class Assembler (TM-specific part). r=dvander.
2010-01-26 14:06:13 +11:00
Nicholas Nethercote
7eb8623d12
Update nanojit-import-rev stamp.
2010-01-26 13:48:19 +11:00
Nicholas Nethercote
09e7e8d0a8
Bug 541886 - nanojit: move compile() into class Assembler. r=rreitmai.
...
--HG--
extra : convert_revision : f3506c693a7e8b7af089367313cbe960d7e2607f
2010-01-26 13:38:15 +11:00
Steven Johnson
1f13f206c4
Init rb to UnspecifiedReg in asm_fop (x64) to pacify compiler
...
--HG--
extra : convert_revision : 1cae250cda3ca1765fc3de8e057dccdd4522c358
2010-01-25 15:23:34 -08:00
Steven Johnson
f0de53c1ce
remove unused-parameter warning from Assembler::hint() in NativeX64.cpp to fix Linux64 build breakage
...
--HG--
extra : convert_revision : 5db4de482aca2e102551560de084c33bd4db2bc8
2010-01-25 15:04:22 -08:00
Steven Johnson
9c26cf7691
fix obviously wrong call to getTarget() in ValidateReader::read() for LIR_jtbl (r=me)
...
--HG--
extra : convert_revision : 0a24446567224c42ee3f421627ea644976fea3de
2010-01-25 11:56:01 -08:00
Steven Johnson
e0fe64337d
implement EXPANDED_LOADSTORE for ARM (code=vladimir,stejohns; r=vladimir,rreitmai; bug=534765)
...
--HG--
extra : convert_revision : 75f0d95c8bea8ceb0d9bb2dfd55aeb0d0d200bd1
2010-01-25 11:08:42 -08:00
Vladimir Vukicevic
dbeceb07e7
b=533659; tracing support for JS typed array types; r=gal
2010-01-25 17:06:36 -08:00
Graydon Hoare
a8e66a4bcd
Bug 526074 - handle nothing-to-import case in import script, r=gal.
2010-01-25 10:32:33 -08:00
Nicholas Nethercote
0789008cc7
Update nanojit-import-rev stamp.
2010-01-25 14:03:02 +11:00
Nicholas Nethercote
b2dcc26c38
Bug 538924 - nanojit: rework reservations. r=edwsmith.
...
--HG--
extra : convert_revision : 51a78a175b1074c933323e0bf24d6f64b5c6c35d
2010-01-25 10:39:36 +11:00
Nicholas Nethercote
fec7f356b0
ARM bustage fix for bug 540351.
...
--HG--
extra : convert_revision : 4a6d8a20be25e523d261f1754b0be90619fc0554
2010-01-25 09:44:47 +11:00
Nicholas Nethercote
a0704e558a
Bug 540351 - nanojit: refactor hint() and registerAlloc(). r=rreitmai.
...
--HG--
extra : convert_revision : fa4f34a51239317d312b9388f2eb9ca2631b463e
2010-01-25 09:40:11 +11:00
Nicholas Nethercote
126997f7d4
Bug 534313 - nanojit: split isQuad() into isI64() + isF64() + is64() (TM-specific part). r=dvander.
2010-01-25 08:50:38 +11:00
Nicholas Nethercote
402ef4a279
Update nanojit-import-rev stamp.
2010-01-25 08:36:49 +11:00
Nicholas Nethercote
43cc6ace57
Bug 534313 - nanojit: split isQuad() into isI64() + isF64() + is64(). r=dvander,stejohns.
...
--HG--
extra : convert_revision : f24a70adec4c24dffd3a9c6c3572c5755938291a
2010-01-25 08:25:04 +11:00
Steven Johnson
37c967beaf
nanojit/NativeARM.h: remove NJ_ARM_ARCH (code=bramley,r=stejohns,bug=541258)
...
--HG--
extra : convert_revision : cfcf246845a1fa07f60c791bdc471ed11a10351a
2010-01-22 12:39:57 -08:00
Edwin Smith
605b734ba8
(second try) Adds protect/unprotect API to CodeAlloc (bug 460993 r=nnethercote,rreitmai sr=gal)
...
Removes calls to VMPI_setPageProtection from CodeAlloc, and adds a new
protect/unprotect API to CodeAlloc, along with an SPI for the vm to implement
actual page protection.
It is up to the VM to call codeAlloc->protect() before executing jit'd code,
but CodeAlloc will internally call unprotect() before modifying blocks, as code
is generated. If the VM's implementation of allocCodePage allocates memory
as RWX, then the new protection api's can be ignored and the implementations
of markCodeChunkExec/Write can be empty functions.
A flag per code chunk is used so that only modified pages are unprotected and
reprotected.
CodeAlloc never calls VMPI_setPageProtection any more, so platform abstractions
for this can be encapsulated in the CodeAlloc SPI methods.
nanojit/avmplus.cpp was modified to call VMPI_setPageProtection on the platforms
that didn't already allocate code memory as RWX. Since those callsites are platform
specific and the only place we call VMPI_setPageProtection, the code could be further
simplified.
--HG--
extra : convert_revision : 3c9030f46c15cc0f033592db6ba96674e1f5173b
2010-01-22 15:18:12 -05:00
Igor Bukanov
450cf95e35
bug 538275 - ClaimTitle cleanup. r=brendan, jorendorff
2010-01-24 14:15:38 +03:00
Luke Wagner
b41eed1718
Fix ARM bustage
2010-01-22 16:15:24 -08:00
Luke Wagner
2645ecd2da
Bug 541452 - put jstracer.cpp in namespace js (r=jorendorff)
2010-01-22 14:49:18 -08:00
Brendan Eich
1699be3a87
Bug 541455 - Do not drop "mumble"; would-be directives in the parser, let them be completion values (or useless expressions for the emitter to cull) (r=jimb).
2010-01-22 12:17:13 -08:00
Luke Wagner
4f05b945eb
Bug 458421 - dead stuff in spidermonkey (r=jorendorff)
2010-01-22 11:52:17 -08:00
David Mandelin
7178b08092
Bug 541239: don't use upvar for variables in eval if they cross a generator, r=mrbkap
2010-01-21 17:06:11 -08:00
Nicholas Nethercote
f4bc73f777
Bustage fix for bug 463137: use insBranch() instead of ins2() to insert LIR_j. r=me.
2010-01-22 16:20:42 +11:00
Nicholas Nethercote
31c3c6d825
Bug 463137 - TM/nanojit: type-check LIR (TM-specific part). r=jseward.
2010-01-22 13:41:24 +11:00
Nicholas Nethercote
6a429f956a
Update nanojit-import-rev stamp.
2010-01-22 13:38:10 +11:00
Nicholas Nethercote
c1a35c54aa
Bug 521692 - NJ merge: don't check for error twice in Assembler::gen(). r=graydon.
...
--HG--
extra : convert_revision : c0257e13ea032510ed6ec3e1a6ea55c0fe98e614
2010-01-22 13:24:59 +11:00
Nicholas Nethercote
1706534709
Bustage fixes.
...
--HG--
extra : convert_revision : 7befbe058634dc37e2fcd614969fd92c64507096
2010-01-22 10:21:29 +11:00
Nicholas Nethercote
b98921836d
Bug 463137 - TM/nanojit: type-check LIR. r=jseward,rreitmai.
...
--HG--
extra : convert_revision : 162182c5cd78d5366c1ca3ea2ca9b11f40115942
2010-01-22 10:10:59 +11:00
David Mandelin
5bb1cfd035
Bug 540243: don't use JSOP_GETUPVAR if def-use chain crosses a generator lexical scope, r=mrbkap
2010-01-21 13:27:36 -08:00
Michael Wu
57d6c1880d
Bug 538269 - Set HOST_AR_FLAG like HOST_AR, r=ted
...
--HG--
extra : rebase_source : 7d96f2c97970ad7c086e51ce99a08918e507aa1f
2010-02-03 14:40:34 -08:00
Jason Orendorff
da670f0947
Bug 524522 revisited - Make JS_ASSERT trigger Breakpad on Mac OS X. rs=luke.
2010-02-03 14:53:26 -06:00
Jonas Sicking
6f2368d0b0
Bug 543696: Remove unused nsIScriptSecurityManager::CheckConnect. r/sr=mrbkap
2010-02-02 02:29:15 -08:00
Vladimir Vukicevic
b0353d0b45
b=542885; webgl types should not be enumerable on global objects; r=smaug
2010-02-02 01:18:35 -08:00
David Mandelin
c4fb2d9d01
Bug 540528: don't reset scopeChain JSStackFrame when leaving trace if it was already set by interpreter, r=mrbkap
2010-01-19 19:06:40 -08:00
Nicholas Nethercote
da39dabdda
Update nanojit-import-rev stamp.
2010-01-22 08:49:51 +11:00
Nicholas Nethercote
451469e807
Whitespace-only change, to test if NJ/TM repo breakage has been fixed. r=graydon.
...
--HG--
extra : convert_revision : 141daad5d4d254008de9d129288917625cfdfb57
2010-01-22 08:49:19 +11:00
Nicholas Nethercote
4fff165564
Update nanojit-import-rev stamp (by hand, due to update-nanojit difficulties).
2010-01-22 08:44:35 +11:00
Nicholas Nethercote
3dd103b579
Backed out changeset (by hand due to update-nanojit difficulties) 69d5a3454a6e (bug 460993), avmplus.cpp changes were bogus.
2010-01-22 08:43:09 +11:00
David Mandelin
4013bf6772
Bug 540136: remove erroneously duplicated line of code from GetFromClosure, r=dvander
2010-01-21 11:08:08 -08:00
Nicholas Nethercote
e36831cff7
Avoid bogus uninit variable warning. r=gcc.
2010-01-21 13:12:02 +11:00
Nicholas Nethercote
a5a988c88c
Bug 539629 - lirasm: don't have two ways of running the tests (TM-specific part). r=graydon.
2010-01-21 13:07:59 +11:00
Nicholas Nethercote
7c98c2c366
Update nanojit-import-rev stamp.
2010-01-21 13:06:10 +11:00
Nicholas Nethercote
59368f63e2
Bug 539629 - lirasm: don't have two ways of running the tests (NJ-specific part). r=graydon.
...
--HG--
extra : convert_revision : c41f7c86b3cd3c2019189f941daa47f311959789
2010-01-21 12:59:56 +11:00
Edwin Smith
b1f006af09
Adds protect/unprotect API to CodeAlloc (bug 460993 r=nnethercote,rreitmai sr=gal)
...
Removes calls to VMPI_setPageProtection from CodeAlloc, and adds a new
protect/unprotect API to CodeAlloc, along with an SPI for the vm to implement
actual page protection.
It is up to the VM to call codeAlloc->protect() before executing jit'd code,
but CodeAlloc will internally call unprotect() before modifying blocks, as code
is generated. If the VM's implementation of allocCodePage allocates memory
as RWX, then the new protection api's can be ignored and the implementations
of markCodeChunkExec/Write can be empty functions.
A flag per code chunk is used so that only modified pages are unprotected and
reprotected.
CodeAlloc never calls VMPI_setPageProtection any more, so platform abstractions
for this can be encapsulated in the CodeAlloc SPI methods.
nanojit/avmplus.cpp was modified to call VMPI_setPageProtection on the platforms
that didn't already allocate code memory as RWX. Since those callsites are platform
specific and the only place we call VMPI_setPageProtection, the code could be further
simplified.
--HG--
extra : convert_revision : a1002278492b012b727550db2fb928faa6bee36b
2010-01-20 13:32:02 -05:00
Jeff Walden
9d7bbdf810
Bug 539488 - |var| statements for existing, read-only/permanent properties should not be errors. r=jorendorff
...
--HG--
extra : rebase_source : b052779036d0690b92c63e37412b7ae1ebabf4eb
2010-01-20 13:58:36 -08:00
Brendan Eich
92a357e272
Bug 540774: "Assertion failure: top < StackDepth(ss->printer->script)" decompiling upvar (r=jorendorff).
2010-01-20 16:28:18 -08:00
Jason Orendorff
0f530fd289
Bug 538440 - We never jit DOM workers. r=mrbkap.
2010-01-20 14:54:34 -06:00
Nicholas Nethercote
c49922ce68
Update nanojit-import-rev stamp (manually, because I stuffed things up).
2010-01-20 08:54:30 +11:00
Nicholas Nethercote
89feacc9e7
Bug 540522 - nanojit: re-enable StackFilter(!). r=stejohns.
...
--HG--
extra : convert_revision : f1f968ac0f1498b5d4bbd32f637fb4617f45d501
2010-01-20 08:30:49 +11:00
Jacek Caban
135d5bea4f
Bug 505034 - Compiling Nativei386.cpp on MinGW fails because of different syntax of inline asm. r=graydon
...
--HG--
extra : convert_revision : 998ded176a21bee139e444182005f320bcbcfa1e
2010-01-18 20:34:13 -05:00
Steven Johnson
df649734ff
add stub implementations of asm_f2i on PPC and Sparc. add NJ_F2I_SUPPORTED compiletime flag. (r=rreitmai,bug=523251)
...
--HG--
extra : convert_revision : 387c73e51e77eb47b3344678175208f13390dd02
2010-01-18 15:26:49 -08:00
Nicholas Nethercote
a7a593136b
Bug 538538 follow-up: random-opt.{in,out} weren't added. r=graydon,stejohns.
...
--HG--
extra : convert_revision : 874d96dc44813f4141e232ea98fa3f4b2d6474fc
2010-01-18 16:34:23 +11:00
Jeff Walden
731a9fd5f8
Oops, back out changeset af515d48bdcf, should have gone to nanojit-central instead. :-\
2010-01-18 20:27:43 -05:00
Jacek Caban
8991f44a3c
Bug 505034 - Compiling Nativei386.cpp on MinGW fails because of different syntax of inline asm. r=graydon
2010-01-18 15:08:30 -05:00
Nicholas Nethercote
a6baa84f77
Bug 539379 - TM: Crash [@ ExecuteTrace] or [@ ExecuteTree] (TM-specific test case). r=edwsmith.
2010-01-18 09:48:39 +11:00
Nicholas Nethercote
9ecc414758
Bug 538538 - lirasm: don't run the optimizers, except when using --random (TM-specific part). r=graydon.
2010-01-18 09:47:31 +11:00
Nicholas Nethercote
d776d4f852
Update nanojit-import-rev stamp.
2010-01-18 09:41:06 +11:00
Nicholas Nethercote
c5993fa962
Bug 539876 - nanojit: optimize away 'y = mul x, 1'. r=rreitmai.
...
--HG--
extra : convert_revision : ebd6a957cf98ffca526fdce976826be5246e0a51
2010-01-18 09:36:32 +11:00
Nicholas Nethercote
0c9683a5c5
Bug 539379 - TM: Crash [@ ExecuteTrace] or [@ ExecuteTree]. r=edwsmith.
...
--HG--
extra : convert_revision : a5115ee971c8496182e9b4f6847ad91619b4a585
2010-01-15 15:07:32 +11:00
Nicholas Nethercote
6a8645f974
WinNT bustage fix for bug 538538.
...
--HG--
extra : convert_revision : f2f5796b620ed75ed33258163590f4d4a884a200
2010-01-15 10:05:44 +11:00
Nicholas Nethercote
04deac1562
Bug 538538 - lirasm: don't run the optimizers, except when using --random (NJ-specific part). r=graydon,stejohns.
...
--HG--
extra : convert_revision : 7ab1e0842f7dd1807c11578a34e5e95884a7e6dc
2010-01-15 08:59:19 +11:00
Nicholas Nethercote
dd81027128
Bug 539621 - nanojit: flush LogControl output on every line. r=edwsmith.
...
--HG--
extra : convert_revision : e75430160542e5ce18d8ee5768c27fe719315179
2010-01-15 08:47:18 +11:00
Vladimir Vukicevic
b98eed802d
Missed S14 -> FpSingleScratch renaming
...
--HG--
extra : convert_revision : 0628e6475f1f08e91a9113e0174230d38272f4e5
2010-01-13 18:10:28 -08:00
Vladimir Vukicevic
78c3d13a0e
b=523251; add LIR_f2i; r=njn,edwsmith
...
--HG--
extra : convert_revision : 95e6284a8725404dfb1f2685e1ee5efdc334d169
2010-01-13 14:40:35 -08:00
Steven Johnson
f29b5c8836
nanojit/NativePPC.cpp: PPC backend needs to ensure caller parameter area is at least 8 registers in size (r=rreitmai,r=nnethercote,bug=539270)
...
--HG--
extra : convert_revision : 8cc0cbcb83e2ac84078705b23a5232a6d8518a6c
2010-01-12 13:49:50 -08:00
Edwin Smith
313f22a44e
Lazy-allocate code memory for side exits (bug 538393 r=nnethercote+)
...
--HG--
extra : convert_revision : 97bacc5dff62389b91741265ca30dc73a2a8f532
2010-01-12 08:58:14 -05:00
Nicholas Nethercote
343b23f126
Bug 536293 - nanojit: use a bigger --random size with 'make check' (follow-up). r=me.
...
--HG--
extra : convert_revision : 3f09056fb0a7e3c7c6ae65eba7d58d095bd0c059
2010-01-12 16:34:41 +11:00
Gregor Wagner
470074111f
Gregor Wagner <anygregor@gmail.com> Bug 533450: js_GetStringBytes ignore js_CStringsAreUTF8 when JSString::isUnitString r=brendan
2010-01-15 15:58:33 -08:00
David Anderson
f7e545e0f1
Fixed x64 assertion in tracing JSOP_LENGTH on arguments (bug 539965, r=dmandelin).
2010-01-15 12:05:01 -08:00
David Mandelin
9600769682
Bug 495331: trace JSOP_LAMBDA for non-heavyweight, non-null closures, r=jorendorff,dvander
2010-01-15 11:32:14 -08:00
David Mandelin
c100594692
Bug 532689: guard that index is in range for arguments[k] on trace, r=bz
2010-01-14 18:48:17 -08:00
David Mandelin
f75d33789a
Bug 539553: adding one more test case for the new on-trace arguments.length LIR, no_r=me
2010-01-14 18:12:54 -08:00
Jason Orendorff
a37f4974e2
Bug 539553 - Correctness regression on the r-tree benchmark. r=dmandelin.
2010-01-14 18:23:05 -06:00
Jason Orendorff
dbda92dde3
Bug 533876 - In JSScope::{add,put}Property, disregard the SPROP_IN_DICTIONARY bit of the flags. r=brendan.
...
--HG--
rename : js/src/tests/js1_8_1/regress/browser.js => js/src/tests/js1_8_5/regress/browser.js
rename : js/src/tests/js1_8_1/regress/shell.js => js/src/tests/js1_8_5/regress/shell.js
extra : rebase_source : f86f464a91d8f560a1034e45fe23a5bc4c84d9f5
2010-01-14 17:20:27 -06:00
David Mandelin
588bfec9a5
No bug: fixing manifest bustage introduced in 7d7eb566cd77, no_r=me
2010-01-14 16:05:29 -08:00
Brendan Eich
281fe2cb29
Another followup for 536564, assertion fix.
2010-01-14 15:32:29 -08:00
Brendan Eich
7d53217541
Fast followup fix for thinko (536564, r=jorendorff).
2010-01-14 14:22:00 -08:00
Brendan Eich
495f36adfc
Skip regress-324278.js now, revert it to prev version (with comment tweak).
2010-01-14 13:28:32 -08:00
Brendan Eich
983aa690e9
Analyze module pattern and private-statics pattern in order to despecialize from methods to slots/sprops (536564, r=jorendorff).
2010-01-14 09:33:14 -08:00
Igor Bukanov
702de8885c
bug 528200 - replacing GC thing flags with a mark bitmap
2010-01-14 11:27:32 +03:00
Jason Orendorff
eb646c48c1
Fix DumpSubtree so it doesn't assert. r=nobody, DEBUG-only JS_PROPTREE_DUMPFILE-only code.
2010-01-13 15:33:55 -06:00
Jae-Seong Lee-Russo
513e9cf886
Bug 517553: Remove '=='/'!=' 'PR_FALSE'/'PR_TRUE'
2010-02-07 10:52:43 -05:00
Igor Bukanov
80b6667425
bug 530157 and bug 544603 - disabling for now tests based on the GC timing. The background GC thread made that unreliable.
2010-02-07 00:25:42 +03:00
Robert Sayre
7725097400
Backout the marking of the test in bug 544603. Igor has a different patch that will deal with it.
2010-02-07 10:08:23 -05:00
Robert Sayre
40453a8d5e
Mark regress-404755.js as random. see bug 544603.
2010-02-07 10:00:40 -05:00
Ms2ger@gmail.com
8ac5baea31
Bug 41464 - Implement textarea.wrap. r=bz
2010-02-06 09:51:10 +01:00
Jeff Walden
c6e83b6125
Bug 538482 - |case null| deoptimizes switch statements to use condswitch. r=jorendorff
2010-01-07 17:22:22 -06:00
Vladimir Vukicevic
37cc5c283f
Backed out changeset fea4da580994 -- need to split LIR_f2i into nj-central and tm patches
2010-01-11 21:54:02 -08:00
Vladimir Vukicevic
373168d7d3
b=523251; add LIR_f2i; r=gal
2010-01-11 21:41:20 -08:00
Nicholas Nethercote
65deadfefa
Update nanojit-import-rev stamp.
2010-01-12 15:30:15 +11:00
Nicholas Nethercote
b3361ed5f3
Bug 538060 - nanojit: improve 64-bit loads and stores in the X64 back-end. r=gal,rreitmai,edwsmith.
...
--HG--
extra : convert_revision : 1fd416d0954dc667073f3a92087c01fc23e5c3aa
2010-01-11 15:51:49 +11:00
Steven Johnson
3093a45e23
fix incorrect WinCE detection in CLZ (r=rreitmai,bug=538632)
...
--HG--
extra : convert_revision : dc59fb8a1810584ad2e0c61b49689f68d5894501
2010-01-08 11:17:07 -08:00
Steven Johnson
de49190585
rearrange code to work around MSVC compiler bug (r=nnethercote,bug=538504)
...
--HG--
extra : convert_revision : 01cfb2d0354910c6ccedec8a9885932b7c58e97b
2010-01-08 10:12:29 -08:00
Steven Johnson
04954aa494
nanojit/LIR.cpp: LIR_st32f is missing from live() (r=rreitmai,bug=538494)
...
--HG--
extra : convert_revision : 1dc443aa284f1a84957078757e681c54407ebd3f
2010-01-07 17:04:30 -08:00
Steven Johnson
db4338efde
Modify nanojit::live, expose ReverseLister, add some options to VerboseWriter (r=edwsmith,graydon,bug=538000)
...
--HG--
extra : convert_revision : e5ef97918b7944b26105424580c36e4e042c35f4
2010-01-07 16:41:42 -08:00
Edwin Smith
127df225b6
Whitespace hygene (r=me)
...
--HG--
extra : convert_revision : f5f333d75636ed9e4c7869bdcf6aaa69beb35a2e
2010-01-07 13:05:33 -05:00
Nicholas Nethercote
f6d7e7b7d8
Bug 538049 - nanojit: problem with qjoin in ExprFilter. r=stejohns.
...
--HG--
extra : convert_revision : 08580609c2448559cd2866f8b34381dc34ed1488
2010-01-06 11:43:19 +11:00
Steven Johnson
9efa35156a
Add NJ_USES_QUAD_CONSTANTS mode (and i386 implementation) to allow for faster float constants on CPUs without useful 64-bit immediates. Instead of allocating stack space for the constants (and filling them in via move-immediates), allocate data space for them and embed literal pointers into the code stream. (r=edwsmith, r=nnethercote, bug=533546)
...
--HG--
extra : convert_revision : 42048199209f5614ee62adaa25cc6bf75821911a
2010-01-05 15:28:40 -08:00
Blake Kaplan
89b461f976
Bustage fix -- We can't assert that constant folding worked.
2010-01-11 18:52:44 -08:00
Brendan Eich
a17ec0f3aa
Bug 538593 - guardClass always does a JS_snprintf even though it usually doesn't use the result (r=dvander).
2010-01-11 18:48:08 -08:00
David Mandelin
7d217b4429
Bug 538314: add ad hoc closure test suite to trace-tests, r=jorendorff
2010-01-11 18:18:42 -08:00
David Mandelin
ac104211b4
Backed out changeset 70854fa518da -- toolkit/ files were changed by accident
2010-01-11 18:15:17 -08:00
David Mandelin
f9c31cbe84
BUg 538314: add ad hoc closure test suite to trace-tests, r=jorendorff
2010-01-07 13:14:20 -08:00
Vladimir Vukicevic
f3fa823190
No bug. Fix typed array tests; rs=brendan
2010-01-11 17:21:33 -08:00
Blake Kaplan
0d1d39c382
No bug. Fix GCC warnings. rs=brendan
2010-01-11 13:34:56 -08:00
Blake Kaplan
2453f5bb11
Bug 537673 - Don't constant-fold a parenthesized callee expression. r=jorendoff
2010-01-07 15:58:44 -08:00
Brendan Eich
d55d886969
Fix warnings (precog r=vlad).
2010-01-11 10:28:21 -08:00
Robert Sayre
1f623d596a
Merge mozilla-central to tracemonkey.
2010-01-09 16:52:20 -05:00
Vladimir Vukicevic
11da29f6d4
b=538255; [quickstubs] add ability to negate/remove stubs included through wildcards; r=jorendorff
2010-01-09 13:01:37 -08:00
Vladimir Vukicevic
3f208aeae6
b=538258; [quickstubs] return types for traceable natives not fully resolved; r=jorendorff
2010-01-09 13:01:37 -08:00
Vladimir Vukicevic
cc8708cca8
b=534733, add support for fully custom quickstubs; r=jorendorff
2010-01-09 13:01:37 -08:00
Vladimir Vukicevic
ae1559c751
b=532774; add native typed arrays to JavaScript; r=brendan,jorendorff
2010-01-09 13:01:37 -08:00
Jesse Ruderman
093325f819
Fix bug-number comments in reftest.list files
2010-01-08 19:54:28 -08:00
Jesse Ruderman
7d4a1a8551
We forgot to remove this comment when re-enabling this test
2010-01-08 18:16:40 -08:00
David Mandelin
30f2d34524
Bug 538673: better handling for cross-platform path representations in jstest harness, r=waldo
2010-01-08 15:23:05 -08:00
Robert Sayre
779ad17584
Merge mozilla-central to tracemonkey.
2010-01-08 09:40:22 -05:00
Nicholas Nethercote
be42ab0516
Bug 538484 - TM: generating bogus "ov ld1" sequence. r=nnethercote.
2010-01-08 14:25:36 +11:00
David Anderson
3996e3ac0d
Make sure trace native stack is 16-byte aligned (bug 534590, r=lw).
2010-01-07 17:20:00 -08:00
Jeff Walden
e505853af2
Adjust lookupswitch to bail if the value switched upon is not primitive, not if it's not a bunch of different types, for a little more efficiency. r=brendan
2010-01-07 17:09:48 -06:00
Brendan Eich
3cf53a31d6
Bug 513291 - JSOP_INITPROP should insist obj has own scope (JSOP_NEWINIT knows to do this; r=jorendorff).
2010-01-07 11:47:16 -08:00
Brendan Eich
f22c353c9c
Bug 533258 - "Assertion failure: hasMethodBarrier()" with ckeditor (r=jorendorff).
2010-01-07 10:01:01 -08:00
Jeff Walden
51056b237b
...and one more bustage fix to change a test that assigned to undefined, seemingly for no reason, to assign to another otherwise-irrelevant global property (parseInt) instead. r=lumpy
2010-01-07 00:50:51 -06:00
Jeff Walden
76b9ccd2c6
Support embedding of |undefined| in lookupswitch, needed to fix bustage in a Mochitest where use of |case undefined| results in that value being embedded in the lookup table, now that |undefined| is an immutable global property. Anticipatory r=jorendorff, real review on this coming soon...
2010-01-07 00:17:10 -06:00
Jeff Walden
46907ab8ed
Bug 537863 - Make various global properties (NaN, Infinity, undefined) readonly per ES5. r=jorendorff
2010-01-04 23:10:36 -06:00
David Mandelin
674b52f39e
Bug 537304: fix spurious PASS output in trace-tests console output, r=jorendorff
...
--HG--
extra : rebase_source : c9fe259a9538c4446e201372b17131c6a6b9b2fd
2010-01-06 15:23:19 -08:00
Brendan Eich
85a5badeef
ES5-conformance fix to make a new RegExp for each regexp literal evaluation (98409, r=igor/jwalden).
2010-01-06 15:12:54 -08:00
David Mandelin
2ab635fbd3
Bug 528644: do not generate JSOP_GETUPVAR in a generator called from eval, r=mrbkap
2010-01-06 14:33:52 -08:00
David Mandelin
91f6ce8767
Bug 537302: allow jstests shell harness to run from any directory, r=jorendorff
2010-01-06 14:05:41 -08:00
Ginn Chen
b26ece67a0
Bug 537371 [x86_64]nanojit failed to compile with Sun Studio r=gal
2010-01-06 15:25:56 +08:00
Ginn Chen
01e2876566
Bug 535765 debug build Firefox failed to start on Solaris r=gal
2010-01-06 15:24:30 +08:00
Jason Orendorff
9a9527f36f
Merge backout of bug 98409.
2010-01-05 12:48:42 -06:00
Jason Orendorff
e5ac8476fd
Backed out changeset 3862a7e48e79 due to tinderbox failures on js1_5/GC/regress-324278.js.
2010-01-05 12:48:09 -06:00
Nicholas Nethercote
35c7cbbb81
Bug 520714 - nanojit: distinguish 64-bit int and float loads/stores (TM-specific part). r=gal.
2010-01-05 15:14:53 +11:00
Nicholas Nethercote
3267ce577e
Update nanojit-import-rev stamp.
2010-01-05 14:57:02 +11:00
Nicholas Nethercote
1022818501
Bug 520714 - nanojit: distinguish 64-bit int and float loads/stores. r=gal,rreitmai.
...
--HG--
extra : convert_revision : a19809f7ba60b4381b77b84363bebf0ff7cf9629
2010-01-05 14:03:49 +11:00
Nicholas Nethercote
c1aa4ffe1b
Bug 503990 - nanojit: make isStmt() table-driven. r=rreitmai.
...
--HG--
extra : convert_revision : 4d331f0d6a044276be2638b3ea9a1cd35650c5e5
2010-01-05 10:46:34 +11:00
Brendan Eich
1b4fbd91e6
ES5-conformance fix to make a new RegExp for each regexp literal evaluation (98409, r=jwalden).
2010-01-04 12:25:44 -08:00
Jeff Walden
9b553541fa
Bug 537725 - Adjust some exception-throwing code to use the proper APIs for no-argument messages, and fix handling of some primitive values passed as the Properties argument to Object.defineProperties. r=jorendorff
2010-01-04 13:48:30 -06:00
David Mandelin
0d7ee57043
Bug 532568: when setting upvars, write to outer trace native stack if needed, r=dvander
2010-01-04 11:31:10 -08:00
David Mandelin
2d8255bc72
Backout merge
2009-12-31 15:19:24 -08:00
David Mandelin
ca387b3441
Backed out changeset 107fc2833733 due to talos-v8 failure
2009-12-31 15:18:34 -08:00
Dan Witte
43983c1dbf
Apply mozilla patch to libffi 3.0.9. b=537962, r=bsmedberg
2010-01-08 11:01:27 -08:00
Dan Witte
d008f0f82c
Update libffi to 3.0.9. b=537962, r=bsmedberg
2010-01-08 11:01:25 -08:00
Robert Sayre
a674f83e07
merge mozilla-central to tracemonkey.
2009-12-31 12:35:57 -05:00
Brendan Eich
45c0afef62
Merge.
2009-12-30 13:50:31 -08:00
Brendan Eich
398f5f3b9b
Bug 537204 - No more BOGUS_CX bogosities (r=jwalden).
2009-12-30 13:49:26 -08:00
Jeff Walden
025a44ebc4
Bug 492840 - Add new test to manifest. sr=mozbot
2009-12-30 15:23:38 -06:00
Jeff Walden
e59ff3661d
Bug 492840 - Fix a conflict with myself in the previous push. Aaargh...
2009-12-30 15:20:21 -06:00
David Mandelin
6b21acfb18
Bug 532568: when setting upvars, write to outer trace entry frame native stack area if necessary, r=dvander
2009-12-29 17:23:36 -08:00
Igor Bukanov
0553ca4a34
bug 536734 - more finalizer specializations. r=brendan
2009-12-30 14:06:26 +03:00
David Mandelin
4629cf448e
Backout merge.
2009-12-29 17:21:33 -08:00
David Mandelin
4fbd808603
Backed out changeset 8a2d469e86e7 due to mochitest failures
2009-12-29 17:21:04 -08:00
David Anderson
b140c9d806
Fixed liveness-spew-only assertion with LIR_mod (bug 537023, r=nnethercote).
...
--HG--
extra : convert_revision : 8b948b2c98c6813285d0ddf630b27a9bc14c04f8
2009-12-29 16:27:09 -08:00
Jeff Walden
239eb61feb
Oops, two more tests that use load(), mark them shell-only too. r=bustage
2009-12-29 17:11:11 -06:00
David Mandelin
5aa79db4bf
Bug 532568: when setting upvars, write to outer trace entry frame native stack area if necessary, r=dvander
2009-12-29 13:11:12 -08:00
Jeff Walden
cd687c4a78
Bustage fix, r=lumpy
2009-12-29 13:13:49 -06:00
Edwin Smith
169edd70d1
Fix PPC alignment of immediate quads (usually doubles) (bug 477779 r=stejohns+ r=rreitmai+)
...
--HG--
extra : convert_revision : 5218b6ab33db0ebfbb8c555a6d42d2074c9c3a8e
2009-12-24 10:13:32 -05:00
Nicholas Nethercote
8d12f8e105
Bug 536326 - nanojit: fix X64 asm printing problems. r=dvander.
...
--HG--
extra : convert_revision : dd5319f481147c1083ae32c57ce83db65eb0128c
2009-12-24 11:35:30 +11:00
Nicholas Nethercote
af8581791c
Bug 536098 - nanojit: speed up intersectRegisterState(). r=edwsmith.
...
--HG--
extra : convert_revision : 12013e9b8fab0168bc26e2e04fe9779e5aed2559
2009-12-22 19:47:17 -08:00
Brendan Eich
9a805a7cae
Disassemble function upvars a bit (496921, r=mrbkap).
2010-01-04 16:56:25 -08:00
Jeff Walden
3a29434381
Adjust testing for Object.defineProperties(obj, string) to account for index properties showing up as enumerable on String objects. r=sparky
2010-01-04 15:53:50 -06:00
David Mandelin
6479d75e0d
Bug 536748: fix argument index typo, r=gal
2010-01-04 13:36:06 -08:00
Marco Bonardo
3b9c85bd88
Bug 544241 - xpcshell-tests head.js should always remap resource://test to the current test dir, r=ted
2010-02-23 14:11:37 +01:00
Serge Gautherie
23c344ef08
Bug 536678 - Comm-central contains a MoreFilesX dependency, but is obsolete on Gecko1.9.2 and later; (Bv1) Remove /js/src/configure.in leftover too.
...
r=jorendorff.
2010-02-23 06:00:55 +01:00
Serge Gautherie
7cff175e7d
Bug 502696 - js_CompareAndSwap on sparc should not use PRLock(); (Cv1) Clean up missed autoconf.mk.in too.
...
r=jorendorff.
2010-02-23 06:00:55 +01:00
Shailen
1ede8845c9
Bug 526446 - "AIX Compilation error for 3.7a1pre source "/home/firefox/mozilla-central/js/src/jsvector.h", line 427.5: 1540-0130 (S) "AP" is not declared" [r=lw]
2009-11-04 03:03:00 -06:00
Shailen
17065e5b9c
Bug 526436 - "AIX Compilation error for 3.7a1pre source js/src/jsvector.h", line 677.21: 1540-0274 (S) The name lookup for "PointerRangeSize" did not find a declaration" [r=lw]
2009-12-18 22:43:00 -06:00
Ms2ger
6e5eb0673b
Bug 530171 - Correctly handle null arguments to nsIDOMTokenList's methods, r=slvain.pasche, sr=olli.pettay
2009-12-30 18:29:40 -05:00
Brian Crowder
d54cb40dda
# vim: se ft=diff :
...
Bug 519843 - "JS shell on WinCE should run as if it NEVER has a tty, not as if it ALWAYS does" [r=mrbkap]
2009-09-30 15:41:00 -07:00
Benjamin Smedberg
81b0923375
Merge bustage fixes from mozilla-central into electrolysis.
2010-02-10 09:21:50 -05:00
Jonathan Kew
569ea9f30a
Bug 543976 followup - workaround because preprocessor.pl can be overly fussy about the form of #if conditions.
2010-02-09 19:35:39 -08:00
Benjamin Smedberg
3ad7eb7f3a
Merge mozilla-central into electrolysis.
2010-02-09 21:22:09 -05:00
Serge Gautherie
5ffe6a4f3a
Bug 117440 - remove usages of DEBUG_PRINTF in favor of NS_ASSERTION/NS_WARNING; (Ev1) <xpcwrappednativescope.cpp> remove unused |#ifdef + NS_WARNING()| case.
...
r=jst.
2010-02-10 02:13:45 +01:00
Justin Dolske
d8daefadb7
Bug 541594 - extend nsIINIParser to allow writing INI files. p=dolske+benjamin, r=benjamin, r=dolske
2010-02-09 17:05:31 -08:00
Boying Lu
d1d74a5ed0
Bug 542187 - replace double quote with single quote, r=ted
2010-02-09 16:47:48 -08:00
Benjamin Smedberg
33745658c4
Merge mozilla-central into electrolysis
2010-02-09 11:39:28 -05:00
Jeff Muizelaar
8668ef9bd2
Bug 544697. pixman: Reenable NEON support. r=vlad,bsmedberg
...
3f91dcac71c4 turned off NEON because of build breakage. This
turns it back on.
We also need to add a SSRCS target so that .S files get built
with gcc.
2010-02-08 23:13:12 -05:00
Doug Turner
c5fb72ab64
Bug 543976 - Clean up Maemo defines. r=ted
2010-02-09 11:02:11 -08:00
Boris Zbarsky
ad321d8db7
Bug 543081. Put -lobjc in LDFLAGS, not LIXBUL_LIBS. r=ted
2010-02-09 12:09:06 -05:00
Boris Zbarsky
f3d5555315
Bug 542033. Use the right MOZ_FIX_LINK_PATHS when darwin is the target. r=ted
2010-02-09 12:09:05 -05:00