forked from OSchip/llvm-project
[WebAssembly] Fix GCC 5 build.
Hans' speculative fix in b7292f2db0
didn't work for me. This seems to.
This commit is contained in:
parent
4d83aa4771
commit
3632f765dc
|
@ -5,10 +5,14 @@
|
|||
using namespace llvm;
|
||||
using namespace WebAssembly;
|
||||
|
||||
namespace llvm {
|
||||
namespace WebAssembly {
|
||||
template <>
|
||||
bool llvm::WebAssembly::ConcreteSortRegion<MachineLoop>::isLoop() const {
|
||||
bool ConcreteSortRegion<MachineLoop>::isLoop() const {
|
||||
return true;
|
||||
}
|
||||
} // end namespace WebAssembly
|
||||
} // end namespace llvm
|
||||
|
||||
const SortRegion *SortRegionInfo::getRegionFor(const MachineBasicBlock *MBB) {
|
||||
const auto *ML = MLI.getLoopFor(MBB);
|
||||
|
|
Loading…
Reference in New Issue