Commit Graph

8999 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