Commit Graph

32193 Commits

Author SHA1 Message Date
David Anderson
3ae21db572 Fixed regex LIR to be x64 compliant (bug 514548, r=lw). 2009-09-09 15:53:26 -07:00
David Anderson
fbf123ad5b Fixed uninitialized variable in nanojit ARM backend (bug 515493, r=gal). 2009-09-09 15:45:18 -07:00
Jason Orendorff
25a80d6547 Fix a leak valgrind finds in jsapi-tests/testXDR.cpp. No bug, too trivial for a review, no_r=me. 2009-09-09 16:51:46 -05:00
Jason Orendorff
e170e4b573 Bug 511728 - Misc. cleanup from bug 503080. r=igor.
--HG--
extra : rebase_source : f4b7b385bbece2316912ce67c77a49ac8fca6e5c
2009-09-09 15:53:37 -05:00
Julian Seward
b8505fdfae Bug 514647 - Fix space leaks in JS shell, r=gal.
--HG--
extra : rebase_source : 33073aa3fa68c69adaaf3516dc568b691a6573b5
2009-09-09 14:21:18 -07:00
Jason Orendorff
500dba18ba Fix typo in inArrayTest.js introduced in changeset ff4821569605. No bug#. r=orange. 2009-09-09 16:12:51 -05:00
Graydon Hoare
c49ca202b2 Bug 511938 - Fix up recently-invalidated assertion, r=dvander. 2009-09-09 11:36:24 -07:00
David Anderson
daf1fa4dbe Fixed LIR_ret/asm_ret on ARM (bug 515290, r=gal,vlad). 2009-09-09 12:55:17 -07:00
Andreas Gal
09f4fc3f88 Merge. 2009-09-09 12:53:11 -07:00
Andreas Gal
bb688e13fe Backed out changeset 5c7fbeed8f96 (bug 515290, accidentally committed unrelated changes with the bug). 2009-09-09 12:52:58 -07:00
David Mandelin
512c25cdc4 Bug 504797 extra bit: newly required include in jsfun.cpp, no_r=me 2009-09-09 11:46:32 -07:00
David Mandelin
a8c3972f23 Bug 504797: give arguments objects created on trace a private value that can be used to look up argument values in the native stack, r=gal 2009-09-09 11:40:21 -07:00
David Anderson
e0f904df58 Added LIR_ov and full cmov support to x64 backend (bug 514496, r=rreitmai). 2009-09-09 11:19:12 -07:00
David Anderson
22a1120a3e Added LIR helpers for x64 code generation (bug 514532, r=edwsmith). 2009-09-09 11:15:48 -07:00
David Anderson
01362958c6 Added LIR_ldcb and LIR_ldcs to x64 backend (bug 514586, r=rreitmai). 2009-09-09 10:58:24 -07:00
Brendan Eich
ed3daf20b0 My first jsapi test (515273, rs=Waldo). 2009-09-08 21:28:51 -07:00
danderson@mozilla.com
b29acb6983 Fix asm_ret on ARM (515290, r=gal,vlad). 2009-09-08 20:23:53 -07:00
Nicholas Nethercote
21dbf49f8b Bug 515138 - TM/nanojit: merge the two StackFilter passes. r=gal. 2009-09-09 11:48:30 +10:00
Brendan Eich
e1ca08f794 Avoid wildman storage-punning hacks for non-unit static strings (515273, r=gal/gwagner). 2009-09-08 17:46:02 -07:00
Julian Seward
cf806f6974 Bug 513407 - NJ: fold out (x == y) ? x : y and (y == x) ? x : y. r=gal. 2009-09-09 10:25:16 +10:00
David Anderson
7b69388035 Fixed a hack that created temporarily ill-typed LIR, i2f(i2f) (bug 503427, r=gal). 2009-09-08 16:47:55 -07:00
Nicholas Nethercote
6ee8551d7d Bug 512824 - TM: gcc complains about invalid aliasing in LIR.h. r=gal. 2009-09-09 09:18:41 +10:00
Andreas Gal
c14bc4a8fc Use align attribute since GCC seems to ignore the pack pragma on ARM (515248, r=brendan). 2009-09-08 14:55:30 -07:00
Brendan Eich
551a7b73b6 Use pragma pack for static strings (trying to clear orange; r=gal). 2009-09-08 13:18:59 -07:00
Brendan Eich
809ce29270 Cope with null tvr string refs (515000 followup, r=self). 2009-09-07 21:08:31 -07:00
Nicholas Nethercote
65a88a5c2c Bug 514625 - nanojit: kill AR::highwatermark. r=edwsmith. 2009-09-08 09:11:53 +10:00
Brendan Eich
7a412f40b3 JSTempValueRooter JSTVU_SINGLE over-constrains GC-thing against static allocation (515000, r=gal). 2009-09-07 00:35:27 -07:00
Jeff Walden
949fac944e Missed a test updating for bug 514603, thanks to bc for pointing it out 2009-09-06 21:41:40 -07:00
Brendan Eich
aea922b775 Zim got the bug, man! (514971, r=gal). 2009-09-06 18:15:16 -07:00
Brendan Eich
115e07166f I bust myself back to private, like Sgt. Zim in 'Starship Troopers', in order to fight bugs hand-to-hand with no claim to higher rank (514971, r=gal). 2009-09-06 17:59:17 -07:00
Jeff Walden
036565d094 Update tests that now (correctly) fail in response to the fixing of bug 514603 (also, brendan-conflicts on a holiday Sunday afternoon, grumble grumble mutter mutter ;-) ) 2009-09-06 12:27:28 -07:00
Brendan Eich
9ee946f5e6 Fix script JSUpvarsArray allocation to avoid misaligning other members (514645, r=igor). 2009-09-06 12:05:51 -07:00
Brendan Eich
725051d58f Fix bogus assertion from bug 510644 (514943, r=self). 2009-09-06 11:56:26 -07:00
Brendan Eich
efeb782ab4 Followup to fix assertion that walks into strong assertions in fix for bug 514819. 2009-09-05 23:41:52 -07:00
Brendan Eich
098462c563 Check (without regressing hot paths) where needed to avoid treating static JSStrings like gc-things in the heap (514819, r=gal). 2009-09-05 21:48:30 -07:00
gwagner@mozilla.com
baca785d37 Prefer unit strings over integer strings for [0..9] in NumberToString (514884, r=gal). 2009-09-05 20:24:42 -07:00
Igor Bukanov
6bfe4771cc bug 513190 - avoiding jsint tagging of the private slot data. r=jorendorff 2009-09-05 19:59:11 +04:00
Jesse Ruderman
6b6f0e013c Add trace-test for bug 465902 2009-09-04 22:50:49 -07:00
Brendan Eich
2b439c7885 Use class statics for the unit and int string tables (513530 followup, r=gwagner). 2009-09-04 18:04:14 -07:00
David Anderson
0650a2788b LIR sanity checker from tamarin-redux (bug 514503, r=gal,edwsmith). 2009-09-04 17:56:22 -07:00
Brendan Eich
b347b52323 Minimal fix for latent js_InferFlags bug where TR::snapshot calls js_InferFlags on arbitrary ops (514790, r=gal). 2009-09-04 17:47:23 -07:00
Luke Wagner
dbc9bb4660 Moved tests in js/src and js/src/correct to trace-tests (r=jorendorff)
--HG--
rename : js/src/call.js => js/src/trace-test/tests/basic/call2.js
rename : js/src/correct/check-3d-morph.js => js/src/trace-test/tests/sunspider/check-3d-morph.js
rename : js/src/correct/check-3d-raytrace.js => js/src/trace-test/tests/sunspider/check-3d-raytrace.js
rename : js/src/correct/check-access-binary-trees.js => js/src/trace-test/tests/sunspider/check-access-binary-trees.js
rename : js/src/correct/check-access-fannkuch.js => js/src/trace-test/tests/sunspider/check-access-fannkuch.js
rename : js/src/correct/check-access-nbody.js => js/src/trace-test/tests/sunspider/check-access-nbody.js
rename : js/src/correct/check-access-nsieve.js => js/src/trace-test/tests/sunspider/check-access-nsieve.js
rename : js/src/correct/check-bitops-3bit-bits-in-byte.js => js/src/trace-test/tests/sunspider/check-bitops-3bit-bits-in-byte.js
rename : js/src/correct/check-bitops-bits-in-byte.js => js/src/trace-test/tests/sunspider/check-bitops-bits-in-byte.js
rename : js/src/correct/check-bitops-bitwise-and.js => js/src/trace-test/tests/sunspider/check-bitops-bitwise-and.js
rename : js/src/correct/check-bitops-nsieve-bits.js => js/src/trace-test/tests/sunspider/check-bitops-nsieve-bits.js
rename : js/src/correct/check-controlflow-recursive.js => js/src/trace-test/tests/sunspider/check-controlflow-recursive.js
rename : js/src/correct/check-date-format-tofte.js => js/src/trace-test/tests/sunspider/check-date-format-tofte.js
rename : js/src/correct/check-date-format-xparb.js => js/src/trace-test/tests/sunspider/check-date-format-xparb.js
rename : js/src/correct/check-mont.js => js/src/trace-test/tests/sunspider/check-mont.js
2009-09-04 16:40:45 -07:00
Andreas Gal
27381a9ab1 Reset nativeVp only after the native call returns (513981, r=mrbkap). 2009-09-04 17:00:08 -07:00
Luke Wagner
28a6837fd4 Build fix for bug 513530, trailing enum comma. 2009-09-04 16:52:20 -07:00
Gregor Wagner
0becd3863d dvander missed part of the patch (bug 513530). 2009-09-04 16:43:28 -07:00
David Anderson
e6a431e6ae Merge. 2009-09-04 16:29:40 -07:00
Gregor Wagner
2e1104b40f Cache result of Number2String (bug 513530, r=brendan). 2009-09-04 16:28:30 -07:00
Brendan Eich
fd61e1b61a Fix imacro vs. script code disassembly/decompilation confusion (510644, r=jorendorff). 2009-09-04 16:27:17 -07:00
Gregor Wagner
cf62469ed2 Fast path for js_StringToInt32 if string length is 1 (bug 514267, r=brendan). 2009-09-04 16:26:08 -07:00
Jeff Walden
bb3a9524fa Bug 514603 - ES5: (function(){}).propertyIsEnumerable("prototype") should be false, not true. r=brendan 2009-09-04 02:16:05 -07:00