Commit Graph

17734 Commits

Author SHA1 Message Date
Edwin Smith
f07dba959a Rename LIR opcodes once more, using new C convention (bugs 555633, bug 557877 r=nnethercote+)
This patch un-does the intel names that have been used so far within
nanojit, updates the aliases in LIR.h, and fixes the names used in
lirasm tests.

Host VM's will need to run rename_LIR.pl from bug 504506 if they have
already begun using the intel names; aliases are not provided for them in LIR.h.

--HG--
extra : convert_revision : 2787af46329c72796954ddb68f53326f0de661e4
2010-04-21 21:13:17 -04:00
Edwin Smith
dd522b5219 Fix vprof bustage (bug 560683 r=edwsmith)
--HG--
extra : convert_revision : ea5ee8ca471bfc5b183a42d6b60e778067697c6e
2010-04-21 11:41:05 -04:00
Chris Dearman
2f43dc3b85 Bug 558813 - [MIPS] running tamarin as3/Vector/ acceptance testcases produces an assert (r=edwsmith)
--HG--
extra : convert_revision : 25449d23ba02a99a502c06ffc0565f87376a3e7e
2010-04-21 09:16:18 -04:00
Chris Dearman
70abf16395 Bug 551165 - Unable to compile MIPS nanojit backend (r=edwsmith+)
--HG--
extra : convert_revision : 7d9635ba36b214f707cf426b7b414cde99738048
2010-04-21 09:14:14 -04:00
Nicholas Nethercote
2ea129dca6 Bug 559719 - nanojit: tweak LIns::lastWord. r=edwsmith.
--HG--
extra : convert_revision : 3f81d8a5f0515f891eac0c8821370d4309787483
2010-04-20 17:51:50 -07:00
Jeff Walden
d7d2bc05b8 Followup orange fix, had these fixed in one tree but not the one from which I pushed the changes... r=waylon 2010-04-21 17:34:55 -07:00
David Anderson
48332bd1d3 Merge backout. 2010-04-21 16:30:39 -07:00
David Anderson
5833728cee Backed out changeset 4a28bd424400 (tinderbox red). 2010-04-21 16:30:06 -07:00
Mike Moenig
070f65d587 Support custom allocators (bug 549532 relanding, r=dvander). 2010-04-21 13:59:33 -07:00
David Anderson
cb968b20e2 Rename test case for correct bug number (no bug, r=me).
--HG--
rename : js/src/trace-test/tests/basic/bug557481.js => js/src/trace-test/tests/basic/bug557841.js
2010-04-21 12:08:37 -07:00
David Mandelin
fd86595096 Bug 558531: fix typo in JS_ResolveStandardClass, r=waldo 2010-04-21 11:37:18 -07:00
Robert Sayre
80c51d1fa2 Merge tracemonkey to mozilla-central. 2010-04-21 08:34:13 -04:00
David Anderson
35c7952dbd Fixed tracing some arguments usage on trace (bug 558618, r=gal). 2010-04-21 01:10:23 -07:00
David Anderson
e15b599eb7 Modifying upvars on trace (bug 557946, r=gal). 2010-04-20 22:42:00 -07:00
Luke Wagner
e4062e7d64 Remove ridiculous dead code in JSOP_POS (that I seem to have added with bug 552574) 2010-04-20 20:48:26 -07:00
Dan Witte
b0215f66ed Bug 558949 - Make ctypes functions FunctionType.ptr's. r=benjamn 2010-04-20 17:37:35 -07:00
Nicholas Nethercote
5312fd9378 Update nanojit-import-rev stamp. 2010-04-20 16:11:58 -07:00
Edwin Smith
39e3c47d89 Bug 559969 - Rename LOpcode enums in Assembler.cpp/h (r=nnethercote+)
--HG--
extra : convert_revision : ccc892912055b7da35ff7a8bafa7c3cd0bc060d5
2010-04-19 20:42:41 -04:00
Edwin Smith
779ceae7af Remove unnecessary clearReg() calls from asm_restore(). (bug 555255 r=nnethercote+)
This patch does two things, neither of which should affect generated code.

1. In case LIR_alloc in gen(), replace inlined code with a call to evict(),
since evict() does exactly what the inlined code does.

2. In backends, remove ins->clearReg() or deprecated_markAsClear() calls from
asm_restore(), since evict() takes care of the same thing as soon as
asm_restore() returns.

--HG--
extra : convert_revision : e89860f89d85e6d0a4ef538c5f19f0ae55e360da
2010-04-19 20:28:22 -04:00
Edwin Smith
249f28c795 Removes NJ_PROFILE and related code, since it's all dead. (bug 560300 r=nnethercote+)
Host VM's should remove #define NJ_PROFILE and NJ_PROFILE_DISABLED

--HG--
extra : convert_revision : 02bc396c1339e7ed0ac17f77b074d5edcb1517f7
2010-04-19 20:22:56 -04:00
Edwin Smith
519091121b Move canRemat() from Assembler.cpp to each backend. (bug 555255 r=nnethercote+)
--HG--
extra : convert_revision : c12082c4c489498061d8b505f7dae1bf626d849f
2010-04-19 20:16:09 -04:00
Ben Newman
54bf4c3b11 Bug 560412 - Publicly expose the values of LazilyConstructed<T> objects. r=lw 2010-04-20 14:05:39 -07:00
Jeff Walden
784da638d5 Er, back out everything, guess my understanding of orange was...lacking 2010-04-20 13:48:46 -07:00
Jeff Walden
206d6f3d03 Backed out changeset 7bb4a2e5d0cf, looks to be orange everywhere... :-\ 2010-04-20 10:04:16 -07:00
Jeff Walden
81aa312506 Bug 558541 - Simplify some code in js_SetPropertyHelper to make it more understandable. r=jorendorff
--HG--
extra : rebase_source : 145820b9d09adf634220db05cbfabc698c1fcb16
2010-04-13 13:34:31 -07:00
Jeff Walden
be8de8586d Bug 560018 - Actually remove support for { get property funname() { } }, confounded merging madness... r=luke
--HG--
extra : rebase_source : b3c47f5fdd0fcb52f68876e9a4fab16143c16901
2010-04-17 03:19:33 -07:00
Jeff Walden
1296402931 Bug 558541 - Simplify some code in js_SetPropertyHelper to make it more understandable. r=jorendorff 2010-04-13 13:34:31 -07:00
Jeff Walden
20b6ad5c8b Bug 560018 - Actually remove support for { get property funname() { } }, confounded merging madness... r=luke 2010-04-17 03:19:33 -07:00
jwalden+bmo@mit.edu
8761c33afc Only use setter's parent if a setter was supplied (bug 560277, r=dmandelin). 2010-04-20 00:49:40 -07:00
Luke Wagner
cee0b0e04e Use uint64 instead of JSUint64 to fix changeset 5b1c7bc8783e (rs=brendan) 2010-04-19 18:19:27 -07:00
Luke Wagner
8b6ec43798 Fix Windows bustage from changeset 5b1c7bc8783e 2010-04-19 16:21:12 -07:00
Luke Wagner
be887552b5 Bug 559256 - optimize slot grow/shrink (r=gal)
--HG--
extra : rebase_source : d979d305f730ee2fca3cf5fd0b5eeed028da1b66
2010-04-19 14:42:04 -07:00
Luke Wagner
ee07742078 Bug 558410 - silence strict aliasing warnings (r=jorendorff)
--HG--
extra : rebase_source : c6cad8a5461e685f31f5959aa69635be57c807d4
2010-04-19 13:08:19 -07:00
Luke Wagner
e8cae1ae75 Fix changeset 1f9e21e2fd2b bustage on 64-bit 2010-04-19 10:30:17 -07:00
Luke Wagner
132d6ff99e Bug 560098 - fix hole-to-undefined conversion wrt TT_VOID (r=dvander) 2010-04-19 09:53:09 -07:00
timeless@mozdev.org
4e26eecbd7 Bug 560139 - jsdStackFrame::Eval leaks estate when failing to use ContextStack. r=jorendorff.
--HG--
extra : rebase_source : 611b291f96b21d33ba8f1ab3d56401c7fff7900d
2010-04-19 09:22:00 -05:00
Jason Orendorff
cdab85f46b Bug 557841 - TM: "Assertion failure: BINDNAME in global code resolved to non-global object, at ../jstracer.cpp". r=dmandelin.
--HG--
extra : rebase_source : ebfbfc0bb947c1c68b86ec4861c07a94aa6361d7
2010-04-19 09:21:10 -05:00
Robert Sayre
75054fe868 Merge mozilla-central to tracemonkey. 2010-04-19 09:28:26 -04:00
Nicholas Nethercote
2720729d2e Update nanojit-import-rev stamp. 2010-04-18 19:33:09 -07:00
Nicholas Nethercote
fb9551b2d4 Remove some pointless aliases. No bug, rs=gal.
--HG--
extra : convert_revision : bdef2f8f4b6bfc0a84de2140beec0ff6f3048f1e
2010-04-18 19:31:20 -07:00
Nicholas Nethercote
c8d644ac00 Update nanojit-import-rev stamp. 2010-04-18 16:31:16 -07:00
Nicholas Nethercote
a824e5c6f7 Fix compiler warning. r=me.
--HG--
extra : convert_revision : 4baf0bdb53dfdc39a1a6b1cf9ee78c0c42be8a6f
2010-04-18 16:15:25 -07:00
Edwin Smith
09a45dccc9 Bug 559968 - Rename LOpcode enums in LIR.cpp. r=nnethercote.
--HG--
extra : convert_revision : 34789fd8cb4bd5f3d3eed6b6a44ae1a158620f8d
2010-04-18 16:05:53 -07:00
Edwin Smith
a91f19d4db Rename LIR opcodes in LIR.h (bug 557887, r=nnethercote+)
Mechanically renamed using rename_LIR.pl, backed out the alias patch hunks,
and updated the pointer-sized aliases to use the new opcodes instead of
PTR_SIZE macros using old opcodes.

--HG--
extra : convert_revision : 944433df375988c65313759440ed1de757ab4ea8
2010-04-16 19:20:24 -04:00
Mike Moening
0c4a60c68a Bug 559067 - Silence MSVC warnings in js/src. r=jorendorff 2010-04-16 16:00:51 -05:00
Gregor Wagner
99e8d55d3d Bug 559113 - Fix dangling FILE pointer in GCMETER code. r=jorendorff. 2010-04-16 15:54:56 -05:00
Jason Orendorff
95065267f5 Bug 527805 - Placeholder comment as requested in review. r=brendan, see comment 6 of the bug. 2010-04-16 15:38:57 -05:00
Jason Orendorff
f677d26051 Bug 527805 - Remove JSCLASS_SHARE_ALL_PROPERTIES. r=brendan. 2010-04-16 15:33:19 -05:00
Mike Moening
16d0ed8f28 Bug 549532 - Allow custom memory allocator use in spidermonkey. Part 1. r=dvander. 2010-04-16 15:03:53 -04:00
Igor Bukanov
c2478655ef bug 557140 - avoid abort() on OOM with ill-lopping traced code. r=jorendorff 2010-04-16 14:31:17 +02:00