Author: meiye
Date: 2011-05-23 18:15:28 -0400 (Mon, 23 May 2011)
New Revision: 3617

Modified:
   trunk/osprey/be/opt/opt_proactive.cxx
   trunk/osprey/be/opt/opt_proactive.h
Log:
Use INT64 instead of long long. CR:Sun Chan

Modified: trunk/osprey/be/opt/opt_proactive.cxx
===================================================================
--- trunk/osprey/be/opt/opt_proactive.cxx       2011-05-23 17:18:57 UTC (rev 
3616)
+++ trunk/osprey/be/opt/opt_proactive.cxx       2011-05-23 22:15:28 UTC (rev 
3617)
@@ -11544,7 +11544,7 @@
 // Get a WHIRL that represents an integer constant of the given value
 // from _const_wn_map.
 WN *
-CFG_TRANS::Get_const_wn(long long val)
+CFG_TRANS::Get_const_wn(INT64 val)
 {
   if (!_const_wn_map)
     _const_wn_map = CXX_NEW(MAP(CFG_BB_TAB_SIZE, _pool), _pool);
@@ -11676,7 +11676,7 @@
            p_val = WN_get_val(wn_tmp, _low_map);
            val = p_val.second;     
            if (p_val.first) {
-             long long new_val = -1 * WN_const_val(op2) + val;
+             INT64 new_val = -1 * WN_const_val(op2) + val;
              wn_tmp = Get_const_wn(new_val);
              Set_map(_low_map, op1, wn_tmp);
              Infer_val_range(op1, TRUE, TRUE);
@@ -11691,7 +11691,7 @@
            p_val =  WN_get_val(wn_tmp,  _high_map);
            val = p_val.second;
            if (p_val.first) {
-             long long new_val = -1 * WN_const_val(op2) + val;
+             INT64 new_val = -1 * WN_const_val(op2) + val;
              wn_tmp = Get_const_wn(new_val);
              Set_map(_high_map, op1, wn_tmp);
              Infer_val_range(op1, TRUE, TRUE);
@@ -11720,7 +11720,7 @@
              p_val = WN_get_val(op2, _low_map);
              val2 = p_val.second;
              if  (p_val.first) {
-               long long new_val = val2 + val;
+               INT64 new_val = val2 + val;
                wn_tmp = Get_const_wn(new_val);
                Set_map(_low_map, op1, wn_tmp);
                Infer_val_range(op1, TRUE, TRUE);
@@ -11743,7 +11743,7 @@
              p_val = WN_get_val(op2,  _high_map);
              val2 = p_val.second;
              if (p_val.first) {
-               long long new_val = val2 + val;
+               INT64 new_val = val2 + val;
                wn_tmp = Get_const_wn(new_val);
                Set_map(_high_map, op1, wn_tmp);
                Infer_val_range(op1, TRUE, TRUE);

Modified: trunk/osprey/be/opt/opt_proactive.h
===================================================================
--- trunk/osprey/be/opt/opt_proactive.h 2011-05-23 17:18:57 UTC (rev 3616)
+++ trunk/osprey/be/opt/opt_proactive.h 2011-05-23 22:15:28 UTC (rev 3617)
@@ -437,7 +437,7 @@
   void Delete();
   void Set_cu(COMP_UNIT * i) { _cu = i; }
   COMP_UNIT * Get_cu();
-  WN * Get_const_wn(long long);
+  WN * Get_const_wn(INT64);
   WN * Get_cond(SC_NODE *, BOOL);
   WN * Merge_cond(WN *, WN *, OPERATOR);
   BOOL Can_reorder_cond(WN *, WN *);


------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Open64-devel mailing list
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel

Reply via email to