harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gshiman...@apache.org
Subject svn commit: r585745 - /harmony/enhanced/drlvm/trunk/vm/vmcore/src/util/linux/signals_em64t.cpp
Date Wed, 17 Oct 2007 22:52:41 GMT
Author: gshimansky
Date: Wed Oct 17 15:52:34 2007
New Revision: 585745

URL: http://svn.apache.org/viewvc?rev=585745&view=rev
Log:
Small correction to revision 585545 since cdecl attribute has no meaning on x86_64


Modified:
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/util/linux/signals_em64t.cpp

Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/util/linux/signals_em64t.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/util/linux/signals_em64t.cpp?rev=585745&r1=585744&r2=585745&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/util/linux/signals_em64t.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/util/linux/signals_em64t.cpp Wed Oct 17 15:52:34
2007
@@ -147,7 +147,9 @@
 }
 
 extern "C" {
-void __attribute__ ((used, cdecl)) c_exception_handler(Class* exn_class, bool java_code)
{
+// Gregory -
+// Attribute cdecl is not used here because it has no meaning in x86_64 calling conventions
+void __attribute__ ((used)) c_exception_handler(Class* exn_class, bool java_code) {
     // this exception handler is executed *after* NT exception handler returned
     DebugUtilsTI* ti = VM_Global_State::loader_env->TI;
     // Create local copy for registers because registers in TLS can be changed



Mime
View raw message