Taras Glek
5187e5f82b
Bug 570195 - Object.prototype.hasOwnProperty doesn't set the JSRESOLVE_DETECTING flag. r=jorendorff, test by jorendorff.
...
--HG--
extra : rebase_source : 20ef8f345efc18887c296059aff94e8d4e754cc9
2010-06-04 14:20:53 -07:00
Jason Orendorff
ecade2bee8
Bug 556277 - Compute this eagerly in more cases. r=brendan.
...
--HG--
extra : rebase_source : b295b576f019a95b55d12b86077aaef295e3eec8
2010-06-04 00:34:57 -07:00
Luke Wagner
8ad39248a1
Fix misnamed js_DumpStackFrameChain (r=me)
...
--HG--
extra : rebase_source : c8d4e523cea0909dc190eac3c368d207d9c6abbb
2010-06-04 11:15:23 -07:00
Jason Orendorff
04cdbe2548
Fix up the tests from bug 555246 to pass in the browser.
...
--HG--
extra : rebase_source : 7402ef86dc51523e55013345eba02a2e95122478
2010-06-03 23:33:40 -07:00
Andreas Gal
33e7774d0c
Suppress deleted properties during iteration (569735, r=brendan).
2010-06-03 21:41:01 -07:00
Nicholas Nethercote
f842ca64e9
Backout the last NJ-to-TM merge (TM revisions b44daa2c0503 to b3167f8f9459, inclusive) because it caused lots of oranges. r=me.
2010-06-03 21:28:18 -07:00
Andreas Gal
b2ea9ca4e0
Don't allow proxies to be fixed while handler traps execute (568473, r=igor).
2010-06-03 18:12:01 -07:00
Nicholas Nethercote
150daf3d10
Update nanojit-import-rev stamp.
2010-06-03 17:53:33 -07:00
William Maddox
1bc1074b42
Bug 555345 - Add profiling capability for JIT-generated code (vprof changes only) (r=rreitmai+)
...
An earlier patch to tamarin-redux included vprof patches as well as a coordinated set of changes
to other files in TR. The vprof directory is imported from nanojit-central, and the vprof changes
were overwritten. This patch separates the initialization of new profile records from the logging
of data therein, which facilitates the use of the profiling infrastructure from JIT-generated code.
--HG--
extra : convert_revision : 10b865fa5d413277c2e11c211302f75d87029f06
2010-06-03 16:02:28 -07:00
Steven Johnson
55b5e5b4c7
Bug 527512 - ExprFilter missing trivial optimizations for ugt, ult (r=edwsmith,nnethercote)
...
--HG--
extra : convert_revision : 9bdc25ecdb1b5b3b6a81705df3ae573b812bc990
2010-06-03 10:35:26 -07:00
Leon Sha
a28fd8a145
http://www.dancertheband.com/ does not work correct with flash player 10.1 beta for solaris sparc. r=edwsmith
...
--HG--
extra : convert_revision : ccfc1e56c6f7dcf68719329cf1615aa5bfc4e3a5
2010-06-02 13:13:24 +08:00
William Maddox
18c2d6d7bc
Support arithmetic with branch on overflow on MIPS -- bug 560926 (r=rreitmai+)
...
Adds support for MIPS target lacking in earlier patch.
Bug 560926 - Add support for arithmetic with branch on overflow
We simply extend the existing logic for exit-on-overflow in the
manner done for other targets. There appear to other issues
with oveflow detection in general that are not dealt with here.
--HG--
extra : convert_revision : 3a62ee8cc7d6caf63cbd594f71814c8e8f3d4f7a
2010-05-27 18:00:45 -07:00
William Maddox
f9cc41e241
Fix missed renaming in NativeMIPS.cpp in patch for bug 560926 (r=rreitmai+)
...
Bug 560926 - Add support for arithmetic with branch on overflow
--HG--
extra : convert_revision : 8c6a61c935172f56eb7c660b476a5516cd3f04ab
2010-05-27 12:53:35 -07:00
Rick Reitmaier
6bde41b18d
Fix winmo macro madness breakage
...
Extra parenthesis needed in order to correctly resolve macros;
NativeARM.cpp(2040) : error C2105: '--' needs l-value
--HG--
extra : convert_revision : 6f625518afb60a49717b27ba482ace08309cff12
2010-05-27 11:29:47 -07:00
Rick Reitmaier
0db246854f
Bug 568393 - msvc 2008 compiler generates bad code for CallInfo static initializer (r+wmaddox)
...
ugh
--HG--
extra : convert_revision : f7c07b8ca96fc2ef1179171f05e69b841ac2865f
2010-05-26 18:02:31 -07:00
William Maddox
8426a307bd
Bug 560639 - Reinstate CodeAlloc::size(const CodeList*) recently removed as "dead" (r=edwsmith+ nnethercote+)
...
--HG--
extra : convert_revision : aec5028a49e90c4be18de667a2807896e3b689ad
2010-05-26 17:29:16 -07:00
Rick Reitmaier
481829be80
Bug 567900 - Enable JIT verbose output for release debugger builds (r+stejohns)
...
Somewhere along the line -Dverbose=jit was disabled for all non-debug builds.
This means that we can no longer see jit generated verbose output unless we
build a debug build, which is very inconvenient.
Also, the define NJ_VERBOSE_DISABLED was introduced without a corresponding
ifdef around the JIT verbose flags of the shell which leads one to erroneously
assume that methods are not being JIT'd (no output visible).
As the verbose mechanism in the JIT adds less than 2% to overall size (measured
on xcode built x86-32 shell) , recommend adding it back.
--HG--
extra : convert_revision : 367041a278adc74f7db6c9a13166f1700b133ec7
2010-05-26 11:08:55 -07:00
Edwin Smith
0500934718
Bug 560926 - Add support for arithmetic with branch on overflow (r=nnethercote+ edwsmith+ wmaddox+)
...
Patch to add 'j' (branch) variants of the exit-on-overflow instructions,
plus a few dependents:
32-bit:
LIR_addjovi
LIR_subjovi
LIR_muljovi
64-bit:
LIR_subq
LIR_addjovq
LIR_subjovq
--HG--
extra : convert_revision : 68023362b0833433a0bc0c3b5af8994894488f33
2010-05-26 14:03:14 -04:00
Edwin Smith
d077d75d9f
Constant folding for LIR_i2q and ui2uq (bug 560106 r=gal+)
...
Helps x64 and ppc64.
--HG--
extra : convert_revision : e6ce59a07d5fd363fadc242a93a2677f6fc69989
2010-05-24 09:13:11 -04:00
Jacob Bramley
cb79151e35
Remove stack-size limitations in asm_spill for ARM. [Bug 561977] [r=rreitmai]
...
--HG--
extra : convert_revision : 09f682eb3100993e4f15758f209601c033d5ca3c
2010-05-24 11:30:06 +01:00
Jeff Walden
b2e87ff7b4
Split up DST tests a bit more. r=time
2010-06-03 15:48:26 -07:00
Andreas Gal
747cb2177c
Rename JSNoopProxyHandler to JSWrapper and move it into jswrapper.[h|cpp] (568731, r=cdleary).
2010-06-03 15:27:29 -07:00
David Mandelin
7816204c50
Bug 569767: add separate trace-type 'magic' for JSVAL_HOLE, r=dvander
2010-06-03 10:38:44 -07:00
Brendan Eich
762ee1380b
Fix failure to handle deep bail, and stop recording properly, in wake of bug 523452 (569843&569849, r=jorendorff).
2010-06-03 11:08:58 -07:00
Jeff Walden
722237e63b
Bug 569471 - Rename js_GetWrappedObject to JSObject::wrappedObject. r=jorendorff
2010-06-01 15:59:02 -07:00
Jason Orendorff
fad49a60a6
Bug 569771 - Factor out calling resolve hooks from js_LookupPropertyWithFlags. r=gal.
2010-06-02 23:11:31 -07:00
Jason Orendorff
6f53dc4209
Back out changeset 96dbe8a784f1 (bug 569735) due to failing tests.
2010-06-02 23:48:22 -07:00
Andreas Gal
bf2543ac9c
Rip out proto cache and store prototypes in the global object (569537, r=jorendorff).
2010-06-02 20:30:45 -07:00
Andreas Gal
cc9bcc2461
Suppress deleted properties during iteration (569735, r=brendan).
2010-06-02 20:11:56 -07:00
Jason Orendorff
4a550f19f6
Bug 567152 - Assertion failure: !generic(). r=brendan.
...
--HG--
extra : rebase_source : 8a09f3c6b9570d764ebc404a2ff870625e156801
2010-06-02 16:45:23 -07:00
Jeff Walden
8fdd638cc7
Bump jstests.py timeout limit to 150s; reftest harness times out at 300s now, so this both substantially raises the ceiling and doesn't raise it so far that a fast-in-shell-but-slow-in-browser test might time out only in browser, or at least that's the hope. r=flakiness
2010-06-02 17:04:37 -07:00
Brendan Eich
4cf2542fad
Test for bug 568056.
2010-06-02 16:39:49 -07:00
Brendan Eich
4bf0a80fc3
Iterator(obj) returns a property key/value iterator that skips the proto chain (568056, r=gal).
2010-06-02 16:21:58 -07:00
Jason Orendorff
e5e3e77f5a
Back out changeset a72a9d72c028 (bug 559653, remove SetPropHit). Checking to see if this caused a 5% Dromaeo regression today.
...
--HG--
extra : rebase_source : 5b1726c8bc4f9504cb1d452d0d21d59d61091ee0
2010-06-02 16:01:36 -07:00
Jason Orendorff
737db4b6a0
Back out changeset ca772ab995c9 (bug 559813, trace script setters).
...
--HG--
extra : rebase_source : 09944589c3f8c5acbd79ddc29878b25efcb87e14
2010-06-02 15:58:17 -07:00
Jason Orendorff
2f0945e118
Back out changeset ade35d045bc8 (the tests were fixed earlier today).
2010-06-02 15:49:19 -07:00
Jason Orendorff
0a8bb9ebb9
Back out changeset ade35d045bc8 (the tests were fixed earlier today).
2010-06-02 15:46:12 -07:00
Andreas Gal
9f6dd7380d
Add test for bug 569306.
2010-06-02 14:54:18 -07:00
Andreas Gal
930315236c
Disable invalid tests that rely on resolve hooks reviving deleted standard classes/names (no bug, r=orange).
2010-06-02 14:38:04 -07:00
Luke Wagner
b1839b61d7
Bug 569707 - avoid double-reporting OOM in jsiter (r=gal)
...
--HG--
extra : rebase_source : 6f486dad54e8b577a4baf3711dd785a394596bb6
2010-06-02 14:17:52 -07:00
Jason Orendorff
d72586e871
Update jstests.list to get rid of some more orange: remove the "fails-if" tag from a test that no longer fails. My best guess is that the seemingly trivial simplification in bug 569114 fixed an actual browser-only correctness bug. Amazing. shame=andreas, rs=Waldo, no bug#.
2010-06-02 13:58:58 -07:00
Jeff Walden
9d92f53188
Bug 563938 - Cache DST offsets to improve SunSpider score. r=sayrer
2010-05-26 17:49:04 -07:00
Jeff Walden
398e391d8f
Bug 569666 - Define global.ctypes as non-enumerable, so it doesn't break uneval(this). r=jorendorff
2010-06-02 11:53:41 -07:00
Jason Orendorff
911bd75921
Fix silly tests that were failing because we fixed bug 569306. shame=andreas, rs=Waldo, no bug#.
2010-06-02 12:57:26 -07:00
Jason Orendorff
d61e34e262
Bug 559813 - Trace script setters. r=brendan.
2010-06-02 12:05:53 -07:00
Jason Orendorff
9045ae834e
Fix regression of js1_5/GC/regress-341877-01.js noted in bug 523452 comment 11. rs=dmandelin.
2010-06-02 11:56:53 -07:00
Jason Orendorff
06a6518697
Fix warning about printf format types.
...
--HG--
extra : rebase_source : 06b0e1f60ba86f36da99eb06513f83eba436b8f3
2010-06-02 10:22:03 -07:00
Luke Wagner
01568a7f12
Bug 567530 - silence strict-aliasing warnings on threadsafe opt builds (r=igor)
2010-06-02 10:03:36 -07:00
Brendan Eich
9b700bddab
Followup fix and cleanup for 523452.
2010-06-02 07:18:25 -07:00
Andreas Gal
75a77c9ee4
Don't re-run resolve hooks after a standard class was delete (569306, r=mrbkap).
2010-06-02 01:18:50 -07:00