mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-25 16:31:33 +00:00
Fix build with GCC.
Seems like a bug in either GCC or clang, but I'm not sure which is right. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213460 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7f36bf5f3d
commit
a80d6a07a1
@ -312,7 +312,9 @@ public:
|
||||
|
||||
/// @brief Get the entry BasicBlock of the Region.
|
||||
/// @return The entry BasicBlock of the region.
|
||||
BlockT *getEntry() const { return RegionNodeT::getEntry(); }
|
||||
BlockT *getEntry() const {
|
||||
return RegionNodeBase<Tr>::getEntry();
|
||||
}
|
||||
|
||||
/// @brief Replace the entry basic block of the region with the new basic
|
||||
/// block.
|
||||
@ -352,7 +354,9 @@ public:
|
||||
/// @brief Get the parent of the Region.
|
||||
/// @return The parent of the Region or NULL if this is a top level
|
||||
/// Region.
|
||||
RegionT *getParent() const { return RegionNodeT::getParent(); }
|
||||
RegionT *getParent() const {
|
||||
return RegionNodeBase<Tr>::getParent();
|
||||
}
|
||||
|
||||
/// @brief Get the RegionNode representing the current Region.
|
||||
/// @return The RegionNode representing the current Region.
|
||||
@ -666,7 +670,7 @@ class RegionInfoBase {
|
||||
typedef SmallPtrSet<RegionT *, 4> RegionSet;
|
||||
|
||||
RegionInfoBase();
|
||||
~RegionInfoBase();
|
||||
virtual ~RegionInfoBase();
|
||||
|
||||
RegionInfoBase(const RegionInfoBase &) LLVM_DELETED_FUNCTION;
|
||||
const RegionInfoBase &operator=(const RegionInfoBase &) LLVM_DELETED_FUNCTION;
|
||||
|
Loading…
x
Reference in New Issue
Block a user