Commit Graph

11681 Commits

Author SHA1 Message Date
Brendan Eich
d29d510a74 Need to JS_CHECK_RECURSION in GetTrap as well as Trap (aslo rename GetTrap wrappers to start with Get; 589103, r=gal). 2010-10-03 14:59:26 -07:00
Brian Hackett
d73a0b5f82 Lazify fp->scopeChain, JM call path cleanup. bug 593882, r=lw,dvander. 2010-10-03 08:21:38 -07:00
Jeff Walden
9153149565 Bug 577757 - array[-1073741824] != array["-1073741824"]. r=igor 2010-09-30 21:03:47 -07:00
Jeff Walden
e7c07cd3ad Bug 539766 - Object.defineProperty sets arguments.length without setting the length-overridden bit. r=brendan 2010-09-30 17:50:40 -07:00
Jason Orendorff
b7f8952992 Bug 600193 - trace-test/tests/jaeger/bug588363-1.js asserts with CompartmentChecker enabled. r=gal.
This makes eval(s) an indirect eval if the eval-function being called is in a
different compartment from the caller's scope chain.

This caused the eval in trace-test/tests/jaeger/bug588363-2.js to become
indirect, which caused the test to fail with a ReferenceError. So I changed the
test to delete the sandbox's eval, revealing the global eval underneath.
2010-09-29 10:00:52 -07:00
Jason Orendorff
135b59bccb Bug 600287 - Indirect eval should use callee's global, not the this-argument. r=brendan. 2010-10-02 10:08:59 -05:00
Jason Orendorff
c1daff3aa7 Rename JS_{Read,Write}Pair to JS_{Read,Write}Uint32Pair as suggested by Brendan. Followup to bug 595297. 2010-10-02 09:41:18 -05:00
Brian Hackett
abdc87c9ca Header changes for sixgill, annotations. bug 601129, r=jorendorff 2010-10-01 21:00:55 -07:00
Luke Wagner
5eeb7d4ff7 Bug 587914 - js::Valueify in static data constructors causes runtime initialization (r=igor)
--HG--
extra : rebase_source : 09f2d8b620985eff96468ef7875cab8751a93d18
2010-10-01 17:53:08 -07:00
Jason Orendorff
630900ee20 Finally get rid of /* Added by JSIFY */ comments. r=Waldo. 2010-10-01 18:46:54 -05:00
David Mandelin
ef3e0c2bd4 Backout merge. 2010-10-01 16:02:39 -07:00
David Mandelin
a4b874a59c Backed out changeset 97d2c33271e8 due to crashtest failures 2010-10-01 16:01:49 -07:00
David Mandelin
d93f709073 Bug 600639 followup: unbreak non-threadsafe shell builds, r=cjones 2010-10-01 15:34:32 -07:00
Chris Jones
72c8eed930 Follow-up to bug 579479: Fix --disable-tracejit --enable-methodjit compiles. irc-r=sstangl a=bustage 2010-10-01 16:09:21 -05:00
Chris Jones
b229a7ab6b Bug 600304: Add a PrintJSStack() friend of DumpJSStack() that returns a newly-allocated string instead of printing to stdout. r=jorendorff a=sayrer 2010-10-01 16:09:21 -05:00
Chris Jones
d214281bcc Bug 600639, part 3: Add a --write-failure-output option to trace-test to additionally log output from failed tests. r=dmandelin a=sayrer 2010-10-01 16:09:21 -05:00
Chris Jones
9ea42cd7f2 Bug 600639, part 2: Make trace_test.py importable and add support for avoiding stdio with js. r=dmandelin
--HG--
rename : js/src/trace-test/trace-test.py => js/src/trace-test/trace_test.py
2010-10-01 16:09:21 -05:00
Chris Jones
33f54f09ae Bug 600639, part 1: Allow overriding gOutFile and gErrFile in js shell, and add a -g option to sleep on startup so that a debugger can be attached. r=dmandelin 2010-10-01 16:09:21 -05:00
Jim Blandy
bd74ec5d3b Bug 600943: Correctly compute |this| in Date.prototype.toJSON. r=waldo 2010-10-01 13:05:03 -07:00
David Mandelin
8986a41f4f Bug 601197: fix typo in js_GetBlockChain, r=wmccloskey 2010-10-01 12:29:39 -07:00
David Mandelin
e25191cfd0 Bug 595963: notify iterators about property deletion in array_splice, r=gal 2010-10-01 11:12:01 -07:00
Gregor Wagner
9aad841305 Bug 594455 Add assertions for defaultCompartments. r=jorendorff 2010-10-01 11:10:30 -07:00
Jason Orendorff
a180c60f63 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
faba5e7e52 Clean up exec pool and LinkBuffer use (bug 601041, r=dmandelin). 2010-10-01 09:47:44 -07:00
Jason Orendorff
b2c359ad0b Bug 601040 - Revise StructuredClone API. r=gal. 2010-10-01 09:57:22 -05:00
Makoto Kato
35d2ca6e15 Bug 587707 - Fix bustage on Win64 build. r=dvander 2010-10-01 18:17:39 +09:00
Makoto Kato
35160e76f6 Fix CPUID on Win64. b=601016, r=sstangl. 2010-10-01 02:41:10 -04:00
Alex Miller
82319558ba 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
00704fa52d 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<gal@uci.edu>
b4b683166b 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
ca79ac881b 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
87e33d6e8a Fix ARM and --disable-polyic build (bug 599035 bustage, r+a=red). 2010-09-30 13:27:32 -07:00
Igor Bukanov
a8c5b53e2a bug 600687 - proper accounting for colors during the marking phase. r=anygregor 2010-09-30 01:31:20 +02:00
Igor Bukanov
417c15d2e0 bug 600593 - atoms should live only in the default compartment. r=anygregor 2010-09-28 17:34:32 +02:00
Brendan Eich
131feb1587 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
1cfbcf9237 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
20e3b7290e Bug 535912 - Eliminate blockChain from JSStackFrame (r=cdleary) 2010-09-29 13:21:36 -07:00
Ginn Chen
6efb2761bd Bug 597367 Add fpclassify() for Solaris r=gal 2010-09-30 18:53:11 +08:00
Andreas Gal
7e3fa2d10a Merge. 2010-09-30 00:06:04 -07:00
Andreas Gal
331dc80c9e 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<gal@uci.edu>
6a46766c34 Bug 600580 - TM: set right compartment in _newJSDContext r=gwagner 2010-09-29 23:32:22 -07:00
Andreas Gal
dd4d8530b1 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
3b1266d621 Add an IC for GETXPROP (bug 599035, r=sstangl).
--HG--
extra : rebase_source : d7b8dece41841e3a1202edfe84cba806f77310fa
2010-09-29 20:50:29 -07:00
Andreas Gal
e80492a92a Back out bug 584789. 2010-09-29 20:38:03 -07:00
Andreas Gal
650aaf4f01 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
a937de3ad6 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
419e002551 Bug 600489 - TM: allow for insBranch() returning NULL. r=gal. 2010-09-29 16:12:04 -07:00
Andreas Gal<gal@uci.edu>
e16c674f2a Bug 599762 - TM: set right compartment in js::ctypes::CClosure::ClosureStub r=gwagner 2010-09-29 15:46:25 -07:00
Jason Orendorff
47acdff995 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
fc648f9620 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
226f614b64 Bug 601222: Blacklist JITs on samsung i9000s. r=dvander a=blocking-fennec 2010-10-01 03:45:27 -05:00
Ben Hearsum
f80bcecf6f Bump version on default branch to 2.0b8pre/4.0b8pre. a=beltzner 2010-10-06 17:32:13 -04:00
Benedict Hsieh
8442941c67 Bug 588335-Investigate adding consumer-identifier to startupcache r=dwitte a=blocking-final 2010-10-07 15:43:15 -07:00
David Anderson
2f002d500e 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
ca86274758 Back out 94e52cdc2157 2010-09-29 13:39:22 -07:00
Andreas Gal<gal@uci.edu>
45165dced8 Bug 600580 - TM: set right compartment in _newJSDContext r=gregor 2010-09-29 12:28:05 -07:00
David Anderson
45496e2886 Added test case for bug 597378 (a=NPOTB). 2010-09-27 11:14:36 -07:00
David Anderson
ce7d0ca356 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
0c77b74a68 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
3b5e682c66 Fix some FrameState functions not passing tracked FEs (bug 600163, r=dmandelin). 2010-09-29 10:06:32 -07:00
Andreas Gal<gal@uci.edu>
ed2f2057d1 Bug 600032 - TM: set right compartment for Jetpack r=gregor 2010-09-29 09:23:04 -07:00
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
Johnny Stenback
e9ec6c1765 Fixing bug 599761. Use the right compartment in jsd. r=gal. 2010-09-28 19:29:29 -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
36bbc0f2d9 Compilation fix for bug 600015. 2010-09-27 16:27:30 -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
Shu-yu Guo
1898233548 Bug 573569: One-pass SSA builder for Narcissus. (r=gal) 2010-09-23 13:19:05 -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
Shu-yu Guo
06c48a13a1 Small narcissus formatting fixes. (rs=brendan) 2010-09-24 14:01:52 -07: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