Luke Wagner
f8096c6b67
Try 784ceadd60e5 again with more #pragma optimize("", off)
2010-02-06 10:14:05 -08:00
Nicholas Nethercote
84b6acf958
Bug 542326 - nanojit: add NJ_SOFTFLOAT_SUPPORTED, and only compile in support for non-universal opcodes on platforms that use them (TM-specific part). r=stejohns.
2010-02-12 12:41:50 +11:00
Nicholas Nethercote
e12b5b2d0b
Update nanojit-import-rev stamp.
2010-02-12 12:36:52 +11:00
Nicholas Nethercote
2481388fac
Bug 542326 - nanojit: add NJ_SOFTFLOAT_SUPPORTED, and only compile in support for non-universal opcodes on platforms that use them. r=stejohns,edwsmith.
...
--HG--
extra : convert_revision : 990d84e8d841139009cb2728297d81e8fc4aad27
2010-02-12 12:30:16 +11:00
Rick Reitmaier
791422e319
Bug 545113 - Compiling for MIPS fails during linking (r+rreitmai) [c.dearman]
...
Compiling tamarin-redux for MIPS fails during linking with the following error:
./libavmplus.a(Assembler.o): In function
`nanojit::Assembler::gen(nanojit::LirFilter*)':
Assembler.cpp:(.text+0x4e14): undefined reference to
`nanojit::Assembler::asm_q2i(nanojit::LIns*)'
Assembler.cpp:(.text+0x4e1c): undefined reference to
`nanojit::Assembler::asm_q2i(nanojit::LIns*)'
--HG--
extra : convert_revision : 63fda420c52dbe5b328e978ebe50c297ff2cb729
2010-02-11 15:52:18 -08:00
Brendan Eich
b83b1b23c3
Fix two subtle bugs to-do with partial flat closures (545573, r=jorendorff).
2010-02-11 14:56:59 -08:00
Jason Orendorff
095bd890ef
Bug 539829 - Encapsulate JSScope::flags. r=Waldo.
...
--HG--
extra : rebase_source : ced4f057e715075d8e4eff343e824d8934152a7e
2010-02-05 18:11:13 -06:00
Brendan Eich
83e657d499
Fix orange in wake of patch for bug 542002.
2010-02-10 18:58:49 -08:00
Nicholas Nethercote
0f6e815ee6
merge
2010-02-11 11:44:38 +11:00
Nicholas Nethercote
4f4d8ad70e
Bug 543401 - nanojit: merge SoftFloatFilter implementations (TM-specific part). r=gal.
2010-02-11 11:16:50 +11:00
Nicholas Nethercote
dded46e8aa
Update nanojit-import-rev stamp.
2010-02-11 11:15:20 +11:00
Jeff Walden
b7423ebf62
Bug 545275 - Remove JS_HAS_FILE_OBJECT support as it's rather broken (and unlikely to be fixed soon) and the presented API isn't very good. r=mrbkap
2010-02-09 17:27:02 -08:00
Brendan Eich
c9fed979f6
Bug 542002 - Optimize to flat closures even if some upvars can't be copied (r=jorendorff).
2010-02-10 15:17:52 -08:00
David Anderson
07131ff6a6
Changed --enable-jit to --enable-tracejit (bug 545245, r=sayrer).
2010-02-09 16:48:56 -08:00
Robert Sayre
f146d11898
Merge mozilla-central to tracemonkey.
2010-02-09 13:08:35 -05:00
Bob Clary
7e34ae5af7
bug 528404 - disable e4x/XML/regress-324688.js due to random time outs, r=sayrer.
2010-02-09 09:19:58 -08:00
Robert Sayre
8f7df8dabc
Add test for bug 470795.
2010-02-09 11:15:19 -05:00
Boris Zbarsky
db71c4ce64
Bug 538663 followup. Don't rely on having python 2.5. r=jorendorff
2010-02-08 15:53:32 -05:00
Luke Wagner
fda9474440
Backout 784ceadd60e5 until PGO stops crashing
2010-02-08 10:28:07 -08:00
Leon Sha<leon.sha@sun.com>
65b4deca58
Bug 544422 - [Nanojit] Implement asm_f2i on sparc. r=stejohns
...
--HG--
extra : convert_revision : 4849b094bea2e2ff58c86ca09ef4a8f652777594
2010-02-08 15:34:55 +08:00
Leon Sha<leon.sha@sun.com>
ca782981e4
Bug 544445 - [Nanojit] Increase NJ_MAX_STACK_ENTRY for sparc to 8192. r=stejohns.
...
--HG--
extra : convert_revision : d04830e99d19b0e5fc182404b35393430daaa4b2
2010-02-08 15:07:53 +08:00
Luke Wagner
1dec67cbc6
Attempt to prevent MSVC ICE during PGO
...
--HG--
extra : rebase_source : 1d3e37dd1b029bd4161a71ff7ee09097af31406a
2010-02-07 20:57:30 -08:00
Leon Sha
93f678b877
Bug 544447 - [Nanojit] ./bin/lirasm crash on Solaris x86 compile with Sun Studio 12u1. r=stejohns
...
--HG--
extra : convert_revision : 00e2b79d00023633f87d862f2bdbbebc2e72789c
2010-02-08 12:42:53 +08:00
Nicholas Nethercote
47eb9083c4
Bug 543401 - nanojit: merge SoftFloatFilter implementations. r=gal,stejohns.
...
--HG--
extra : convert_revision : 485ae0bec97b3ec9c55ac943f81a2992c8153549
2010-02-08 08:35:35 +11:00
Nicholas Nethercote
87ea71a72d
Bug 543144 - Typechecker causes assertions in softfloat. r=stejohns,dschaffe.
...
--HG--
extra : convert_revision : 7d2cd297ad03f3a9d1d7722027dbb1284dd49add
2010-02-06 02:14:48 +11:00
Leon Sha<leon.sha@sun.com>
4d134396af
Bug 544178 - [Nanojit] Assembler code for LIR_ult is wrong on sparc. r=stejohns
...
--HG--
extra : convert_revision : 955a870d35fa8ef0c3d4413f7e7831c38cfa5329
2010-02-05 09:42:57 +08:00
Jeff Walden
b41ff2aa66
Bug 521456 - Propagate the callness of eval while decompiling, so that a NewExpression containing an eval() is properly parenthesized. r=mrbkap
2010-01-08 17:25:09 -06:00
Robert Sayre
7ce34023fa
Try to fix js1_8_5/extensions/ jsreftest directory. see bug 544757.
2010-02-07 10:44:15 -05:00
Igor Bukanov
c92f45948f
bug 544656 - fixing keepAtoms warning with GCC. r=brendan
2010-02-07 11:22:45 +03:00
Luke Wagner
3b828cd733
Fix &va_list on x86-64, quiet warning
2010-02-06 21:28:18 -08:00
Luke Wagner
fbab1d732f
Fix opt test bustage
...
--HG--
extra : rebase_source : 232d3e154a7c2d5fc0cc31cde68cf58657c9cea4
2010-02-06 15:25:38 -08:00
Igor Bukanov
867329ad29
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
Luke Wagner
9dabae3069
Bug 542091 - remove JS_PushArguments[VA] (r=mrbkap,dveditz)
2010-02-06 12:26:24 -08:00
Luke Wagner
22b7692a6a
Bug 515812 - Double hashing template (r=jorendorff)
2010-02-06 10:14:05 -08:00
Jason Orendorff
ec026e759a
In the JS shell, evalcx() sandboxes should have JSCLASS_GLOBAL_FLAGS. This permits the JIT to run. No bug, r=mrbkap on IRC.
...
--HG--
extra : rebase_source : 87b5b6ee78edf9b5034d9fa079e7976ba3660c98
2010-02-05 17:10:41 -06:00
David Anderson
611cf1768b
Fixed tracker usage not protecting against certain state changes (bug 541830, r=lw).
2010-02-05 13:28:50 -08:00
Brendan Eich
1f15a43bd7
Fix property cache hit guarding to-do with the global object (544161, r=jorendorff).
2010-02-05 11:46:57 -08:00
Igor Bukanov
ce244f8dac
bug 543839 - followup to skip the test if evalcx is not available. This should fix jsreftest orange
2010-02-05 19:14:08 +03:00
Robert Sayre
8fe9c66c7f
Merge.
2010-02-05 10:54:18 -05:00
Robert Sayre
29798de341
Merge mozilla-central to tracemonkey.
2010-02-05 10:53:48 -05:00
Igor Bukanov
75a3004377
bug 543839 - js_NonEmptyObject must lock the object. r=jorendorf
2010-02-05 10:41:54 +03:00
Vladimir Vukicevic
7a0ca93c3b
add missing js1_8_5 to Makefile.in; r=orange
2010-02-04 18:36:39 -08:00
Nicholas Nethercote
ccbdfa7a38
541491 - ARM_ARCH, ARM_VFP, and ARM_THUMB2 should be runtime options everywhere (TM-specific part). code=stejohns, r=nnethercote.
2010-02-05 12:40:04 +11:00
Nicholas Nethercote
ca8aedb65e
merge
2010-02-05 11:56:33 +11:00
Nicholas Nethercote
90d8abf497
Update nanojit-import-rev stamp.
2010-02-05 11:44:31 +11:00
Vladimir Vukicevic
b363012434
b=534467; implement Uint8ClampedArray for CanvasPixelArray; part 2, tracing; r=gal
2010-02-04 16:36:33 -08:00
Vladimir Vukicevic
df2ba5c148
b=534467; implement Uint8ClampedArray for CanvasPixelArray; part 1; r=jorendorff
2010-02-04 16:33:40 -08:00
Vladimir Vukicevic
4c567b99e0
no bug; tests/js1_8_5 is not listed in tests/jstests.list; r=dmandelin
2010-02-04 15:49:30 -08:00
Vladimir Vukicevic
c33756956c
b=542402; add FLOAT64 to typed arrays; r=jorendorff
2010-02-04 15:31:40 -08:00
David Mandelin
7696840b5d
Bug 544128: windows compatibility for shell JSTest harness, r=dvander
2010-02-04 14:41:50 -08:00
David Mandelin
61112f8395
No bug: fix visibility warnings in GCC, no_r=me
2010-02-04 11:29:53 -08:00
Walter Meinl
f2a4f4176b
Bug 536451 - OS/2 cannot handle mozsqlite3.dll. r=ted
...
--HG--
extra : rebase_source : c1a6deb7130b1142ca58dad88a34ecdcda75a378
2010-02-04 15:51:02 +01:00
Nicholas Nethercote
3258b3f519
Bug 543384 - Multi-line assertion that makes jsfunfuzz sad. r=jruderman.
...
--HG--
extra : convert_revision : 42624af8095495e387d20c7e474dcc602694b300
2010-02-04 10:26:47 +11:00
Nicholas Nethercote
070c1a17f4
No bug. Add missing case in switch to fix compiler warning. r=me.
...
--HG--
extra : convert_revision : f8bd54f28d02464ff69422477e9139dfaa0d85ae
2010-02-04 10:22:41 +11:00
Boris Zbarsky
870b21a0c8
Bug 538663. Allow traceable natives with up to 8 arguments, and use that in quickstubs as we can. r=jorendorff
2010-02-03 16:14:14 -05:00
Steven Johnson
cd405704e7
Bug 543803 - Fix unused-variable warnings in Release ARM builds (r=rreitmai)
...
--HG--
extra : convert_revision : de2889d43d17c9ccc659c509dcb0c1749111d336
2010-02-02 12:37:59 -08:00
Jeff Walden
7e68c64269
Bug 543097 - Precompute the prototype when evaluating function expressions and regular expression literals on trace, rather than (slowly) looking it up every time. r=jorendorff
...
--HG--
extra : rebase_source : d023ded17937248bdfb23705e7477918b111746f
2010-02-01 17:20:37 -08:00
Jeff Walden
82210191cf
Backed out changeset bc8bb2def82d, something's weird with this and we try to generate 9-argument traceable natives (maxargs is 8).
2010-02-03 17:10:23 -08:00
Boris Zbarsky
ede71f67a6
Bug 538663. Allow traceable natives with up to 8 arguments, and use that in quickstubs as we can. r=jorendorff
2010-02-03 16:14:14 -05:00
Ginn Chen
08a84668b4
Bug 537076 - jslock.cpp failed to compile with Sun Studio 12u1 on Solaris. r=jorendorff.
...
--HG--
extra : rebase_source : dff24a27c0d1464e18d2abeb72a400360db3267d
2010-02-03 11:02:07 -06:00
Igor Bukanov
f74b35769d
bug 538463 - caching only single-threaded objects. r=jorendorff
2010-02-03 13:42:07 +03:00
Igor Bukanov
008691b6f9
Backed out changeset b9700adc3951 - the landing for the bug 538463 had wrong changes
2010-02-03 13:37:56 +03:00
Igor Bukanov
7aafadcc76
bug 538463 - caching only single-threaded objects. r=jorendorff
2010-02-03 12:46:10 +03:00
Jason Orendorff
fe72db3caa
Bug 543565 - Assertion failure: fp->slots + fp->script->nfixed + js_ReconstructStackDepth(cx, fp->script, fp->regs->pc) == fp->regs->sp | Assertion failure: pcdepth + ndefs <= StackDepth(script) due to bug handling JSOP_POP after JSOP_UNBRAND. r=brendan.
2010-02-02 18:20:24 -06:00
Rick Reitmaier
140845622b
Bug 504202 - MIPS target support (r+graydon,rreitmai) [chris.dearman]
...
MIPS target support added courtesy of Chris Dearman.
--HG--
extra : convert_revision : 45136ae8db067291bb4b6595f6c4319675012cc5
2010-02-01 10:22:30 -08:00
Rick Reitmaier
692af9f981
Bug 508266 - nanojit X64 backend doesn't handle 64bit jumps (r+nnethercote,edwsmith)
...
--HG--
extra : convert_revision : 84a0590762f5a804b905378b74414294ed22cbe6
2010-01-28 15:25:07 -08:00
Steven Johnson
d3917616cd
Update comment about Thumb-2 usage to be grammatically correct, per nnethercote's suggestion.
...
--HG--
extra : convert_revision : 4520d720b2e3681edfeba915cd7d359231f24de8
2010-01-28 13:57:08 -08:00
Steven Johnson
66b97ac0b3
remove arm_thumb and arm_thumb2 flags (r=rreitmai,r=nnethercote,bug=541491)
...
--HG--
extra : convert_revision : b9b31e60f28eb87842aae9325944c1d03ca1b2a7
2010-01-28 13:37:40 -08:00
Jeff Walden
906c23f6c5
Bug 540985 - Regression in Peacekeeper string benchmarks due to regexp literals no longer tracing. A prototype of this patch was by bz. r=igor
2010-01-26 18:41:30 -08:00
Brendan Eich
7be53aed44
Add jstests.list entry for regress-541455.js.
2010-02-02 11:11:07 -08:00
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