Commit Graph

9049 Commits

Author SHA1 Message Date
David Mandelin
d9d407e9e0 Fix build for js shell 2010-05-26 15:35:52 -07:00
David Mandelin
779cb751a0 Fix ctypes build 2010-05-26 15:29:48 -07:00
David Mandelin
dccd5ed786 Build fixes for MT builds 2010-05-26 14:49:23 -07:00
David Mandelin
2652c5d63e Reversing change to jstests.py that was accidentally checked in earlier 2010-05-26 14:13:08 -07:00
David Mandelin
2dbeb42aff Fix regression from 426b1244fbf6. rval needs to be set for the ending primtive conversion block to work correctly. 2010-05-26 13:50:01 -07:00
David Mandelin
efe77133ba Fix jsreftest regress-312588.js 2010-05-26 13:29:27 -07:00
David Mandelin
3b0ec348d0 Fix jsreftest regress-353116.js 2010-05-26 13:15:33 -07:00
David Anderson
31c3867c05 [JAEGER] Added RematInfo header. 2010-05-26 00:33:57 -07:00
David Anderson
88963dc176 [JAEGER] House cleaning... re-org.
--HG--
rename : js/src/methodjit/CodeGen_NaN32.cpp => js/src/methodjit/nunbox/CodeGenerator.cpp
rename : js/src/methodjit/CodeGenerator.h => js/src/methodjit/nunbox/CodeGenerator.h
rename : js/src/methodjit/FastOps.cpp => js/src/methodjit/nunbox/FastOps.cpp
rename : js/src/methodjit/FrameEntry.h => js/src/methodjit/nunbox/FrameEntry.h
rename : js/src/methodjit/FrameState.cpp => js/src/methodjit/nunbox/FrameState.cpp
rename : js/src/methodjit/FrameState.h => js/src/methodjit/nunbox/FrameState.h
2010-05-26 00:21:47 -07:00
David Anderson
935d205ba8 [JAEGER] Added JSOP_DOUBLE. 2010-05-25 22:42:43 -07:00
David Anderson
fa0822d446 [JAEGER] Start of BINDNAME. 2010-05-25 22:31:08 -07:00
David Mandelin
a2c395a9dc Fix jsreftest regress-295052.js 2010-05-25 18:47:32 -07:00
David Mandelin
3f0ca97f1f Fix jsreftest regress-355339.js 2010-05-25 18:40:40 -07:00
David Anderson
9f63657fcc [JAEGER] Merge from fatval. 2010-05-25 18:22:09 -07:00
David Mandelin
a8e76d8210 Fix jsreftest exception-001.js 2010-05-25 18:21:43 -07:00
David Anderson
b482f72bf4 [JAEGER] Added JSOP_GOTO support. 2010-05-25 18:21:10 -07:00
David Mandelin
a9d51c9ff6 Fix decompiler assert in bitops-bitwise-and 2010-05-25 17:52:45 -07:00
David Mandelin
0c68bbefd3 Fix jsreftest 10.1.4-10 2010-05-25 17:40:01 -07:00
David Anderson
2dedfa5219 [JAEGER] Merge from fatval. 2010-05-25 17:23:49 -07:00
David Mandelin
3efe787d8c Fix jsreftest 11.3.2.js 2010-05-25 17:19:16 -07:00
David Anderson
419b23890d [JAEGER] Merge from fatval. 2010-05-25 17:01:31 -07:00
David Anderson
1379800b5c [JAEGER] Quick fix-up for new values.
--HG--
rename : js/src/methodjit/CodeGenerator.cpp => js/src/methodjit/CodeGen_FatVals.cpp
rename : js/src/methodjit/CodeGenerator.cpp => js/src/methodjit/CodeGen_NaN32.cpp
2010-05-25 17:00:57 -07:00
David Mandelin
edabf67815 More consistent constants in isTrue and isFalse 2010-05-25 16:52:56 -07:00
David Mandelin
7cc758c9de Fix my mistaken JSVAL_TRUE for JS_TRUE in silencing a lame MSVC warning. Ick. 2010-05-25 16:51:27 -07:00
David Mandelin
b315613bc9 Fix failing assert on Windows 2010-05-25 16:39:38 -07:00
David Anderson
38d6c177d7 [JAEGER] Merge from fatval. 2010-05-25 16:22:37 -07:00
David Anderson
f2fcb3f0af [JAEGER] Fixed opt build error. 2010-05-25 16:21:41 -07:00
David Mandelin
74f72d3c92 Fix jsreftest typedarray.js 2010-05-25 16:14:33 -07:00
David Mandelin
51193355a8 Fix previous patch--used wrong |true| value 2010-05-25 16:09:24 -07:00
David Mandelin
7dcd3d30a1 Fix Windows warnings 2010-05-25 16:07:47 -07:00
David Anderson
e7dd547963 [JAEGER] Added register state verification & fixes for subsequent bugs it found. 2010-05-25 16:03:34 -07:00
David Mandelin
29029e3a17 Fix Windows build 2010-05-25 16:02:02 -07:00
David Mandelin
da8f91c03f Fix jsreftest regress-465453.js 2010-05-25 15:57:49 -07:00
Luke Wagner
0453c34865 Merge 2010-05-25 15:01:02 -07:00
David Mandelin
9283167963 Fix jsreftest regress-520572.js 2010-05-25 14:54:16 -07:00
David Mandelin
6aeb545a8a Fix jsreftest regress-453701.js 2010-05-25 14:52:10 -07:00
Luke Wagner
98063b6506 Re-apply fixes so that Windows (hopefully) builds 2010-05-25 14:48:12 -07:00
David Anderson
3260af4abb [JAEGER] Merge from fatval. 2010-05-25 14:39:12 -07:00
David Anderson
0de6cef48c Added a bunch of the UINT/INT opcodes. 2010-05-25 14:38:39 -07:00
David Mandelin
683c94ac4e Fix jsreftest regress-311792-02.js 2010-05-25 14:30:44 -07:00
David Anderson
0c7a8cdb75 [JAEGER] Merge from fatval. 2010-05-25 14:17:37 -07:00
David Anderson
61f3596d3c [JAEGER] Initial import of new compiler layout. 2010-05-25 14:14:13 -07:00
David Mandelin
30f293c255 Fix regress-375882.js 2010-05-25 14:02:05 -07:00
David Mandelin
9a6626e752 Fix jsreftest regress-555246-1. Also attempt to fix XP build bustage with lval's constructor being skipped by labels. 2010-05-25 13:19:35 -07:00
Luke Wagner
5cbf1c02f9 Merge 2010-05-25 11:31:47 -07:00
Luke Wagner
2a81dc5df9 Use nan-boxing, only working on 32-bit 2010-05-25 11:20:59 -07:00
Luke Wagner
b5b0edd4b5 Fix bustage 2010-05-24 22:51:39 -07:00
Luke Wagner
5508ffb812 Merge 2010-05-24 22:47:59 -07:00
Luke Wagner
b99257ad72 Fix bug 2010-05-24 22:19:29 -07:00
David Mandelin
ba9474f4cc Fix jsreftest ecma\Array\15.4.4.5-1.js 2010-05-24 19:00:44 -07:00
David Mandelin
b4f186acbb Removed all attempts to align values on MSVC, because they don't seem to help perf. 2010-05-24 17:37:30 -07:00
David Mandelin
528fb3452d Fixing len nonsense to satisfy an assertion. 2010-05-24 15:38:10 -07:00
David Mandelin
3e23b61592 Refix alignment. For now, don't try to align on MSVC, because parameters cannot be aligned, which forces us to take either build errors or alignment-checking assertions if we do try to align. 2010-05-24 15:31:08 -07:00
David Mandelin
75a0a2ea71 Followup to previous: fix local |len| in exception handling code. 2010-05-24 13:54:33 -07:00
David Mandelin
cc4241aff5 Make all references to |len| refer to the js_Interpret-wide variable so dispatch works correctly on Windows. 2010-05-24 13:45:40 -07:00
David Mandelin
8aa596de26 Fix most MSVC warnings. 2010-05-24 13:26:38 -07:00
David Mandelin
fd80dfdf22 Build fixes for MSVC. It should now build on Windows, albeit with warnings. 2010-05-24 12:55:11 -07:00
David Anderson
ef81792b37 [JAEGER] Re-added JIT script releasing. 2010-05-22 17:45:52 -07:00
David Anderson
167ee00231 [JAEGER] Enabled method JIT backend. 2010-05-22 17:41:21 -07:00
David Anderson
9f1aa534da Import method JIT 'outer' framework. 2010-05-22 17:09:52 -07:00
David Anderson
ac485231f0 [JAEGER] Re-imported nitro assembler. 2010-05-22 15:56:42 -07:00
David Anderson
285a986008 Statically bind global variables where possible (bug 561923, r=brendan). 2010-05-22 15:38:04 -07:00
David Anderson
d8f8d5dfac imported patch globals_prt3_2 2010-05-22 14:52:44 -07:00
David Anderson
21e95490d6 Don't call resolve hooks when looking up compile-time constants (bug 561923 part 2, r=brendan). 2010-05-22 14:52:37 -07:00
David Anderson
ee93bf7232 Initialize classes in reserved slots (bug 561923, r=brendan). 2010-05-22 14:46:18 -07:00
Luke Wagner
b50352b41c Tighten checking with JSID, fix bug 2010-05-21 14:11:15 -07:00
Luke Wagner
b703c42217 Fix bug 2010-05-21 11:40:47 -07:00
Luke Wagner
d21e5529df Up js shell gc limit so that splay fits 2010-05-21 11:34:05 -07:00
Luke Wagner
926bf1e82a Passing trace-tests 2010-05-20 18:39:06 -07:00
Luke Wagner
eeb3b22ccd Bug fixes 2010-05-20 16:44:08 -07:00
Luke Wagner
72913f6cf1 Bug fixes, cleanups 2010-05-20 10:05:04 -07:00
Luke Wagner
6836687a5e jsapi-tests pass 2010-05-19 18:40:27 -07:00
Luke Wagner
c6bf080b3e Fixed bugs; can compile imacros 2010-05-19 17:11:57 -07:00
mozilla@buildmonkey-left.mv.mozilla.com
88fadd2d53 Fix some things so this builds on 64-bit and OS X 2010-05-19 09:55:27 -07:00
Luke Wagner
881464a84d Do less copying for INC operations 2010-05-19 14:39:16 -07:00
Luke Wagner
aac51d75b6 Turns out implicit conversion from JSString to Value is also dangerous (NULL). 2010-05-18 19:05:30 -07:00
Luke Wagner
3d3937c581 Quiet warnings, fix strict-aliasing bug 2010-05-18 18:29:26 -07:00
Luke Wagner
d3a3926b34 Fix bugs 2010-05-18 17:25:12 -07:00
Luke Wagner
19c9bbad15 Turns out function objects can be on parent chains 2010-05-18 14:23:23 -07:00
Luke Wagner
4efd7171cc Started fixing asserts 2010-05-17 22:57:30 -07:00
Luke Wagner
e374a37e1c Remove explicit copy, ObjPtr 2010-05-17 22:15:51 -07:00
Luke Wagner
d1c3253e19 It compiles and links. Time to make it run 2010-05-17 21:21:44 -07:00
Luke Wagner
b3c6d771b1 Fixing shell/js 2010-05-17 18:49:58 -07:00
Luke Wagner
98a19c517d finish jsxml 2010-05-17 16:52:38 -07:00
Luke Wagner
9b7f2175aa up to jsxml now 2010-05-14 19:57:00 -07:00
Luke Wagner
6d87e93eef 30% through jsstr 2010-05-13 18:55:25 -07:00
Luke Wagner
0a7c4f2ffb convert up to jsstr 2010-05-13 14:49:26 -07:00
Luke Wagner
db5b99989b convert jsnum, touch up jsobj 2010-05-13 02:03:08 -07:00
Luke Wagner
36fb0452a3 fix jsiter, convert jsmath 2010-05-12 22:58:11 -07:00
Luke Wagner
588e08228c jsiter 2010-05-12 19:05:43 -07:00
Luke Wagner
4e6c52c52b New Tag scheme, no SetObject silliness 2010-05-12 16:36:10 -07:00
Luke Wagner
400c4bbaef Finished corrections from rebase 2010-05-12 12:32:34 -07:00
Luke Wagner
bd3571c1b5 Still recovering from rebase 2010-05-11 19:00:59 -07:00
Luke Wagner
6c0883c94f Merge from tracemonkey 2010-05-11 00:41:08 -07:00
Luke Wagner
4e71f5312b (unrebased) fat value patch 2010-05-10 22:01:31 -07:00
Luke Wagner
1df076742a Merge 2010-05-10 21:35:06 -07:00
Jason Orendorff
9b5693f187 Bug 564344 - Crash or "Assertion failure: slot < (this)->scope()->freeslot, at ../jsscope.h:563" @ JSObject::getSlot(unsigned int) when redefining property. r=brendan. 2010-05-10 18:43:34 -05:00
Andreas Gal
2bbccc6cff can't trace generator close, follow up for 558754, CLOSED TREE 2010-05-07 19:19:19 -07:00
Andreas Gal
2004c301c3 fast object iteration (558754, r=brendan, CLOSED TREE). 2010-05-07 17:52:52 -07:00
Andreas Gal
b943be441e xml[index] only works for JSXML_CLASS_LIST (564377, r=brendan, CLOSED TREE). 2010-05-07 13:33:57 -07:00
Dan Witte
8abd831785 Bug 562809 - js::HashTable::init(n) should guarantee success of next 'n' add()s. r=luke 2010-05-06 09:14:43 -07:00
Blake Kaplan
5acba45793 Fix bug 563243. r=jorendorff
--HG--
extra : rebase_source : 4d0b7a62b0b1c458e2bb7f109e98da604ecba03a
2010-05-03 15:23:01 -07:00
Nicholas Nethercote
c346baf81a Bug 562857 - TM: use LIR_d2i instead of js_DoubleToInt32() when possible. r=gal. 2010-05-05 16:50:50 -07:00
Dan Witte
c9d150350d Fix crash. 2010-05-05 15:57:34 -07:00
Chris Leary
cc14df4238 Bug 563870: Fix dtrace linker error. (r=dvander) 2010-05-05 15:32:47 -07:00
Chris Leary
50beb5729a Bug 551763: Fix deletion of arguments ident. (r=Waldo) 2010-05-05 15:20:12 -07:00
Chris Leary
a95aefcc00 Bug 556657: Fix test description. (r=Waldo) 2010-05-05 14:04:16 -07:00
Dan Witte
41ff4ffb81 Address review comment from bug 551982. r=benjamn 2010-05-05 12:01:28 -07:00
David Mandelin
ab14aefcb3 Bug 563842: Make PRMJ_Now always high-resolution in Windows shell builds, r=brendan 2010-05-04 18:06:30 -07:00
Luke Wagner
500101d1a4 Bug 563845 - skip jsval-to-jsid conversion when jsval is a jsid (r=igor) 2010-05-04 18:24:13 -07:00
Nicholas Nethercote
f824f9ebe3 Bug 563575 - encapsulate jsobj.cpp dslots accesses. r=brendan. 2010-05-04 20:28:38 -07:00
Jeff Walden
be6a021e8a Slightly better single-thread fix to parent() in jsshell. r=foopy 2010-05-04 19:50:53 -07:00
Chris Leary
b3500c2d9e Fix shell build break on non-threadsafe. (r=me) 2010-05-04 19:34:21 -07:00
Jeff Walden
2a594e3393 Fix bustage from not renaming a variable appropriately in a copy-paste. r=red 2010-05-04 18:27:50 -07:00
Jeff Walden
3fa134bbc4 Outerize the results of nsIDOMWindowUtils.getParent and the jsshell's parent() methods. r=orange
--HG--
extra : rebase_source : 848ad247e5094b6eb8edce6198bfb1d368c31bc3
2010-05-04 18:02:00 -07:00
Nicholas Nethercote
45f5c025d0 Bug 563210 - "Assertion failure: isDenseArrayMinLenCapOk()," with gc, gczeal, Array, defineGetter. r=brendan. 2010-05-04 17:29:42 -07:00
Nicholas Nethercote
96dfc02296 Bug 563590 - TM: rename opcodes in jsregexp.cpp, jsrecursion.cpp. r=dvander. 2010-05-04 16:26:18 -07:00
Jeff Walden
2eb97e810d Bug 552560 - Test fixups/removals since parent() exists only in the shell, not the browser. r=mrbkap 2010-05-04 15:59:20 -07:00
Jason Orendorff
62bf5ca9d8 Bug 563221 - "Assertion failure: ss->top >= nuses," or "Assertion failure: top != 0," with decompiler, if-else chain, and GOTOX. r=brendan.
--HG--
extra : rebase_source : b085564d7569fceb144193da4b93054b6ddbdadc
2010-05-04 16:38:47 -05:00
Jeff Walden
00f6066393 Bug 552560 - Remove support for __parent__. r=mrbkap 2010-04-11 13:51:00 -07:00
Jeff Walden
aea2277c5b Fix typo in patch for bug 562193, r=firebot 2010-04-28 15:54:28 -07:00
Jeff Walden
35681447d7 Bug 560566 - Add this particular failure mode to the Object.defineProperty megatests. r=jorendorff 2010-04-22 18:53:54 -07:00
Luke Wagner
4daf5e05b2 Bug 563374 - clear exceptions thrown during js_TraceOpcode (r=igor)
--HG--
extra : rebase_source : 24db0cc50d368dc56aa4a44971f56ea0521b6fa9
2010-05-04 10:12:50 -07:00
David Anderson
d1db88e05e Pretty-up some tcflag use in the parser and emitter (bug 563568, r=cdleary). 2010-05-03 20:53:55 -07:00
Dan Witte
e7cac15e98 Bug 551982 - Generate t.name and t.fields lazily. Part 4: hashify StructType fields. r=benjamn 2010-05-03 16:49:53 -07:00
Dan Witte
7124fa12fa Bug 551982 - Generate t.name and t.fields lazily. Part 3: lazy ffi_type. r=benjamn 2010-05-03 16:26:50 -07:00
Dan Witte
7e227a70cd Bug 551982 - Generate t.name and t.fields lazily. Part 2: lazy fields. r=benjamn 2010-05-03 16:26:34 -07:00
Dan Witte
30c5f4ac45 Bug 551982 - Generate t.name and t.fields lazily. Part 1: lazy name. r=benjamn 2010-05-03 16:21:33 -07:00
Dan Witte
70dd2657d6 Bug 560002 - Opaque struct and definition support in ctypes. Part 2: Remove opaque pointers. r=benjamn 2010-05-03 16:20:43 -07:00
Dan Witte
91a57c32a3 Bug 560002 - Opaque struct and definition support in ctypes. Part 1: Opaque structs. r=benjamn 2010-05-03 16:20:05 -07:00
Jason Orendorff
3a2ba42072 Bug 492915 - Trace incelem/decelem/eleminc/elemdec for objects other than arrays. r=brendan.
--HG--
extra : rebase_source : 33ab817997096bd4b00c8a36bb0444dcacc58a27
2010-05-03 16:48:06 -05:00
Nicholas Nethercote
67b2684e4d Bug 562837 - TM: avoid reboxing when copying a double from one array to another. r=brendan. 2010-05-03 15:51:57 -07:00
Jesse Ruderman
21d9a292ac Bug 563077 - fix handling of tests marked as 'random' so crashes are reported. r=dmandelin 2010-05-03 15:25:57 -07:00
Robert Sayre
1e491a700b Merge. 2010-05-03 12:32:11 -04:00
Robert Sayre
df21a4aa06 Update dense array cloning with new factoring of getDenseArrayCapacity 2010-05-03 11:19:45 -04:00
Robert Sayre
2a89b5be4f Merge mozilla-central to tracemonkey. 2010-05-03 11:03:37 -04:00
Nicholas Nethercote
1cd832e8d3 Bug 562872 - encapsulate Arguments-related dslots accesses. r=brendan. 2010-05-02 21:42:09 -07:00
Chris Leary
8ad3f63e27 Bug 563259: Fix shark/dtrace enabled combo. (r=me) 2010-05-02 17:14:44 -07:00
Luke Wagner
501ef0e6be Bug 563167 - propagate error out of Parse (r=cdleary) 2010-05-02 10:24:17 -07:00
Luke Wagner
d57afd3b99 Missed an init() in c6857d0b1e9f 2010-05-01 13:32:10 -07:00
Luke Wagner
e4ed25e94a Bug 563123 - use js::HashMap for JSCodeGenerator::constList (r=igor) 2010-05-01 12:53:14 -07:00
Luke Wagner
006a3618d0 Bug 563120 - test for failure earlier in js_TestXMLEquality (r=waldo) 2010-05-01 12:43:43 -07:00
Luke Wagner
309fb820c6 Bug 558270 - unroll Duff proper (r=waldo) 2010-04-30 18:48:55 -07:00
Robert Sayre
2420e05a4d Merge mozilla-central to tracemonkey 2010-04-28 11:11:48 -04:00
Igor Bukanov
fd7877710b bug 561539 - renaming AutoSaveRestoreWealRoots into AutoPreserveWeakRoots. r=brendan 2010-04-28 14:34:02 +02:00
Ginn Chen
1ffaf7e1a0 Bug 562001 nanojit failed to compile on Solaris x86_64 r=gal 2010-04-28 17:36:04 +08:00
Gary Kwong
92900e0049 Bug 369696 - fix bug number in tests, r=bclary. 2010-04-28 00:00:08 -07:00
Brendan Eich
58024b9de2 Resolve sharpSlots vs. var-in-with grudge match (561011, r=mrbkap). 2010-04-27 21:35:28 -07:00
Brendan Eich
da0855921b Use same source note offset bias/origin for both of SRC_IF_ELSE's offsets, but note second offset is optional (0 if absent; 562028, r=mrbkap). 2010-04-27 21:00:38 -07:00
Brendan Eich
8f2ea46da7 Back out my last commit due to orange. 2010-04-27 20:22:57 -07:00
Nicholas Nethercote
70488c788b Update nanojit-import-rev stamp. 2010-04-27 19:46:18 -07:00
Nicholas Nethercote
3b86611069 Bug 560712 - nanojit: give immediates names when printing LIR. r=edwsmith.
--HG--
extra : convert_revision : 53522168256873ff92a5cf1668d3ef8e65a87f38
2010-04-27 18:40:51 -07:00
Edwin Smith
842b6c912b Rename LIR opcodes in Nativei386.cpp (bug 559977 r=nnethercote+)
--HG--
extra : convert_revision : 62e0adc4d69e1d2246ee9336afd555ee3f6766a0
2010-04-27 20:05:58 -04:00
Brendan Eich
cac58870b8 Use same source note offset bias/origin for both of SRC_IF_ELSE's offsets (562028, r=mrbkap). 2010-04-27 19:41:20 -07:00
David Anderson
764d88c18d Fixed clamping bug in typed arrays (bug 561813, r=vlad). 2010-04-27 19:14:08 -07:00
Nicholas Nethercote
9281bf99d1 Update nanojit-import-rev stamp. 2010-04-27 16:33:36 -07:00
Nicholas Nethercote
42510923d1 Fix ARM bustage caused by bug 555255. r=me.
--HG--
extra : convert_revision : fd2a6c5b65a0f4fd4e09fa0366a626e97850f39b
2010-04-27 15:41:17 -07:00
Nicholas Nethercote
03c04769c0 Bug 518267 - nanojit: some instructions not printed with TMFLAGS=assembly. r=edwsmith.
--HG--
extra : convert_revision : 118664704b902286b9b21a35e3a998685980066a
2010-04-27 15:31:31 -07:00
Edwin Smith
3394d89548 Rematerialize add(r,imm) operations on x64 and i386 (bug 555255 r=nnethercote+)
This patch detects when LEA can be used to rematerialize an add operation
instead of spilling it.  Sub and lsh could be supported too, if it would
help (see notes in canRematLEA()).

--HG--
extra : convert_revision : e5db9525afbc8bd03444c66d8ded420f4696dce8
2010-04-27 10:00:27 -04:00
Edwin Smith
583621bba8 Rematerialize ALU+IMM operations on ARM (bug 555255 r=jbramley+)
The ARM backend already supported single-instruction folding of immediates into
add/sub/and/or/xor instructions.  This patch enables the same instructions to
be rematerialized without spilling them.

--HG--
extra : convert_revision : c5fca9078e37d7d79f66cf6023fcbf707d11d57b
2010-04-27 09:38:27 -04:00
Jason Orendorff
5f8646753d Follow-up to rev bed748189cd0 to fix a compiler warning. r=njn via IRC. 2010-04-27 17:43:20 -05:00
timeless
e191f26d48 Bug 560138 - mismatch use of new[] with delete in CData::Create. r=dwitte 2010-04-27 14:59:53 -07:00
Mike Moening
6531928c72 Bug 549532 - Allow custom memory allocator use in spidermonkey. Part 2. r=dvander 2010-04-27 14:17:11 -07:00
Jason Orendorff
4dd095ebe7 Fix build breakage in non-threadsafe JS shell. rs=brendan on IRC.
--HG--
extra : rebase_source : e4320a71553033d06f5e8ffa62a9798db9bef3e1
2010-04-27 14:40:28 -05:00
Jason Orendorff
79a69bd910 Bug 561444 - "Assertion failure: title->ownercx == cx || title->ownercx->thread == cx->thread, at ../jslock.cpp:1414" with multiple threads. r=igor.
--HG--
extra : rebase_source : 6749f4b86999cffc1abdcad79ef45f764ba165c2
2010-04-27 12:29:45 -05:00
timeless@mozdev.org
7a6e1325ab Bug 560557 - js_SetReservedSlot should assert that the specified slot index is in range. r=jorendorff.
--HG--
extra : rebase_source : b13f176270bd3419c253b8745c00a9251f36ab76
2010-04-23 21:32:51 -05:00
Jason Orendorff
d7438ec267 In a trace-test, do not try to print jitstats. no_r=me.
--HG--
extra : rebase_source : 6447c98085459bd7fc6b215279a9d5e1870d46ba
2010-04-26 16:28:41 -05:00
timeless@mozdev.org
ca917d7197 Bug 560815 - PRIVATE_TO_JSVAL(NULL) yields warning: NULL used in arithmetic with gcc 4.2.1. r=jorendorff.
--HG--
extra : rebase_source : bbbf5e801b7ae5bc0c7c30864e487a03ddcf72fc
2010-04-23 20:17:36 -05:00
Igor Bukanov
63f9c2e3d5 bug 553033 - replacing the background free list with a vector. r=jwalden 2010-04-27 15:46:24 +02:00
Jacob Bramley
1b4d13bc74 Optimize DoubleToECMAInt32 for ARM. [Bug 551837][r=vlad] 2010-04-27 08:31:36 +01:00
Jason Orendorff
fe3e820003 Fixed assert-botch with tracer and XML objects (bug 560101, r=waldo). 2010-04-26 22:35:49 -07:00
Nicholas Nethercote
ea19cd5226 Update nanojit-import-rev stamp. 2010-04-26 22:08:05 -07:00
Nicholas Nethercote
756a66a5ce Follow-up to bug 561182: move CseFilter methods together. r=rreitmai.
--HG--
extra : convert_revision : 8632b24edcba6eb08afe5002611fbea782d1f435
2010-04-26 21:59:48 -07:00
Nicholas Nethercote
05c2de7b5b Bug 561182 - nanojit: merge LInsHashSet into CseFilter. r=rreitmai.
--HG--
extra : convert_revision : 5a687f2ed6268d873a011f13da912ebb8bfb03e4
2010-04-26 21:59:32 -07:00
Edwin Smith
069062a9f7 Fixed whitespace drift.
--HG--
extra : convert_revision : e2770eef5208a99078207d999ba2d84346651db8
2010-04-26 10:53:32 -04:00
Rick Reitmaier
f4ea1cc587 fix PPC debug-only build breakage
--HG--
extra : convert_revision : 6b99983c6b88ce05809d05e4e2b24836a1c2724e
2010-04-23 10:49:32 -07:00
Rick Reitmaier
d61f88a164 Bug 560370 - PPC cmov handling logic incorrect (r+edwsmith)
On PPC the cmov logic is generating incorrect code due to
instruction and register lifetimes are not being correctly
handled.

This patch mirrors the code used on the x86 which was fixed
a while back to address this issue.  See bug 535705

--HG--
extra : convert_revision : 8047bc5db3b14ddc3588378c7f4c6fef76de7d98
2010-04-23 09:24:00 -07:00
Edwin Smith
e927108ae7 Bug 560578 - canRemat() and asm_restore() should agree (r=nnethercote+)
Added comments clarifying the contract between canRemat() and asm_restore(),
and fixed the ARM, MIPS, PPC, and Sparc backends so canRemat() doesn't
return true for instructions that asm_restore() doesn't handle.

--HG--
extra : convert_revision : f4d4243db4cf3b8d7149012d5503c5441058f58e
2010-04-23 10:26:12 -04:00
Edwin Smith
3633f63957 Revert rename bustage in NativePPC.cpp (bug 560160 r=me)
--HG--
extra : convert_revision : cc043e6b70383762025e239896cbd70d5ece8697
2010-04-22 13:04:24 -04:00
David Anderson
dac6f52234 Don't bother tracing some elem sets yet (bug 561939, r=gal). 2010-04-26 20:29:49 -07:00
Andreas Gal
3579b2b1fb Merge. 2010-04-26 19:07:10 -07:00
Andreas Gal
492ea75049 Backed out changeset 35c25547a135 (bug 560358). 2010-04-26 19:06:51 -07:00
Nicholas Nethercote
1e5fc26c40 Bug 560774 - encapsulate array-related dslots accesses. r=brendan. 2010-04-26 18:33:36 -07:00
Dan Witte
fdcf03a939 Backing out due to bustage. 2010-04-26 15:16:05 -07:00
Mike Moening
b37862b231 Bug 549532 - Allow custom memory allocator use in spidermonkey. Part 2. r=dvander 2010-04-26 14:15:18 -07:00
Jesse Ruderman
b4e32e7695 Bug 561672 - JS_Assert should fflush(stderr). r=shaver 2010-04-26 13:50:56 -07:00
Dan Witte
774f39c786 Bug 561619 - JS CTypes has a build dependency bug. r=sayrer 2010-04-26 13:26:53 -07:00
Luke Wagner
ef023c4ec7 Bug 560798 - propagate errors from deep-aborted natives (r=gal) 2010-04-26 09:30:06 -07:00
Boris Zbarsky
bf168b819d Bug 556830 followup to fix debug bustage 2010-04-26 11:15:33 -04:00
Boris Zbarsky
f66b8a1342 Bug 556830 part 2. Fill the propcache even if we start the lookup on a Call whose parent is the global the property is on. r=jorendorff 2010-04-26 10:06:30 -04:00
Boris Zbarsky
d319faf7ba Bug 556830 part 1. Change things so a bindname resolve of a global property won't define it on the window in ES5 strict mode. r=jorendorff 2010-04-26 10:06:25 -04:00
Ginn Chen
691ed684d6 Bug 560017 Failed build js/src/jsgcchunk.cpp on Solaris r=jimb 2010-04-26 14:17:29 +08:00
Andreas Gal
92692442a2 optimize JSON stringify. bug 561592. r=dvander 2010-04-25 08:51:05 -04:00
Igor Bukanov
45a0a3043e bug 560471 - followup to fix restoration of weak roots 2010-04-24 20:35:50 +02:00
Robert Sayre
27452b9484 Bug 560650 - TM: json code should use JS_Enumerate. r=gal 2010-04-24 14:18:10 -04:00
Robert Sayre
0f0d2ffdf7 Merge mozilla-central to tracemonkey. 2010-04-24 12:56:26 -04:00
Robert Sayre
28b49c1237 Someone should teach me to write JavaScript. Really fix busted test from Bug 558830 - Trace script getters. 2010-04-24 12:09:16 -04:00
Robert Sayre
784972fd0a Fix busted test from Bug 558830 - Trace script getters. 2010-04-24 11:55:10 -04:00
Andreas Gal
3b9cb33abc Merge. 2010-04-23 20:49:28 -07:00
Andreas Gal
df7122d975 backing out clean up bug 560167 due to massive conflicts with the iterator patch 2010-04-23 20:49:06 -07:00