harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gshiman...@apache.org
Subject svn commit: r599488 - /harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/LoopUtils.h
Date Thu, 29 Nov 2007 15:27:51 GMT
Author: gshimansky
Date: Thu Nov 29 07:27:50 2007
New Revision: 599488

URL: http://svn.apache.org/viewvc?rev=599488&view=rev
Log:
Fixed compilation on gcc 4.x after 599448 (HARMONY-2170)


Modified:
    harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/LoopUtils.h

Modified: harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/LoopUtils.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/LoopUtils.h?rev=599488&r1=599487&r2=599488&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/LoopUtils.h (original)
+++ harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/LoopUtils.h Thu Nov 29 07:27:50
2007
@@ -78,6 +78,7 @@
 protected:
     OpndLoopInfo(InductionDetector* id, SsaOpnd* opnd):
          mainOpnd(opnd), inductionDetector(id) {};
+    virtual ~OpndLoopInfo() {}
     
     SsaOpnd*            mainOpnd;
     InductionDetector*  inductionDetector;
@@ -165,6 +166,7 @@
         header(NULL), isPhiSplit(false) {
         base = (base == NULL) ? this : base;         
     }    
+    virtual ~InductiveOpndLoopInfo() {}
 
 private:   
     void findBoundInfo();
@@ -193,6 +195,7 @@
     
 protected:
     InvariantOpndLoopInfo(InductionDetector* id, SsaOpnd* opnd): OpndLoopInfo(id, opnd) {}
+    virtual ~InvariantOpndLoopInfo() {}
 };
 
 class ConstOpndLoopInfo : public InvariantOpndLoopInfo {
@@ -206,6 +209,7 @@
 protected:
     ConstOpndLoopInfo(InductionDetector* id, SsaOpnd* opnd, int32 val):
         InvariantOpndLoopInfo(id, opnd), value(val) {}
+    virtual ~ConstOpndLoopInfo() {}
 
 private:
     int32 value;



Mime
View raw message