Граф коммитов

22832 Коммитов

Автор SHA1 Сообщение Дата
Jason Orendorff 826f5733cc Fix stray /* inside a comment to silence GCC warning. no_r=me.
--HG--
extra : rebase_source : 980456c167a368e2c25a6d4312cbad3cff87fbbd
2010-10-01 12:50:52 -05:00
David Anderson 503d1d1118 Clean up exec pool and LinkBuffer use (bug 601041, r=dmandelin). 2010-10-01 09:47:44 -07:00
Jason Orendorff d55ce3daf2 Bug 601040 - Revise StructuredClone API. r=gal. 2010-10-01 09:57:22 -05:00
Makoto Kato 082aa8bf12 Bug 587707 - Fix bustage on Win64 build. r=dvander 2010-10-01 18:17:39 +09:00
Makoto Kato 3d5cfc5c54 Fix CPUID on Win64. b=601016, r=sstangl. 2010-10-01 02:41:10 -04:00
Alex Miller 3ee70c0ef4 Add detection for all levels of SSE support; fix x64 cpuid. b=601016, r=sstangl. 2010-09-30 21:45:22 -04:00
Jason Orendorff 8a4a30f1a5 Bug 595297 - Portable serialize/deserialize implementation of the HTML5 structured cloning algorithm (jsclone.cpp). r=gal. 2010-09-30 19:47:10 -05:00
Andreas Gal 0c69c0b16a Bug 600402 - don't copy strings that are in the same compartment already r=mrbkap 2010-09-30 16:50:06 -07:00
Jeff Walden 342cb4e9ab Bug 560216 - Referring to an accessor property with undefined [[Get]] and [[Set]] fields using an unqualified name should not assert. r=dvander 2010-09-29 16:05:44 -07:00
David Anderson 52da388dd2 Fix ARM and --disable-polyic build (bug 599035 bustage, r+a=red). 2010-09-30 13:27:32 -07:00
Igor Bukanov 97fa68fcf1 bug 600687 - proper accounting for colors during the marking phase. r=anygregor 2010-09-30 01:31:20 +02:00
Igor Bukanov bf8fd830b9 bug 600593 - atoms should live only in the default compartment. r=anygregor 2010-09-28 17:34:32 +02:00
Brendan Eich d5df6f57ea fun->u.i.names is incorrect when a local function shadows an argument (600067, r=jorendorff). 2010-09-29 16:15:43 -07:00
Jim Blandy 0c60bea418 Bug 514570: Simplify code generated for tests against 'null', in cases where we might as well test the whole value. r=dvander 2010-09-30 10:57:58 -07:00
Bill McCloskey 936cc5292c Bug 535912 - Eliminate blockChain from JSStackFrame (r=cdleary) 2010-09-29 13:21:36 -07:00
Ginn Chen 5e77ac587f Bug 597367 Add fpclassify() for Solaris r=gal 2010-09-30 18:53:11 +08:00
Andreas Gal fb9d4e03c2 Merge. 2010-09-30 00:06:04 -07:00
Andreas Gal 019522d702 Backout bug 584789, has to go into blake's patch queue, event't handlers don't set the right compartment in TM tip. 2010-09-30 00:05:33 -07:00
Andreas Gal 5d580bfd83 Bug 600580 - TM: set right compartment in _newJSDContext r=gwagner 2010-09-29 23:32:22 -07:00
Andreas Gal 50d689f946 Make functions per compartment, and deep copy instead of clone them if needed (584789, r=mrbkap). 2010-09-29 23:17:29 -07:00
David Anderson dd74cafad3 Add an IC for GETXPROP (bug 599035, r=sstangl).
--HG--
extra : rebase_source : d7b8dece41841e3a1202edfe84cba806f77310fa
2010-09-29 20:50:29 -07:00
Andreas Gal 37da5dd5e9 Back out bug 584789. 2010-09-29 20:38:03 -07:00
Andreas Gal 64d575a614 Make functions per compartment, and deep copy instead of clone them if needed (584789, r=mrbkap). 2010-09-29 19:42:22 -07:00
David Anderson 398734ce25 Skip writes to |f.arguments| if |f| cannot have an argsobj (bug 592927, r=brendan).
--HG--
extra : rebase_source : 8e53abcec2739585d5b3ee2fd0c80f5532a685e0
2010-09-29 18:05:54 -07:00
Nicholas Nethercote a56f5b66ac Bug 600489 - TM: allow for insBranch() returning NULL. r=gal. 2010-09-29 16:12:04 -07:00
Andreas Gal fa3283741e Bug 599762 - TM: set right compartment in js::ctypes::CClosure::ClosureStub r=gwagner 2010-09-29 15:46:25 -07:00
Jason Orendorff cc695ad459 Bug 599932 - js1_8_1/trace/regress-462459-02.js and friends are failing in shell. r=jimb, a=NPOTB.
--HG--
extra : rebase_source : 469968f50d44a42aac63a1006712ddee81db7d71
2010-09-27 13:25:39 -05:00
Mark Banner 0ce8b5f67c Bustage fix for non-method JIT builds (e.g. ppc) - don't check variable when it doesn't exist. a=bustage-fix (bug 601221). 2010-10-02 09:21:17 +01:00
Chris Jones 2c68ab46ac Bug 601222: Blacklist JITs on samsung i9000s. r=dvander a=blocking-fennec 2010-10-01 03:45:27 -05:00
Ben Hearsum 7b62a17f83 Bump version on default branch to 2.0b8pre/4.0b8pre. a=beltzner 2010-10-06 17:32:13 -04:00
Benedict Hsieh dffaed91b5 Bug 588335-Investigate adding consumer-identifier to startupcache r=dwitte a=blocking-final 2010-10-07 15:43:15 -07:00
David Anderson bf889bde18 Add local and argument closure information to JSScript (bug 592973, r=brendan+dmandelin).
--HG--
extra : rebase_source : 3d36a7908230006f2b048835f7526962fac2b32b
2010-09-13 22:33:44 -07:00
Gregor Wagner c8ad834c04 Back out 94e52cdc2157 2010-09-29 13:39:22 -07:00
Andreas Gal c78ba1198f Bug 600580 - TM: set right compartment in _newJSDContext r=gregor 2010-09-29 12:28:05 -07:00
David Anderson 57be41ce17 Added test case for bug 597378 (a=NPOTB). 2010-09-27 11:14:36 -07:00
David Anderson 38a715bc60 Fix ICs on method-valued shape properties (bug 600424, r=dmandelin).
--HG--
extra : rebase_source : 70218ae27fbca50181bc578d3388559b487ca75a
2010-09-29 12:04:29 -07:00
Luke Wagner a1e6e87a8a Bug 576172 - TM: don't try to add peers or branches if abort flushed the jit cache (r=gal) 2010-09-29 11:31:52 -07:00
David Anderson cabceeccb7 Fix some FrameState functions not passing tracked FEs (bug 600163, r=dmandelin). 2010-09-29 10:06:32 -07:00
Andreas Gal 6f74059342 Bug 600032 - TM: set right compartment for Jetpack r=gregor 2010-09-29 09:23:04 -07:00
Brian Hackett f6d77b2ef3 Improved JM call path, bug 587707. r=lw,dvander 2010-09-29 06:27:34 -07:00
Ginn Chen 5bf8ef0fc2 Bug 594718 fix typo in last commit 2010-09-29 14:22:28 +08:00
Nicholas Nethercote 373dfb6524 merge 2010-09-28 22:39:44 -07:00
Nicholas Nethercote 53f7bb8253 Backed out changeset 7e831598f812 due to tinderbox oranges. 2010-09-28 22:39:19 -07:00
Nicholas Nethercote fd06cc9fa9 Update nanojit-import-rev stamp. 2010-09-28 22:38:48 -07:00
Nicholas Nethercote 9175731130 Backed out changeset 2e21c25656ee due to tinderbox oranges.
--HG--
extra : convert_revision : ce381ce50f62501ae385870d1328df73e68d7a27
2010-09-28 22:36:32 -07:00
Nicholas Nethercote b7d9100028 Bug 600127 - nanojit: do implicit constant propagation after guards (TM-specific part). r=gal. 2010-09-28 21:58:17 -07:00
Nicholas Nethercote 5248d5d5c4 Update nanojit-import-rev stamp. 2010-09-28 21:35:49 -07:00
Nicholas Nethercote b3cad5103a 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 dab21098f8 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 953a02d0e6 Fix closed-name analysis in with-statements (bug 593556, r=brendan).
--HG--
extra : rebase_source : 3ca35ee12087fe262ec147d571900fb94e809979
2010-09-28 21:09:21 -07:00
Johnny Stenback e318c60e12 Fixing bug 599761. Use the right compartment in jsd. r=gal. 2010-09-28 19:29:29 -07:00
David Mandelin 7e9eec9182 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 045cc63709 Bug 600153 - TM: fix storeAccSet for functionProbe(). r=sphink. 2010-09-28 18:00:07 -07:00
Sean Stangl a950d1ea6d Fix rsh, storeTo() allocReg() usage. b=596817, r=dvander. 2010-09-28 20:06:12 -04:00
David Anderson f6997ad816 Fix addprop IC proto guards not being repatched (bug 599299, r=bhackett). 2010-09-28 09:53:16 -07:00
Ginn Chen 0fd995c801 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 d738c348fd 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 065c11fc73 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 6338552312 Update nanojit-import-rev stamp. 2010-09-27 20:58:59 -07:00
Nicholas Nethercote 4f2ceefdd9 Bug 598486 - nanojit: clarify semantics of comparisons. r=edwsmith.
--HG--
extra : convert_revision : 2c8245cb9048cc79ca561ec7a7b014249788247c
2010-09-26 22:36:16 -07:00
Nicholas Nethercote f50d00f62a 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 5a50bc1afe 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 d79a8b1e2b Add more calling-convention tests. [Bug 596545] [r=nnethercote]
--HG--
extra : convert_revision : 8ac6775d9ccfbff39975cc45c060ce4555f5b221
2010-09-23 10:31:16 +01:00
David Anderson 994c67d858 Fixed bogus assert (bug 597871 fallout, a=orange). 2010-09-27 20:21:11 -07:00
Andreas Gal a1792437d2 Fix extra ';' warning (fallout bug 600015). 2010-09-27 18:37:37 -07:00
Andreas Gal b699077715 Follow-up for bug 600015. Incorrect use of SwitchToCompartment. 2010-09-27 18:31:32 -07:00
David Anderson 64f952ee5c 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 c5c1c484d7 Bug 599254 - Avoid an unnecessary switch in the JSON parser. r=sayrer. 2010-09-27 17:20:43 -07:00
Andreas Gal 958218e27b Compilation fix for bug 600015. 2010-09-27 16:27:30 -07:00
Andreas Gal 80d412aae5 Always create a dummy stack frame when crossing compartment boundaries (bug 600015, r=mrbkap). 2010-09-27 15:55:15 -07:00
Gregor Wagner 16df5d22ae Bug 599801 - TM: Clean up Compartment (de)construction. r=sayrer 2010-09-27 15:35:10 -07:00
Luke Wagner 43b966c870 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 980406b1ce bug 586161 - making sure that all compartments are purged. r=anygregor 2010-09-27 14:29:01 +02:00
Luke Wagner 0b77e148e2 Bug 599446 - Weaken bug-finding assert in CallJSNativeConstructor (r=brendan,a=sayrer) 2010-09-24 12:54:13 -07:00
David Anderson eb81ea64e6 Backed out changeset 63066ec9dd8d (a=orange). 2010-09-27 11:46:03 -07:00
David Anderson 05e6ceab48 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 ddaffbdbe2 Merge mozilla-central to tracemonkey. 2010-09-26 12:49:11 -04:00
Robert Sayre d32cbfb860 Remove useless comment. 2010-09-25 23:05:36 -04:00
Andreas Gal 0379991b94 Optimize XML namespace handling. Bug 599166. r=brendan. a=sayrer 2010-09-24 15:23:54 -04:00
Robert Sayre 4571416072 Merge mozilla-central to tracemonkey. 2010-09-23 23:48:27 -04:00
David Anderson 0c7372b971 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 b3c04f8dc0 Merge tracemonkey to mozilla-central. a=blockers. 2010-09-23 20:09:54 -04:00
Chris Leary 29aaed5bff Back out b70659aca040, burning XPCShell tests. (no_r=me) 2010-09-23 16:48:35 -07:00
Andreas Gal 68c6e3d733 Backed out changeset 52c66b17843e (bug 592907). 2010-09-23 16:21:37 -07:00
Gregor Wagner b32c4941ca Bug 592907 - TM: set JSGC_MAX_BYTES to a sane value (r=igor) 2010-09-23 15:31:32 -07:00
Chris Leary 9c673ef046 Bug 596580: fix versioning on mozJSSubScriptLoader. (r=sayrer,brendan)
--HG--
extra : rebase_source : fb2fe804a3f94bc9d6947605ce0e0c19a29b2227
2010-09-23 14:48:58 -07:00
Shu-yu Guo 9c5ea2a183 Bug 573569: One-pass SSA builder for Narcissus. (r=gal) 2010-09-23 13:19:05 -07:00
David Anderson 1a8312c160 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 3524247c89 bug 597736 - fixing TreeFragment leak. r=gal 2010-09-21 14:58:19 +02:00
Brian Hackett 3871a239a6 Fix assert when comparing identical values, bug 599488. r=dvander 2010-09-25 10:47:19 -07:00
Igor Bukanov efd57a1196 bug 599481 - static string tables should be constant. r=alangpierce 2010-09-25 00:36:58 +02:00
Brendan Eich d48ff6a7c2 Fix patch merge problem that restored bad old script line for 597945-1.js. 2010-09-25 17:16:35 +02:00
Igor Bukanov dfb66414c4 bug 558861 - followup to add missing explicit template instantiations for assureThingIsAligned 2010-09-25 11:42:25 +02:00
Brendan Eich 199181f22b 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 3fdd5d011c Bug 597814 - Optimize js_DoubleToECMAInt32 for MSVC and gcc x86_64. r=dvander 2010-09-24 20:19:43 -04:00
Gregor Wagner 4400040645 Bug 558861 - Fix assertion on startup. r=gal 2010-09-24 15:07:02 -07:00
Blake Kaplan b811808c0f No bug. Fix some nits and warning fixes. 2010-09-24 15:05:46 -07:00
Sean Stangl 3c65cd4eb9 Templatize MethodJIT Assemblers. b=598835, r=dvander. 2010-09-24 17:12:08 -04:00
Shu-yu Guo 37b60fd839 Small narcissus formatting fixes. (rs=brendan) 2010-09-24 14:01:52 -07:00
Gregor Wagner fab6264b64 Bug 558861 - Compartmental GC (r=gal) 2010-09-24 10:54:39 -07:00
Brendan Eich 462f5dbbea 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 a3cf7c4ff9 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 10a01fb90f Update nanojit-import-rev stamp. 2010-09-22 19:26:04 -07:00
William Maddox 7e0b52172c 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 617985d1a3 Fix incorrect jsval_layout on x86 opt builds. no_r=fire. 2010-09-22 21:44:23 -04:00
Sean Stangl 9ff74055dc Faster x64 Value storing; b=598491, r=dvander. 2010-09-22 21:03:22 -04:00
David Anderson 89a5314cd9 Merge backout. 2010-09-22 17:41:14 -07:00
David Anderson e8f351dc8b Backed out changeset 1af8f0c895bc from PGO bustage 2010-09-22 17:40:31 -07:00
Brendan Eich 70c4ddfcbe Warning fix from Luke (no bug, r=me). 2010-09-22 18:51:50 -04:00
David Anderson 97f9b1d546 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 0dc7c76afa Fix FrameState::forgetType with eval (bug 598696, r=sstangl). 2010-09-22 11:15:34 -07:00
Chris Leary cbc3f4d96e Bug 593663: emulate flat regexps in three-argument String.prototype.replace. (r=lw) 2010-09-22 10:27:38 -07:00
David Anderson 179d3e0dc2 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 7e09451796 Update nanojit-import-rev stamp. 2010-09-21 16:06:08 -07:00
Nicholas Nethercote e56c8feb6f 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 f13ace362b Whitespace cleanup, nanojit subdir only (r=me)
--HG--
extra : convert_revision : a623aab958efda06d12eca456304fc674c92a589
2010-09-21 15:20:20 -07:00
William Maddox 9a5d262270 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 f68df71e47 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 5120e30ad3 Bug 583143 - Fix bustage with MOZ_TRACEVIS and other NPOTB code (r=lw) 2010-09-20 12:43:52 -07:00
Brian Hackett 2a3131285a Fix strict-aliasing warning on interruptFlags/interruptCounter, bug 589193. r=igor 2010-09-21 14:29:11 -07:00
David Anderson dd76a1134a Fix global variables overwriting resolved properties (bug 595917, r=brendan). 2010-09-21 12:38:30 -07:00
Jim Blandy 14fa9b73dd Bug 492845: Implement Object.isSealed, Object.seal. a=jwalden, r=brendan 2010-09-21 11:35:30 -07:00
Jim Blandy 58955da9df 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 4fe3ec120f 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 7fb1076331 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 4308d25a88 bug 597906 - js shell: functions to observe object finalization. r=jorendorff 2010-09-20 15:55:58 +02:00
Ginn Chen fdf9cce4e0 Bug 597976 Make it able to build TraceJIT w/o MethodJIT r=dvander 2010-09-21 16:12:20 +08:00
Ginn Chen 89ea158380 Bug 597828 Implement setSSECheckState for Solaris Studio compiler r=dvander 2010-09-21 15:56:56 +08:00
Ginn Chen 33472ca8fd Bug 597831 Update TrampolineSUNW*.s r=dvander 2010-09-21 15:56:28 +08:00
Luke Wagner 9b57e51f93 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 ec7a075369 Fix slot leak that leads to allocSlot assert botch (597945, r=jorendorff). 2010-09-21 00:04:25 -07:00
Nicholas Nethercote 2046a169a1 merge 2010-09-20 22:16:07 -07:00
Robert Sayre c7ec691ff7 Merge backout. 2010-09-21 00:44:35 -04:00
Robert Sayre 75ae3fa546 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 afd7c873cc 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 2e83e9b7af Update nanojit-import-rev stamp. 2010-09-20 21:36:35 -07:00
Nicholas Nethercote cde0a4ae70 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 29b43890d1 Update nanojit-import-rev stamp. 2010-09-20 17:35:11 -07:00
Brendan Eich 0c20b3e6e6 Fix slot leak that leads to allocSlot assert botch (597945, r=jorendorff). 2010-09-20 15:21:41 -07:00
Brian Hackett 18bc43a9be Add interruptCounter to JSRuntime for JM, bug 589193. r=igor,dvander 2010-09-20 16:21:49 -07:00
Brian Hackett e0818f09a5 Backed out changeset 09ffb30caa47 2010-09-20 12:05:21 -07:00
Brian Hackett 8f8e309cc6 Make JSObject flexible length, bug 584917. r=brendan 2010-09-20 11:40:32 -07:00
Robert Sayre 64fca401df Merge 2010-09-20 11:10:00 -04:00
Brendan Eich 3eeb1b7f79 Fix bogus assertion: "!shape->inDictionary()" (only if not shape->frozen(); 592217, r=jorendorff). 2010-09-20 08:01:06 -07:00
Jacob Bramley 2de7a10660 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 76dd02e13b Fix test for 597870 (CLOSED TREE). 2010-09-19 22:04:16 -07:00
Brendan Eich 3d05c32e2b 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 3d87692ff0 Merge mozilla-central to tracemonkey. 2010-09-19 15:59:10 -04:00
Igor Bukanov d3f777dff5 bug 597654 - PurgeScriptFragments must do its job even with jit disabled. r=gal 2010-09-18 11:44:22 +02:00
Makoto Kato 6664345332 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 46f976a535 Bug 596502: unbreak XML parsing on JS1.6 and onwards. (r=brendan) 2010-09-18 00:31:36 -07:00
Jacob Bramley 4369b36418 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 ff78c7f76b 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 8a2f73c6d9 Compile JSOP_HOLE, JSOP_CONDSWITCH (bug 597452, r=sstangl).
--HG--
extra : rebase_source : 7e4ee290322b071cd50e1bb21bf5722ac3d0c0d0
2010-09-17 11:35:01 -07:00
Sean Stangl cbb5e7db5a Use loadValueAsComponents() for faster loading on x64. b=587444, r=dvander. 2010-09-17 14:13:13 -04:00
David Anderson 33d9cd948f Compile JSOP_IN (bug 594111, r=dmandelin). 2010-09-17 10:41:29 -07:00
Jason Orendorff 323d9ca953 Back out changeset a8252fe3f211 due to turning everything orange. 2010-09-16 20:58:40 -07:00
Jason Orendorff 721891e87a 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 b6225c3d01 Fix instanceof with bound functions (bug 597167, r=brendan). 2010-09-16 19:31:11 -07:00
David Anderson 68c262d341 Compile JSOP_DELNAME (bug 597137, r=dmandelin). 2010-09-16 17:26:32 -07:00
David Anderson 159bfa2216 Compile JSOP_DEFVAR (bug 594117, r=dmandelin). 2010-09-16 17:25:38 -07:00
David Mandelin ae78988796 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 6be9d4da1c Compile JSOP_DELPROP, JSOP_DELELEM (bug 578736, r=dmandelin). 2010-09-16 12:13:25 -07:00
Blake Kaplan e031731e1b Fix warning. No bug. rs=jorendorff
--HG--
extra : rebase_source : 00de9de8537125213dd43420511c449c2ee77167
2010-09-16 11:51:54 -07:00
Nicholas Nethercote e59b37fb48 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 274164ba86 Fix whitespace in NativeSH4.cpp
--HG--
extra : convert_revision : 0f7bd7152883172e03a84e17d3bbf7ddbdb2439f
2010-09-13 09:29:56 -04:00
Edwin Smith f9bd931659 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 ae15c33ce0 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 a0dfc48e10 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 cd7736f094 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 dfc46f3623 Fix global variables overwriting resolved properties (bug 595917, r=brendan, a=blocking). 2010-09-21 12:38:30 -07:00
Luke Wagner 31a7bbb99c Bug 595668 - create XPCCallContext in XPC_NW_Construct (r=mrbkap) 2010-09-20 18:23:04 -07:00
Brendan Eich 4799efa9c7 Fix slot leak that leads to allocSlot assert botch (597945, r=jorendorff). 2010-09-21 00:04:25 -07:00
Mark Banner db0f8312e1 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 f941eae441 Merge tracemonkey to mozilla-central. a=blockers 2010-09-21 01:11:46 -04:00
Jacob Bramley e2a0c6d5e5 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 8f039f5f8e 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 cb6b72863c 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 f56ba11424 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 4d12ff47e1 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 95b3f469fc Bug 568486 - Additional lirasm tests (r+nnethercote) [Cedric Vinent]
--HG--
extra : convert_revision : 2c3056daeba3fd8b9fa6a655fa8d91f71df5e5ba
2010-08-31 11:14:48 -07:00
Rick Reitmaier 7e85fdbb1d 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 4c5a0c6ef9 Bug 552624 - ARMv4T support for nanojit. r=jbramley
--HG--
extra : convert_revision : 6b09fdb0cbc625ded40971eb6929d599182375a6
2010-08-31 11:51:23 +02:00
William Maddox 40a2ef4c56 Fix inaccurate comment in ExprFilter::insBranch() (r=nnethercote+)
--HG--
extra : convert_revision : a9af83064f225bddbe878fc63dce529a3b0fe48a
2010-08-26 17:44:45 -07:00
Steven Johnson c33c18ac35 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 939be1aa7d 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 d551954631 Bug 593483 - Unbreak (real) dtrace. r=gal, a=NPOTB 2010-09-16 13:21:12 -07:00
Robert Sayre a3496da5e0 Merge tracemonkey to mozilla-central. a=blockers 2010-09-16 09:24:02 -07:00
Chris Leary 89bfd497ac Fix windows build breakage. 2010-09-16 01:38:19 -07:00
David Anderson dffbe8a28d Fixed thinko in 89283cd55a98 (bug 596457, no_r=me). 2010-09-15 23:01:03 -07:00
David Anderson 1fb6a870f0 Require SSE2 to use Method JIT on x86 (bug 596457, r=dmandelin). 2010-09-15 22:27:17 -07:00
Luke Wagner 358065e791 Bug 595923 - InvokeConstructor can return primitive value (r=brendan)
--HG--
extra : rebase_source : 75fd8e06ce4abceb17f2452236e3425efdb035fa
2010-09-15 21:59:08 -07:00
Luke Wagner 6f8738720f 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 6297f7be50 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 360adff750 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 6c8ed9936a Remove unnecessary V8 platform-detection code that broke PPC builds in 562dc7fd7492. r=me. 2010-09-15 16:24:40 -07:00
Jim Blandy 4faeddee59 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 b0d8ea414d Bug 537873, Bug 514574: Delete unused property operation typedefs: JSDefinePropOp, JSPropertyIdOp. r=luke 2010-09-15 13:43:54 -07:00
Jim Blandy 98cd6ba5dc 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 10493a6a71 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 1bea78cb3a Bug 558799 - Import FastDtoa code from V8. r=gal. 2010-09-15 11:49:12 -07:00
David Mandelin eea7b9fcca 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 c66b430bae bug 595207 - making functionNamespaceURIAtom eager for simpler code. r=brendan 2010-09-15 16:55:35 +02:00
Brendan Eich 64670dc2ad Sample initialShape after putProperty call, which may go toDictionaryMode (596128, r=bhackett). 2010-09-14 12:07:15 -07:00
Brian Hackett c0ec1317f3 OOL fast path for string comparison, bug 579479. r=dvander 2010-09-14 20:07:11 -07:00
Dave Herman d41e5650e1 bug 594622, r=cdleary: support for TOK_XMLSPACE nodes 2010-09-14 19:55:53 -07:00
Dave Herman b7e1b5992f bug 569464, r=brendan: bad let-expression-statements in strict mode 2010-09-14 19:53:35 -07:00
Benjamin Stover 844fdd5e63 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 57e1d3c535 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 3e733bfda3 JSFunction::addLocal never calls Shape::maybeHash (595918, r=jorendorff). 2010-09-13 18:44:34 -07:00
Jason Orendorff 97c7aef4f4 Merge backout. 2010-09-14 17:44:30 -07:00
Jason Orendorff 61ec27981a Backed out changeset 84b4d4856e1e (bug 580033) due to orange. 2010-09-14 17:42:36 -07:00
Jason Orendorff 7c32bf3a34 Bug 593147 - TM: global Object created in _newJSDContext needs a compartment. r=gal. 2010-09-14 16:24:59 -07:00
Jason Orendorff 6a662dce70 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 d9548666a5 Fix assert, bug 595921. r=dmandelin 2010-09-14 14:28:55 -07:00
Brendan Eich 1d2c0ba59d Fix screwed up layering of GC marking for JSObject::emptyShape (596103, r=jorendorff). 2010-09-14 12:13:12 -07:00
Makoto Kato 1f39e2f2b2 Bug 595766 - bustage Win64 build due to UnsetVMFrameRegs. r=dvander 2010-09-14 17:20:36 +09:00
Chris Leary f3edf26950 Disable mochitest bug484107. (r=mrbkap, b=596134) 2010-09-13 21:40:47 -07:00
David Mandelin b0a3a50bbc Backout merge 2010-09-13 18:34:34 -07:00
David Mandelin 577170deea Backed out changeset 834e5fb759c2 -- appears to be causing leaks on mochitest-browser-chrome 2010-09-13 18:34:11 -07:00
Chris Leary 101ffdff67 Bug 571355: Move RegExpStatics out of JSContext. (r=gal) 2010-09-13 15:53:50 -07:00
David Mandelin 8d7e0aa9f4 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 ef012c7761 Bug 592352 - 'Assertbotch on shutdown after IDB solo mochitest -- leaked contexts?'. r=bent. 2010-09-13 15:32:56 -07:00
David Mandelin 18901a30ac 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 1e026a43c4 Fix isNotType() usage in jsop_rhs_unknown_any(). b=593554, r=dvander. 2010-09-13 16:47:57 -04:00
Robert Sayre 9a2d6590e3 Increment JSXDR_BYTECODE_VERSION 2010-09-13 13:21:31 -07:00
Nicholas Nethercote 003a995a99 Bug 590834 - Clean up number-to-string code. r=jwalden. 2010-09-13 13:08:25 -07:00
Chris Leary c0d371d79c Fix build warning. (no_r=me)
--HG--
extra : rebase_source : cd1afe2f1e8597fb88ca530912dbd6008e3ee9f7
2010-09-13 13:00:58 -07:00
David Mandelin 5dab24c30f Bug 595420: fix warning in trampoline compiler, r=lw 2010-09-13 11:30:11 -07:00
Jacob Bramley a41961bc7b [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 3db68db0c5 Bug 540675: eviscerate JSStackFrame::callerVersion. (r=lw) 2010-09-13 09:38:22 -07:00
Jacek Caban 03c11cf781 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 c810c7700e Merge mozilla-central to tracemonkey. 2010-09-12 18:16:47 -04:00
Brendan Eich 79049bdeb7 Modularize to avoid inline vs. not ShapeHasher static woes (595615, r=dbaron) 2010-09-12 09:34:56 -07:00
Brendan Eich 6bf84712ee Try to fix Ts regression from patch for bug 592556... 2010-09-12 08:53:18 -07:00
Kyle Huey f7844432cd Disable js-reftest that requires shell features to work. a=shutupalready 2010-09-12 08:00:14 -07:00
Brendan Eich c51bc7aa5b Google Maps crash on tracemonkey branch (595365, precog a=jorendorff). 2010-09-11 23:55:25 -07:00
Luke Wagner 21222ef2dc Bug 592983 - combine and32 with branchTest32 (r=dmandelin) 2010-09-11 23:40:23 -07:00
Brendan Eich f48d0c9caf 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 160fd3b6df Disable js-reftest that requires shell features to work. a=shutupalready 2010-09-12 06:12:06 -04:00
Brendan Eich 230e6c3a63 Google Maps crash on tracemonkey branch (55365, precog r=jorendorff, a=beta6+). 2010-09-11 23:55:25 -07:00
Robert Sayre a2aa441dbf Merge tracemonkey to mozilla-central. a=blockers 2010-09-12 00:17:49 -04:00
L. David Baron c4fc7a5801 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 5d3ce8892f 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 411ce23490 jaegermonkey. what. a=arewefastyet 2010-09-11 15:06:33 -04:00
Robert Sayre 2fb107ae39 Bug 590083 - temporarily disable ARM method jit 2010-09-11 09:58:37 -04:00
Luke Wagner c5dcffc7df Missing union member for big-endian jsval_layout struct (r=ppc is burning) 2010-09-10 21:20:46 -07:00
Luke Wagner bd8710ab2d Set rval in DisassFile (no bug, rs=brendan) 2010-09-10 17:06:40 -07:00
Luke Wagner afe8a7b70c Bug 583275 - remove unnecessary unboxing cost of obj->getPrivate() on x64 (r=brendan) 2010-09-10 17:06:30 -07:00
Bill McCloskey 1ee19ea2a3 Bug 594969 - Fix DisassFile (r=lw) 2010-09-10 11:39:59 -07:00