harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfur...@apache.org
Subject svn commit: r638915 - /harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32CallingConvention.cpp
Date Wed, 19 Mar 2008 16:11:44 GMT
Author: mfursov
Date: Wed Mar 19 09:11:43 2008
New Revision: 638915

URL: http://svn.apache.org/viewvc?rev=638915&view=rev
Log:
Fix for regression introduced on Win64 platform by HARMONY-4620 commit ([drlvm][jit] XMM calling
conventions..)

Modified:
    harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32CallingConvention.cpp

Modified: harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32CallingConvention.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32CallingConvention.cpp?rev=638915&r1=638914&r2=638915&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32CallingConvention.cpp
(original)
+++ harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32CallingConvention.cpp
Wed Mar 19 09:11:43 2008
@@ -124,7 +124,12 @@
 {
     if (kind == ArgKind_InArg) {
         uint32 gpreg = 0;
-        uint32 fpreg = 0;
+#ifdef _WIN64
+    #define fpreg gpreg
+#else
+    uint32 fpreg = 0;
+#endif
+
         for (uint32 i=0; i<count; i++){
     
             Type::Tag typeTag=(Type::Tag)infos[i].typeTag;



Mime
View raw message