Author: zhuqing
Date: 2012-08-03 01:50:27 -0400 (Fri, 03 Aug 2012)
New Revision: 4001

Modified:
   trunk/osprey/be/cg/whirl2ops.cxx
Log:
Fix bug1000, OP_NEED_PAIR should be decided by WN_rtype, not ST_mtype.

Author of this patch: Xiao-jing zhang
Code Review: Jian-xin


Modified: trunk/osprey/be/cg/whirl2ops.cxx
===================================================================
--- trunk/osprey/be/cg/whirl2ops.cxx    2012-08-01 14:37:34 UTC (rev 4000)
+++ trunk/osprey/be/cg/whirl2ops.cxx    2012-08-03 05:50:27 UTC (rev 4001)
@@ -2027,8 +2027,8 @@
         }
       }
 #elif  defined(TARG_X8664)
-      if( OP_NEED_PAIR( ST_mtype(WN_st(ldid) ) ) ){
-        Expand_Copy( result, ldid_result, ST_mtype(WN_st(ldid)), &New_OPs );
+      if( OP_NEED_PAIR( WN_rtype(ldid) ) ){
+        Expand_Copy( result, ldid_result,  WN_rtype(ldid), &New_OPs );
       } else {
         Exp_COPY (result, ldid_result, &New_OPs);
       }


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Open64-devel mailing list
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel

Reply via email to