forked from Lainports/freebsd-ports
What's new in Firefox 3.6:
* Support for the HTML5 File API
* A change to how third-party software integrates with Firefox to
increase stability.
* The ability to run scripts asynchronously to speed up page load times.
* A mechanism to prevent incompatible software from crashing Firefox.
* Users can now change their browser's appearance with a single click,
with built in support for Personas.
* Firefox 3.6 will alert users about out of date plugins to keep them
safe.
* Open, native video can now be displayed full screen, and supports
poster frames.
* Support for the WOFF font format.
* Improved JavaScript performance, overall browser responsiveness and
startup time.
* Support for new CSS, DOM and HTML5 web technologies.
Thanks to: Andreas Tobler, Florian Smeets, nox@, miwi@ and all testers
18 lines
659 B
C++
18 lines
659 B
C++
--- js/src/jslock.cpp.orig 2009-10-07 20:15:38.000000000 +0200
|
|
+++ js/src/jslock.cpp 2009-10-07 21:36:14.000000000 +0200
|
|
@@ -160,8 +160,13 @@
|
|
unsigned int res;
|
|
|
|
__asm__ __volatile__ (
|
|
- "stbar\n"
|
|
- "cas [%1],%2,%3\n"
|
|
+ "membar #StoreLoad | #LoadLoad\n"
|
|
+# if defined (__sparc64__)
|
|
+ "casx [%1],%2,%3\n"
|
|
+# else
|
|
+ "cas [%1],%2,%3\n" /* 32-bit version */
|
|
+# endif
|
|
+ "membar #StoreLoad | #LoadLoad\n"
|
|
"cmp %2,%3\n"
|
|
"be,a 1f\n"
|
|
"mov 1,%0\n"
|