Commit 6ad46397 by Richard Henderson Committed by Richard Henderson

* include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.

From-SVN: r51468
parent a3c5fa34
2002-03-27 Richard Henderson <rth@redhat.com>
* include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
* include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
......
......@@ -256,8 +256,8 @@ typedef unsigned long _Jv_ThreadId_t;
inline _Jv_ThreadId_t
_Jv_ThreadSelf (void)
{
unsigned long id;
__asm__ ("call_pal %1\n\tmov $0, %0" : "=r"(id) : "i"(PAL_rduniq) : "$0");
register unsigned long id __asm__("$0");
__asm__ ("call_pal %1" : "=r"(id) : "i"(PAL_rduniq));
return id;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment