Commit Graph

10610 Commits

Author SHA1 Message Date
Brian Hackett
1ddca3c75a Improved JM call path, bug 587707. r=lw,dvander 2010-09-29 06:27:34 -07:00
Ginn Chen
0d4212e997 Bug 594718 fix typo in last commit 2010-09-29 14:22:28 +08:00
Nicholas Nethercote
903d2fb43b merge 2010-09-28 22:39:44 -07:00
Nicholas Nethercote
1011a3dade Backed out changeset 7e831598f812 due to tinderbox oranges. 2010-09-28 22:39:19 -07:00
Nicholas Nethercote
35f835d391 Update nanojit-import-rev stamp. 2010-09-28 22:38:48 -07:00
Nicholas Nethercote
4119caf76d Backed out changeset 2e21c25656ee due to tinderbox oranges.
--HG--
extra : convert_revision : ce381ce50f62501ae385870d1328df73e68d7a27
2010-09-28 22:36:32 -07:00
Nicholas Nethercote
f914345ea4 Bug 600127 - nanojit: do implicit constant propagation after guards (TM-specific part). r=gal. 2010-09-28 21:58:17 -07:00
Nicholas Nethercote
bc0fec7e4a Update nanojit-import-rev stamp. 2010-09-28 21:35:49 -07:00
Nicholas Nethercote
f2133a680f Bug 600127 - nanojit: do implicit constant propagation after guards. r=edwsmith.
--HG--
extra : convert_revision : 2e21c25656ee7367520468cf37ccb23d989ee7f7
2010-09-28 21:07:43 -07:00
Nicholas Nethercote
e8626d0e45 Return a non-zero exit code from testlirc.sh when a test fails so that failures show up orange on tinderbox. r=me.
--HG--
extra : convert_revision : 055c46c2e4f7d6402c3ed91891b8851b4df2aafc
2010-09-28 16:36:19 -07:00
David Anderson
2804cac937 Fix closed-name analysis in with-statements (bug 593556, r=brendan).
--HG--
extra : rebase_source : 3ca35ee12087fe262ec147d571900fb94e809979
2010-09-28 21:09:21 -07:00
David Mandelin
f43643b503 Bug 599400: handle recompiling top-level script for debugging, r=dvander
--HG--
extra : rebase_source : c74cc4bb3291e9c35c28066378cb1ece852869d2
2010-09-28 18:39:45 -07:00
Nicholas Nethercote
4793afb76c Bug 600153 - TM: fix storeAccSet for functionProbe(). r=sphink. 2010-09-28 18:00:07 -07:00
Sean Stangl
870953b461 Fix rsh, storeTo() allocReg() usage. b=596817, r=dvander. 2010-09-28 20:06:12 -04:00
David Anderson
b0758d297b Fix addprop IC proto guards not being repatched (bug 599299, r=bhackett). 2010-09-28 09:53:16 -07:00
Ginn Chen
c23cb1789b Bug 594718 lock_sparc*.il should not be used on x86 machine r=ted.mielczarek 2010-09-28 18:03:51 +08:00
Ginn Chen
5b67866f99 Bug 584305 Define no extern "C" version ObjectOps to fix build issue with Solaris Studio r=brendan 2010-09-28 17:59:25 +08:00
Brendan Eich
1b78aa968a Style policing: else-after-break, bracing, un-nest assignment (initialize decl instead), etc. (r=gal). 2010-09-28 03:16:59 -04:00
Nicholas Nethercote
a91823b958 Update nanojit-import-rev stamp. 2010-09-27 20:58:59 -07:00
Nicholas Nethercote
7d32b0e525 Bug 598486 - nanojit: clarify semantics of comparisons. r=edwsmith.
--HG--
extra : convert_revision : 2c8245cb9048cc79ca561ec7a7b014249788247c
2010-09-26 22:36:16 -07:00
Nicholas Nethercote
a9ecc87093 599245 - nanojit: clean up formatting in Nativei386.cpp. r=stejohns.
--HG--
extra : convert_revision : f7b8497b9f0ac1d01d0a86ba7e28c812e6ea8140
2010-09-26 16:47:10 -07:00
Edwin Smith
52ea68fee4 Bug 572798 - add LIR_callv (r=nnethercote)
Adds LIR_callv for calls to helper functions that return void.

Added a ValidateWriter check that LIR_callv to be paired with ARGTYPE_V,
plus checks for the other obvious pairings, plus a check that callv must
not call a _pure=1 function.

getCallOpcode() returns LIR_callv for ARGTYPE_V, as expected.  This means that
some calls will return LTy_V from LIns::retType(), as expected, but unlike
before.  This in turn can cause a ValidateWriter error if an instruction uses
the result of a void call.  (after all, that's the point).

Each backend was modified to not assign a register or save the result of a void
call.

--HG--
extra : convert_revision : f1076b3fa633922ce95c24ac622934be4815376d
2010-09-23 15:08:15 -04:00
Jacob Bramley
64beede2e2 Add more calling-convention tests. [Bug 596545] [r=nnethercote]
--HG--
extra : convert_revision : 8ac6775d9ccfbff39975cc45c060ce4555f5b221
2010-09-23 10:31:16 +01:00
David Anderson
d8da9157cd Fixed bogus assert (bug 597871 fallout, a=orange). 2010-09-27 20:21:11 -07:00
Andreas Gal
427173403d Fix extra ';' warning (fallout bug 600015). 2010-09-27 18:37:37 -07:00
Andreas Gal
5f2192e25d Follow-up for bug 600015. Incorrect use of SwitchToCompartment. 2010-09-27 18:31:32 -07:00
David Anderson
6e64d4a13b Fix exception handling inside trace and method JIT integration (bug 597871, r=jorendorff, a=blocking). 2010-09-27 09:02:08 -07:00
Nicholas Nethercote
2f1f144989 Bug 599254 - Avoid an unnecessary switch in the JSON parser. r=sayrer. 2010-09-27 17:20:43 -07:00
Andreas Gal
1649ef6d21 Always create a dummy stack frame when crossing compartment boundaries (bug 600015, r=mrbkap). 2010-09-27 15:55:15 -07:00
Gregor Wagner
02421e6aa4 Bug 599801 - TM: Clean up Compartment (de)construction. r=sayrer 2010-09-27 15:35:10 -07:00
Luke Wagner
257e802dc5 Bug 599446, part 2 - Add missing case for non-function callees to assert (a=orange)
--HG--
extra : rebase_source : a5eba024dae5c431af7817aa92c37744bef08db7
2010-09-27 13:09:48 -07:00
Igor Bukanov
97f9c90ef3 bug 586161 - making sure that all compartments are purged. r=anygregor 2010-09-27 14:29:01 +02:00
Luke Wagner
7a7f4e847c Bug 599446 - Weaken bug-finding assert in CallJSNativeConstructor (r=brendan,a=sayrer) 2010-09-24 12:54:13 -07:00
David Anderson
afd2405222 Backed out changeset 63066ec9dd8d (a=orange). 2010-09-27 11:46:03 -07:00
David Anderson
d5f3d53b7f Fix exception handling inside trace and method JIT integration (bug 597871, r=jorendorff, a=sayrer). 2010-09-27 09:02:08 -07:00
Robert Sayre
2624f5cf36 Merge mozilla-central to tracemonkey. 2010-09-26 12:49:11 -04:00
Robert Sayre
ceb91cdc61 Remove useless comment. 2010-09-25 23:05:36 -04:00
Andreas Gal
78d0ee549c Optimize XML namespace handling. Bug 599166. r=brendan. a=sayrer 2010-09-24 15:23:54 -04:00
Robert Sayre
6bb82f6b8b Merge mozilla-central to tracemonkey. 2010-09-23 23:48:27 -04:00
David Anderson
8925f45747 Do not inline js::mjit::TryCompile (bug 596460, r=sstangl).
--HG--
extra : rebase_source : 06796a4e840e72a14d2648ec2ed99427edd16c05
2010-09-23 17:41:21 -07:00
Robert Sayre
70421a2fb5 Merge tracemonkey to mozilla-central. a=blockers. 2010-09-23 20:09:54 -04:00
Chris Leary
a9624ec341 Back out b70659aca040, burning XPCShell tests. (no_r=me) 2010-09-23 16:48:35 -07:00
Andreas Gal
bbf6e6f58d Backed out changeset 52c66b17843e (bug 592907). 2010-09-23 16:21:37 -07:00
Gregor Wagner
f52995be1c Bug 592907 - TM: set JSGC_MAX_BYTES to a sane value (r=igor) 2010-09-23 15:31:32 -07:00
Chris Leary
203741ee8e Bug 596580: fix versioning on mozJSSubScriptLoader. (r=sayrer,brendan)
--HG--
extra : rebase_source : fb2fe804a3f94bc9d6947605ce0e0c19a29b2227
2010-09-23 14:48:58 -07:00
David Anderson
e6ef191c40 Optimize FrameState for large linear scripts (bug 591836, r=dmandelin).
* * *
Remove FrameState::base (bug 591836 part 1, r=dmandelin).
* * *
New register pinning invariants (bug 591836 part 2, r=dmandelin).
* * *
Remove FrameState::tosFe() (bug 591836 part 3, r=dmandelin).
* * *
New copy order invariant (bug 591836 part 4, r=dmandelin).
* * *
Optimize immutable frame syncing (bug 591836 part 5, r=dmandelin).
* * *
Optimize frame merging (bug 591836 part 6, r=dmandelin).
* * *
Optimize copying frame entries (bug 591836 part 7, r=dmandelin).
* * *
Optimize mutable frame syncing (bug 591836 part 8, r=dmandelin).
* * *
Optimize syncing in try blocks (bug 591836 part 9, r=dmandelin).
2010-09-21 18:34:42 -07:00
Igor Bukanov
b8792e95c1 bug 597736 - fixing TreeFragment leak. r=gal 2010-09-21 14:58:19 +02:00
Brian Hackett
944cb69b95 Fix assert when comparing identical values, bug 599488. r=dvander 2010-09-25 10:47:19 -07:00
Igor Bukanov
bd21beac91 bug 599481 - static string tables should be constant. r=alangpierce 2010-09-25 00:36:58 +02:00
Brendan Eich
ac27a6ce80 Fix patch merge problem that restored bad old script line for 597945-1.js. 2010-09-25 17:16:35 +02:00
Igor Bukanov
b0d9b068e1 bug 558861 - followup to add missing explicit template instantiations for assureThingIsAligned 2010-09-25 11:42:25 +02:00
Brendan Eich
4244210552 Object.defineProperty should avoid JS API inside engine, plus a few other cleanups (598176, r=jorendorff). 2010-09-16 23:07:02 -07:00
Makoto Kato
65a42553b6 Bug 597814 - Optimize js_DoubleToECMAInt32 for MSVC and gcc x86_64. r=dvander 2010-09-24 20:19:43 -04:00
Gregor Wagner
3bb62ab91b Bug 558861 - Fix assertion on startup. r=gal 2010-09-24 15:07:02 -07:00
Blake Kaplan
5b4e5f75d1 No bug. Fix some nits and warning fixes. 2010-09-24 15:05:46 -07:00
Sean Stangl
0609c2fcec Templatize MethodJIT Assemblers. b=598835, r=dvander. 2010-09-24 17:12:08 -04:00
Gregor Wagner
fdb731becb Bug 558861 - Compartmental GC (r=gal) 2010-09-24 10:54:39 -07:00
Brendan Eich
c27e88caa4 Fix shape vs. slot management under putProperty, plus related layering and error reporting fixes (596805, r=jorendorff). 2010-09-16 11:56:54 -07:00
Robert Sayre
2ae5db2ff0 Fix test_canvas.html mochitest. Using preventExtensions on a huge typed array is a bad idea right now. Bug 598969. r=brendan 2010-09-23 13:56:11 -04:00
Nicholas Nethercote
125d4d111e Update nanojit-import-rev stamp. 2010-09-22 19:26:04 -07:00
William Maddox
9ab7c2a331 Bug 542905 - cse chains should be cleared more selectively in case of labels. r=nnethercote.
--HG--
extra : convert_revision : 3cdd8540979dda01630e0676b273250311e26284
2010-09-22 19:04:48 -07:00
Sean Stangl
633fc2cc7c Fix incorrect jsval_layout on x86 opt builds. no_r=fire. 2010-09-22 21:44:23 -04:00
Sean Stangl
1e56b6d6de Faster x64 Value storing; b=598491, r=dvander. 2010-09-22 21:03:22 -04:00
David Anderson
126a9558ea Merge backout. 2010-09-22 17:41:14 -07:00
David Anderson
2e9af3ac56 Backed out changeset 1af8f0c895bc from PGO bustage 2010-09-22 17:40:31 -07:00
Brendan Eich
72dd2a80e0 Warning fix from Luke (no bug, r=me). 2010-09-22 18:51:50 -04:00
David Anderson
9177721d82 Fix method-JIT debug mode bugs and add more testing capability (bug 598444, r=sstangl). 2010-09-22 14:29:48 -07:00
David Anderson
2055a5d505 Fix FrameState::forgetType with eval (bug 598696, r=sstangl). 2010-09-22 11:15:34 -07:00
Chris Leary
a042240626 Bug 593663: emulate flat regexps in three-argument String.prototype.replace. (r=lw) 2010-09-22 10:27:38 -07:00
David Anderson
8421061eb5 Optimize FrameState for large linear scripts (bug 591836, r=dmandelin).
* * *
Remove FrameState::base (bug 591836 part 1, r=dmandelin).
* * *
New register pinning invariants (bug 591836 part 2, r=dmandelin).
* * *
Remove FrameState::tosFe() (bug 591836 part 3, r=dmandelin).
* * *
New copy order invariant (bug 591836 part 4, r=dmandelin).
* * *
Optimize immutable frame syncing (bug 591836 part 5, r=dmandelin).
* * *
Optimize frame merging (bug 591836 part 6, r=dmandelin).
* * *
Optimize copying frame entries (bug 591836 part 7, r=dmandelin).
* * *
Optimize mutable frame syncing (bug 591836 part 8, r=dmandelin).
* * *
Optimize syncing in try blocks (bug 591836 part 9, r=dmandelin).
2010-09-21 18:34:42 -07:00
Nicholas Nethercote
f2c3780ce4 Update nanojit-import-rev stamp. 2010-09-21 16:06:08 -07:00
Nicholas Nethercote
17899a7415 Fix assertion failure caused by the patches for bug 575529. r=me.
--HG--
extra : convert_revision : 59df8fdb2c08cca47a47b2a5210022cea0180fd3
2010-09-21 15:59:57 -07:00
William Maddox
842155af2a Whitespace cleanup, nanojit subdir only (r=me)
--HG--
extra : convert_revision : a623aab958efda06d12eca456304fc674c92a589
2010-09-21 15:20:20 -07:00
William Maddox
7a787678c4 Bug 598151 - Account for unreachable code following LIR_j when tracking x87 stack depth
--HG--
extra : convert_revision : 4becc719d20e27c65f64ed872ab3cb7bd08c8c68
2010-09-21 14:35:11 -07:00
Tommy Reilly
53d6d47f23 Fix valgrind errors from CPP define already defined (r=edwsmith)
--HG--
extra : convert_revision : aaa4e162e47e7b05cf6c04a51975f6a4042c604c
2010-09-17 14:35:49 -04:00
Steve Fink
6a33041b03 Bug 583143 - Fix bustage with MOZ_TRACEVIS and other NPOTB code (r=lw) 2010-09-20 12:43:52 -07:00
Brian Hackett
8e78085545 Fix strict-aliasing warning on interruptFlags/interruptCounter, bug 589193. r=igor 2010-09-21 14:29:11 -07:00
David Anderson
52761821cf Fix global variables overwriting resolved properties (bug 595917, r=brendan). 2010-09-21 12:38:30 -07:00
Jim Blandy
9b88f70086 Bug 492845: Implement Object.isSealed, Object.seal. a=jwalden, r=brendan 2010-09-21 11:35:30 -07:00
Jim Blandy
accd8966fa Bug 492844: Implement Object.freeze, Object.isFrozen r=brendan,jorendorff
This also moves ecma_5/strict/shell.js's deep_equal to ecma_5/shell.js, and
renames it deepEqual, for consistency with the rest of the world. It also improves deepEqual's handling of -0, 0, and NaN.
2010-09-21 11:35:29 -07:00
Jim Blandy
96d7c2007b Bug 492849 - Implement Object.preventExtensions, Object.isExtensible. a=waldo,jimb, r=brendan
--HG--
rename : js/src/jsapi-tests/testSeal.cpp => js/src/jsapi-tests/testDeepFreeze.cpp
2010-09-21 11:35:29 -07:00
Jim Blandy
ad83424ea2 Bug 594574: Change GetPropertyNames to take its out-parameter by address, not by non-const reference. r=brendan 2010-09-21 11:35:29 -07:00
Igor Bukanov
dfd669fcf1 bug 597906 - js shell: functions to observe object finalization. r=jorendorff 2010-09-20 15:55:58 +02:00
Ginn Chen
c082ddcc6b Bug 597976 Make it able to build TraceJIT w/o MethodJIT r=dvander 2010-09-21 16:12:20 +08:00
Ginn Chen
a57ebc8842 Bug 597828 Implement setSSECheckState for Solaris Studio compiler r=dvander 2010-09-21 15:56:56 +08:00
Ginn Chen
1adbef9029 Bug 597831 Update TrampolineSUNW*.s r=dvander 2010-09-21 15:56:28 +08:00
Luke Wagner
656da172a8 Bug 595668 - create XPCCallContext in XPC_NW_Construct (r=mrbkap)
--HG--
extra : rebase_source : a9fb4a39b56af90045f6055d31354c61cbc97a0d
2010-09-20 18:23:04 -07:00
Brendan Eich
adfba421c2 Fix slot leak that leads to allocSlot assert botch (597945, r=jorendorff). 2010-09-21 00:04:25 -07:00
Nicholas Nethercote
5903259553 merge 2010-09-20 22:16:07 -07:00
Robert Sayre
7cdfad2571 Merge backout. 2010-09-21 00:44:35 -04:00
Robert Sayre
031267d073 Back out changeset d7d3c0af2877. Brendan Eich – Fix slot leak that leads to allocSlot assert botch (597945, r=jorendorff). 2010-09-21 00:44:17 -04:00
Nicholas Nethercote
c64731897d Bug 575529 - TM: use interval analysis to remove more overflow checks (TM-specific part). r=gal. 2010-09-20 21:37:53 -07:00
Nicholas Nethercote
49883fd9ff Update nanojit-import-rev stamp. 2010-09-20 21:36:35 -07:00
Nicholas Nethercote
ef16f085cd Bug 575529 - TM: use interval analysis to remove more overflow checks. r=edwsmith,jseward.
--HG--
extra : convert_revision : 8f99b0ecb75811b021be0e91e20fd97c87c290ba
2010-09-20 20:33:29 -07:00
Nicholas Nethercote
1b30aac347 Update nanojit-import-rev stamp. 2010-09-20 17:35:11 -07:00
Brendan Eich
2f94ccfb1e Fix slot leak that leads to allocSlot assert botch (597945, r=jorendorff). 2010-09-20 15:21:41 -07:00
Brian Hackett
0d369b900f Add interruptCounter to JSRuntime for JM, bug 589193. r=igor,dvander 2010-09-20 16:21:49 -07:00
Brian Hackett
066d48b6b6 Backed out changeset 09ffb30caa47 2010-09-20 12:05:21 -07:00
Brian Hackett
e8819f33fa Make JSObject flexible length, bug 584917. r=brendan 2010-09-20 11:40:32 -07:00
Robert Sayre
bc3486afdf Merge 2010-09-20 11:10:00 -04:00
Brendan Eich
95d5ebd4d3 Fix bogus assertion: "!shape->inDictionary()" (only if not shape->frozen(); 592217, r=jorendorff). 2010-09-20 08:01:06 -07:00
Jacob Bramley
55cbf97a18 Fix long-range offsets on ARM. [Bug 596923] [r=nnethercote]
--HG--
extra : convert_revision : 9b1829d9cfe6fa074f308cf84bd9fe4c43b7a46e
2010-09-20 07:58:53 +01:00
Brendan Eich
b0a31f8bcb Fix test for 597870 (CLOSED TREE). 2010-09-19 22:04:16 -07:00
Brendan Eich
0134ef3da3 Fix decompiler LHS -> RHS special cases switch to cover JSOP_SETXMLNAME (597870, r=igor; CLOSED TREE). 2010-09-19 16:24:13 -07:00
Robert Sayre
739e81c33b Merge mozilla-central to tracemonkey. 2010-09-19 15:59:10 -04:00
Igor Bukanov
74d6525584 bug 597654 - PurgeScriptFragments must do its job even with jit disabled. r=gal 2010-09-18 11:44:22 +02:00
Makoto Kato
c93588f2e2 Bug 597288 - alignment on call stack isn't 16byte on x86_64 CPU. r=dvander 2010-09-19 00:06:26 +09:00
Chris Leary
402dc1f5d2 Bug 596502: unbreak XML parsing on JS1.6 and onwards. (r=brendan) 2010-09-18 00:31:36 -07:00
Jacob Bramley
e771011d46 Remove dependency on Bash 3 regex support and simplify test selection for soft-float platforms. [Bug 535709] [r=nnethercote]
--HG--
extra : convert_revision : 10432e19f751b78f39991b15e60686c7d78226bb
2010-09-16 16:27:45 +01:00
Brendan Eich
2253bb99d7 Don't recycle class-reserved slots onto a dictionary table's freelist (595230, r=jorendorff). 2010-09-14 17:08:16 -07:00
David Anderson
1eb18e8c61 Compile JSOP_HOLE, JSOP_CONDSWITCH (bug 597452, r=sstangl).
--HG--
extra : rebase_source : 7e4ee290322b071cd50e1bb21bf5722ac3d0c0d0
2010-09-17 11:35:01 -07:00
Sean Stangl
86f33eea9f Use loadValueAsComponents() for faster loading on x64. b=587444, r=dvander. 2010-09-17 14:13:13 -04:00
David Anderson
7556886c23 Compile JSOP_IN (bug 594111, r=dmandelin). 2010-09-17 10:41:29 -07:00
Jason Orendorff
38d63ffa56 Back out changeset a8252fe3f211 due to turning everything orange. 2010-09-16 20:58:40 -07:00
Jason Orendorff
31cfa81e35 Bug 580033 - JS_Save/RestoreFrameChain should update cx->compartment. r=mrbkap.
--HG--
extra : rebase_source : 717f7f4d4f3e6e96955cbb1ddb8ca9e1533914f7
2010-09-16 17:29:21 -07:00
David Anderson
3bced69ba2 Fix instanceof with bound functions (bug 597167, r=brendan). 2010-09-16 19:31:11 -07:00
David Anderson
4c55c224e5 Compile JSOP_DELNAME (bug 597137, r=dmandelin). 2010-09-16 17:26:32 -07:00
David Anderson
c4431d1a07 Compile JSOP_DEFVAR (bug 594117, r=dmandelin). 2010-09-16 17:25:38 -07:00
David Mandelin
c1def1ffa6 Bug 596460: try making Interpret not inlined to avoid stack frame bloat in other functions, r=dvander 2010-09-16 15:20:56 -07:00
David Anderson
699ebd405b Compile JSOP_DELPROP, JSOP_DELELEM (bug 578736, r=dmandelin). 2010-09-16 12:13:25 -07:00
Blake Kaplan
7418b836b8 Fix warning. No bug. rs=jorendorff
--HG--
extra : rebase_source : 00de9de8537125213dd43420511c449c2ee77167
2010-09-16 11:51:54 -07:00
Nicholas Nethercote
ced06e86bf Bug 595728 - nanojit: clarify semantics of shift operations. r=edwsmith.
--HG--
extra : convert_revision : 2a75fed5283f0efb625b10d20db007ad6bfe849a
2010-09-13 10:59:56 -07:00
Edwin Smith
9e20f0f9b8 Fix whitespace in NativeSH4.cpp
--HG--
extra : convert_revision : 0f7bd7152883172e03a84e17d3bbf7ddbdb2439f
2010-09-13 09:29:56 -04:00
Edwin Smith
8c1f52860f Bug 590553 - asm_ui2d on x86 generates illegal writes below ESP, caught by valgrind (r=nnethercote)
--HG--
extra : convert_revision : 4829136085669a40d0bf61721e5cdd43a9696fc1
2010-09-13 09:13:44 -04:00
Justin Lebar
b72054ea9c Bug 571289 - Don't use nsScriptSecurityManager off the main thread. r=mrbkap, a2.0=blocking
--HG--
extra : rebase_source : 2d945cee865472804ed3aff78af237a60f5a19d4
2010-09-17 14:44:53 -07:00
Justin Lebar
b3d081ede5 Bug 593116 - Use -fomit-frame-pointer when compiling jsinterp.c. r=ted, a2.0=sayrer
--HG--
extra : rebase_source : 811ba3d12c513ee8fe8d16a3557ce01e4a8f2504
2010-09-10 11:45:15 -07:00
Masatoshi Kimura
d6b46ad3d3 Add support for CL_INCLUDES_PREFIX environment variable for handling localized cl.exe /showIncludes output. (Bug 587372) r=ted a2.0=blocking2.0:final 2010-09-17 12:29:52 -07:00
David Anderson
a02b95d42d Fix global variables overwriting resolved properties (bug 595917, r=brendan, a=blocking). 2010-09-21 12:38:30 -07:00
Luke Wagner
604b7b661f Bug 595668 - create XPCCallContext in XPC_NW_Construct (r=mrbkap) 2010-09-20 18:23:04 -07:00
Brendan Eich
731ad72609 Fix slot leak that leads to allocSlot assert botch (597945, r=jorendorff). 2010-09-21 00:04:25 -07:00
Mark Banner
9ab0271494 Bug 598279 - Building Javascript as shared library broken wrt xpconnect: xpcjsruntime.cpp:806: undefined reference to 'js::TriggerOperationCallback(JSContext*)'; r=igor,a=bustage fix for shared JS library builds, e.g. non libxul 2010-09-21 13:59:55 +01:00
Robert Sayre
9a254c625e Merge tracemonkey to mozilla-central. a=blockers 2010-09-21 01:11:46 -04:00
Jacob Bramley
d3f59acb53 Quick fix for non-EABI (Windows Mobile) bug introduced in 49a8ed180ad0. [Bug 535709] [r=me]
--HG--
extra : convert_revision : 7b43473880200943d0362c5eab2e957e23414f45
2010-09-09 08:55:27 +01:00
William Maddox
e7c286a259 Bug 590212 - Use correct mask for j/jal instructions on MIPS (r=wmaddox+)
Patch submitted by chris@mips.com

--HG--
extra : convert_revision : 2a6f54d0e9aafc1b3973d01cb7bf78815d53f9ec
2010-09-08 17:37:02 -07:00
Rick Reitmaier
5fc61e5b43 Bug 568486 - Synchronize the SH4 backend with Bug 587916 (r=rreitmai) [Cedric Vincent]
--HG--
extra : convert_revision : e5186c20dda9acb39c819e58ffba0153712b6130
2010-09-08 08:50:53 -07:00
Jacob Bramley
a5c1330a28 Replace deprecated API usage in nanojit/NativeARM. [Bug 535709] [r=njn]
--HG--
extra : convert_revision : 49a8ed180ad089001a9e915e755b5b394a9c0a2a
2010-09-06 09:28:10 +01:00
Justin Wood
53e4f33184 Followup to Bug 585625 we need to sync js/src too r=sad build, rs=khuey, a=sad build 2010-09-20 00:07:06 -04:00
Rick Reitmaier
7963fcaad6 Bug 568486 - Additional lirasm tests (r+nnethercote) [Cedric Vinent]
--HG--
extra : convert_revision : 2c3056daeba3fd8b9fa6a655fa8d91f71df5e5ba
2010-08-31 11:14:48 -07:00
Rick Reitmaier
3ff418bccb Bug 568486 - SH4 (a.k.a ST40) target support for NanoJIT (r+nnethercote,edwsmith,rreitmai) [Cedrick Vincent]
--HG--
extra : convert_revision : 00cee92849b45f9ab8a908446ce62cd2480d036b
2010-08-31 10:06:13 -07:00
Mike Hommey
bd598aa206 Bug 552624 - ARMv4T support for nanojit. r=jbramley
--HG--
extra : convert_revision : 6b09fdb0cbc625ded40971eb6929d599182375a6
2010-08-31 11:51:23 +02:00
William Maddox
60462ed735 Fix inaccurate comment in ExprFilter::insBranch() (r=nnethercote+)
--HG--
extra : convert_revision : a9af83064f225bddbe878fc63dce529a3b0fe48a
2010-08-26 17:44:45 -07:00
Steven Johnson
6a09e1493a Bug 590785 - njconfig.i386_use_cmov is not initialized properly (r=njn,rreitmai)
--HG--
extra : convert_revision : 59a48227c291c53574b628358d9d581664848382
2010-08-26 14:02:14 -07:00
Benjamin Smedberg
872c579164 Bug 5976246 - pymake bustage in js/src because we have things.cc depend on jsautokw.h, and that does interesting things to $< with pymake. r+a=bustage-fix 2010-09-16 21:27:46 -07:00
Steve Fink
e6ddff3833 Bug 593483 - Unbreak (real) dtrace. r=gal, a=NPOTB 2010-09-16 13:21:12 -07:00
Robert Sayre
576da374ec Merge tracemonkey to mozilla-central. a=blockers 2010-09-16 09:24:02 -07:00
Chris Leary
c1efc206b8 Fix windows build breakage. 2010-09-16 01:38:19 -07:00
David Anderson
d9994e6934 Fixed thinko in 89283cd55a98 (bug 596457, no_r=me). 2010-09-15 23:01:03 -07:00
David Anderson
797765d0c9 Require SSE2 to use Method JIT on x86 (bug 596457, r=dmandelin). 2010-09-15 22:27:17 -07:00
Luke Wagner
22b9595546 Bug 595923 - InvokeConstructor can return primitive value (r=brendan)
--HG--
extra : rebase_source : 75fd8e06ce4abceb17f2452236e3425efdb035fa
2010-09-15 21:59:08 -07:00
Luke Wagner
4399739182 Bug 595916 - don't access actual args in TraceRecorder (r=dvander)
--HG--
extra : rebase_source : 72db63003c6995b446a5718fae1ca101e3a23996
2010-09-15 21:55:02 -07:00
Chris Leary
204b2a98e5 Bug 596026: PIC-like construct for GETELEM on trace. (r=jorendorff, a=nnethercote,cdleary)
--HG--
extra : rebase_source : 63b57898593b2b178a7ebb1f38071c1058ccb4f7
2010-09-15 21:33:17 -07:00
Benjamin Stover
755c4ace79 Bug 596433 - Method JIT inline assembly has illegal instruction [r=dvander, will get r=Jacob.Bramley asap] 2010-09-15 13:58:21 -07:00
Nicholas Nethercote
1196fa707b Remove unnecessary V8 platform-detection code that broke PPC builds in 562dc7fd7492. r=me. 2010-09-15 16:24:40 -07:00
Jim Blandy
2a3cf83056 Bug 537873, Bug 514574: Have strict mode code report TypeErrors for assignments, deletions. r=brendan
TODO: Fix error messages.
2010-09-15 13:43:55 -07:00
Jim Blandy
7747ff883f Bug 537873, Bug 514574: Delete unused property operation typedefs: JSDefinePropOp, JSPropertyIdOp. r=luke 2010-09-15 13:43:54 -07:00
Jim Blandy
f1251d7a8d Bug 537873, Bug 514574: Tests for strict mode assignments to read-only properties, deletions of non-configurable properties. r=jorendorff 2010-09-15 13:43:54 -07:00
Jim Blandy
eed175c2ac Bug 537873, Bug 514574: Use ObjectOps::setProperty for both fast and slow arrays. r=brendan 2010-09-15 13:43:54 -07:00
Nicholas Nethercote
687594069c Bug 558799 - Import FastDtoa code from V8. r=gal. 2010-09-15 11:49:12 -07:00
David Mandelin
3577fae9f6 Bug 595604: make sure we have a stack frame before we run the compiler in call ICs, r=dvander 2010-09-14 15:18:48 -07:00
Igor Bukanov
dc286830a3 bug 595207 - making functionNamespaceURIAtom eager for simpler code. r=brendan 2010-09-15 16:55:35 +02:00
Brendan Eich
666763cd97 Sample initialShape after putProperty call, which may go toDictionaryMode (596128, r=bhackett). 2010-09-14 12:07:15 -07:00
Brian Hackett
c401cdd9f8 OOL fast path for string comparison, bug 579479. r=dvander 2010-09-14 20:07:11 -07:00
Dave Herman
206fee8283 bug 594622, r=cdleary: support for TOK_XMLSPACE nodes 2010-09-14 19:55:53 -07:00
Dave Herman
9d8c1a41fa bug 569464, r=brendan: bad let-expression-statements in strict mode 2010-09-14 19:53:35 -07:00
Benjamin Stover
f270fa0ac7 Bug 596433 - Method JIT inline assembly has illegal instruction [r=dvander, will get a r=Jacob.Bramley asap] 2010-09-15 14:53:41 -07:00
Benjamin Stover
f94ed8fdc4 bug 596669 - Fennec Android crash in jsstr.cpp:ReplaceCallback, disable yarr for arm r=sayre a=blocking-fennec 2010-09-15 12:33:00 -04:00
Brendan Eich
158b754944 JSFunction::addLocal never calls Shape::maybeHash (595918, r=jorendorff). 2010-09-13 18:44:34 -07:00
Jason Orendorff
06829c5b39 Merge backout. 2010-09-14 17:44:30 -07:00
Jason Orendorff
1676aac8c4 Backed out changeset 84b4d4856e1e (bug 580033) due to orange. 2010-09-14 17:42:36 -07:00
Jason Orendorff
a43bea11f5 Bug 593147 - TM: global Object created in _newJSDContext needs a compartment. r=gal. 2010-09-14 16:24:59 -07:00
Jason Orendorff
9901eaf870 Bug 580033 - JS_Save/RestoreFrameChain should update cx->compartment. r=gal,mrbkap.
--HG--
extra : rebase_source : ff05faf1a39513255bcd6218b0adf6ab554a30b1
2010-09-14 14:38:09 -07:00
Brian Hackett
5058265a9a Fix assert, bug 595921. r=dmandelin 2010-09-14 14:28:55 -07:00
Brendan Eich
ccc80abca5 Fix screwed up layering of GC marking for JSObject::emptyShape (596103, r=jorendorff). 2010-09-14 12:13:12 -07:00
Makoto Kato
c840ba8205 Bug 595766 - bustage Win64 build due to UnsetVMFrameRegs. r=dvander 2010-09-14 17:20:36 +09:00
Chris Leary
818371c4da Disable mochitest bug484107. (r=mrbkap, b=596134) 2010-09-13 21:40:47 -07:00
David Mandelin
ada5bcfdf9 Backout merge 2010-09-13 18:34:34 -07:00
David Mandelin
87e9ceb9bf Backed out changeset 834e5fb759c2 -- appears to be causing leaks on mochitest-browser-chrome 2010-09-13 18:34:11 -07:00
Chris Leary
269a7d6bab Bug 571355: Move RegExpStatics out of JSContext. (r=gal) 2010-09-13 15:53:50 -07:00
David Mandelin
7c97912baf Bug 595706: fix object class guard for arguments length PIC, r=cdleary
--HG--
extra : rebase_source : 7aef085022eefa1a214fcacc3f9b92795be579c1
2010-09-13 15:36:13 -07:00
Peter Van der Beken
250280ac1c Bug 592352 - 'Assertbotch on shutdown after IDB solo mochitest -- leaked contexts?'. r=bent. 2010-09-13 15:32:56 -07:00
David Mandelin
dca5850bce No bug, fix windows build bustage due to int32 type mismatch, r=burning, rs=njn 2010-09-13 14:52:33 -07:00
Sean Stangl
4756c3f985 Fix isNotType() usage in jsop_rhs_unknown_any(). b=593554, r=dvander. 2010-09-13 16:47:57 -04:00
Robert Sayre
bad43e469d Increment JSXDR_BYTECODE_VERSION 2010-09-13 13:21:31 -07:00
Nicholas Nethercote
837cae8aad Bug 590834 - Clean up number-to-string code. r=jwalden. 2010-09-13 13:08:25 -07:00
Chris Leary
86f41cf42a Fix build warning. (no_r=me)
--HG--
extra : rebase_source : cd1afe2f1e8597fb88ca530912dbd6008e3ee9f7
2010-09-13 13:00:58 -07:00
David Mandelin
9b5b678e32 Bug 595420: fix warning in trampoline compiler, r=lw 2010-09-13 11:30:11 -07:00
Jacob Bramley
eb1a424c11 [JAEGER] A trivial, but maybe not ideal fix for overflowing offset fields. [Bug 595336]. r=dvander 2010-09-13 10:28:42 -07:00
Chris Leary
2fa4fedbc1 Bug 540675: eviscerate JSStackFrame::callerVersion. (r=lw) 2010-09-13 09:38:22 -07:00
Jacek Caban
944566a777 Bug 595199 - [Jaeger] Linking failure on mingw due to wrong asm calls in MethodJIT.cpp r=dvander 2010-09-13 12:28:58 +02:00
Robert Sayre
a07edfcc75 Merge mozilla-central to tracemonkey. 2010-09-12 18:16:47 -04:00
Brendan Eich
7bcb596924 Modularize to avoid inline vs. not ShapeHasher static woes (595615, r=dbaron) 2010-09-12 09:34:56 -07:00
Brendan Eich
0366d26673 Try to fix Ts regression from patch for bug 592556... 2010-09-12 08:53:18 -07:00
Kyle Huey
8c6e1c37ec Disable js-reftest that requires shell features to work. a=shutupalready 2010-09-12 08:00:14 -07:00
Brendan Eich
2ac9654d21 Google Maps crash on tracemonkey branch (595365, precog a=jorendorff). 2010-09-11 23:55:25 -07:00
Luke Wagner
a7d340da1e Bug 592983 - combine and32 with branchTest32 (r=dmandelin) 2010-09-11 23:40:23 -07:00
Brendan Eich
e219062c77 Modularize to avoid inline vs. not ShapeHasher static woes (595615, r=dbaron, a=beta6+/debug-only-fix-for-devs). 2010-09-12 09:39:45 -07:00
Kyle Huey
90981d7015 Disable js-reftest that requires shell features to work. a=shutupalready 2010-09-12 06:12:06 -04:00
Brendan Eich
bd487062b6 Google Maps crash on tracemonkey branch (55365, precog r=jorendorff, a=beta6+). 2010-09-11 23:55:25 -07:00
Robert Sayre
732670edfb Merge tracemonkey to mozilla-central. a=blockers 2010-09-12 00:17:49 -04:00
L. David Baron
03dd1fff56 Fix bustage with various profiler integration options from JSNative signature change in JägerMonkey landing. (Bug 595544) r=sayrer a=bustage 2010-09-11 17:06:59 -07:00
Brendan Eich
d0a587b1ab Parenthesize lambda statement expressions to work in browser (where JSOPTION_ANONFUNFIX is set; followup for 593256). 2010-09-11 15:24:51 -07:00
Robert Sayre
4659902f34 jaegermonkey. what. a=arewefastyet 2010-09-11 15:06:33 -04:00
Robert Sayre
97f8489f1e Bug 590083 - temporarily disable ARM method jit 2010-09-11 09:58:37 -04:00
Luke Wagner
57ea7406d7 Missing union member for big-endian jsval_layout struct (r=ppc is burning) 2010-09-10 21:20:46 -07:00
Luke Wagner
af40c91154 Set rval in DisassFile (no bug, rs=brendan) 2010-09-10 17:06:40 -07:00
Luke Wagner
273362efd0 Bug 583275 - remove unnecessary unboxing cost of obj->getPrivate() on x64 (r=brendan) 2010-09-10 17:06:30 -07:00
Bill McCloskey
3645509f88 Bug 594969 - Fix DisassFile (r=lw) 2010-09-10 11:39:59 -07:00
Robert Sayre
59773ae503 Merge mozilla-central to tracemonkey. 2010-09-10 11:47:11 -04:00
Igor Bukanov
e3df6b0d60 bug 594138 - account for potential shape and dslots change after the GC in conservative GC tests. r=anygregor 2010-09-10 08:55:33 +02:00
Bill McCloskey
6fdf057e99 Blacklisting a trace could spent too much time in the interpreter (bug 595032, r=dvander). 2010-09-09 18:06:02 -07:00
Chris Leary
7c740a8dc0 Back out due to mochiserver breakage. (no_r=me) 2010-09-09 16:52:31 -07:00
David Anderson
41a8c3b110 Added test cases for bug 588363 (no_r=me).
--HG--
extra : rebase_source : 2a4a16150ec035c27f860b0795a452cc9864e1d6
2010-09-09 14:29:03 -07:00
David Anderson
6c7893b5ff Added test cases for bug 588362 (no_r=me).
--HG--
extra : rebase_source : 31f12cfd87e2ecaf49cfd496e2e78b2846a9f3be
2010-09-09 14:28:42 -07:00
Chris Leary
7c2ac56dff Bug 540675: remove callerVersion from stack frame. (r=lw) 2010-09-09 14:25:30 -07:00
David Anderson
c442e14de2 Fix for ARM build bustage (bug 593532 fallout, no_r=me). 2010-09-09 13:24:45 -07:00
Michael Wu
d5fc5a0de5 Bug 589971 - Omnijar before profiling part of PGO, r=ted a=beltzner 2010-09-09 16:12:08 -04:00
L. David Baron
232cb16309 Add wctype.h to config/system-headers. (Bug 594492) r=cjones a2.0=bustage 2010-09-09 08:21:46 -07:00
David Anderson
d550b945b2 Fix various bugs in tracer integration (bug 593532, r=dmandelin). 2010-09-07 22:52:15 -07:00
Jason Orendorff
a101a7ab67 Fix typo in jstests.list. no_r=me. 2010-09-09 14:33:47 -05:00
Jason Orendorff
bb0c9c71b8 Add passing test taken from bug 592556, comment 35. no_r=me. In before regression! 2010-09-09 14:19:45 -05:00
Jason Orendorff
a47ae73260 Bug 593742 - nsDOMWorker has to set the right compartment. r=bent.
--HG--
extra : rebase_source : 1f309d333686fdad21a7b6940873994ccc64157d
2010-09-09 11:13:06 -05:00
Makoto Kato
cfc509ab28 Bug 591526 - JM: Win64 build failure--no define for ArgReg2. r=dvander 2010-09-09 16:56:08 +09:00
Makoto Kato
6103055406 Bug 593133 - TM: PGO doesn't use tracejit profile. r=dmandelin 2010-09-09 16:55:59 +09:00
Brian Hackett
098817b45a PIC for addprop, bug 561506. r=dmandelin
* * *
Bug 561506, add context owner checks for addprop. no_r=7:00am
2010-09-04 20:12:56 -07:00
Nicholas Nethercote
2e4c614ace merge 2010-09-08 23:12:59 -07:00
Nicholas Nethercote
21826c95f0 Bug 594205 - TM: safeguard against RegExp.prototype.test changes in exec-to-test conversions. r=brendan. 2010-09-08 23:07:16 -07:00
Luke Wagner
10966edd80 Bug 593277 - Weaken native constructor call asserts (r=brendan)
--HG--
rename : js/src/trace-test/tests/bug579740.js => js/src/trace-test/tests/basic/bug579740.js
rename : js/src/trace-test/tests/bug584499-1.js => js/src/trace-test/tests/basic/bug584499-1.js
rename : js/src/trace-test/tests/bug584499-2.js => js/src/trace-test/tests/basic/bug584499-2.js
rename : js/src/trace-test/tests/testPutOnEmptyArgsObject.js => js/src/trace-test/tests/basic/testPutOnEmptyArgsObject.js
2010-09-08 22:20:45 -07:00
Bill McCloskey
f25b7b9bbe Bug 593596 - change have_call back to its old definition (r=lw) 2010-09-08 22:09:24 -07:00
Nicholas Nethercote
13fe6910e9 Bug 594640 - TM: avoid redundant snapshots when recording GETELEM. r=gal. 2010-09-08 19:44:47 -07:00
Nicholas Nethercote
887c472b16 Bug 580752 - TM: optimize setelem. r=gal. 2010-09-08 18:31:47 -07:00
Jan de Mooij
8b137e037b Bug 592631: fast path for x|0, r=dvander 2010-09-08 18:23:27 -07:00
Nicholas Nethercote
3bf0a90b65 Bug 591788 - Fatal assert ( base == lirbuf->sp || base == eos_ins). r=gal. 2010-09-08 17:24:37 -07:00
Tom Austin
9943c6915d Bug 586830. Allows returns with no values in Narcissus. r=shu 2010-09-08 16:36:26 -07:00
Gregor Wagner
57a7fa6556 Bug 593294 - TM: various other defaultCompartment fixes r=gal 2010-09-08 16:09:23 -07:00
Robert Sayre
1c1c54b151 Merge. 2010-09-08 10:36:32 -04:00
Robert Sayre
edb7aca0d0 merge mozilla-central to tracemonkey. 2010-09-08 10:33:07 -04:00
Chris Leary
6271a02b06 Bug 587434: IsSaneThisObject assertion failure on CALLXMLNAME. (r=jorendorff) 2010-09-08 01:13:22 -07:00
David Anderson
55ecded888 Backed out changeset 7219df6c126c 2010-09-07 23:45:10 -07:00
David Anderson
b6205cfb88 Avoid staying in Interpret() after recording (bug 593532, r=dmandelin). 2010-09-07 22:52:15 -07:00
David Anderson
b1906cec20 Merge backout. 2010-09-07 21:52:13 -07:00
David Anderson
ba1fc1c1ab Backed out changeset 45f147e08faf 2010-09-07 21:51:55 -07:00
Nicholas Nethercote
dbed4dce2d Bug 594108 - fix RegExp.exec()-to-RegExp.test() conversion. r=brendan. 2010-09-07 18:09:26 -07:00
Sean Stangl
5bd7a0bd53 Fix isNotType() usage in jsop_rhs_unknown_any(). b=593554, r=dvander. 2010-09-07 21:05:01 -04:00
Dave Herman
9ad1a53de1 bug 591437, r=brendan: can't reliably use pn_cookie for function args 2010-09-07 16:27:52 -07:00
Dave Herman
ef3290061c bug 591431, r=cdleary: Reflect.parse(): JSOP_*XMLNAME nodes as lvalues 2010-09-07 16:21:19 -07:00
Dave Herman
91665f8a3d bug 591430, r=cdleary: Reflect.parse(): TOK_NAME statement nodes with pn_lexdef 2010-09-07 16:19:48 -07:00
Dave Herman
0039e6bd0d bug 590775, r=cdleary: default xml namespace = <<expr>> 2010-09-07 16:18:10 -07:00
Dave Herman
71de094573 bug 590774, r=cdleary: implement function::identifier E4X extension 2010-09-07 16:16:34 -07:00
Dave Herman
3c77d7e37e bug 590772, r=cdleary: for-in loops with initializers 2010-09-07 16:14:15 -07:00
Dave Herman
5a346677d9 bug 590766, r=cdleary: let-expressions and let-statements 2010-09-07 15:44:31 -07:00