mirror of
https://github.com/boostorg/smart_ptr.git
synced 2025-07-31 21:24:40 +02:00
ARM assembly fix.
[SVN r44140]
This commit is contained in:
@@ -31,7 +31,7 @@ public:
|
|||||||
|
|
||||||
__asm__ __volatile__(
|
__asm__ __volatile__(
|
||||||
"swp %0, %1, [%2]":
|
"swp %0, %1, [%2]":
|
||||||
"=r"( r ): // outputs
|
"=&r"( r ): // outputs
|
||||||
"r"( 1 ), "r"( &v_ ): // inputs
|
"r"( 1 ), "r"( &v_ ): // inputs
|
||||||
"memory", "cc" );
|
"memory", "cc" );
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user