mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-04 20:26:06 +00:00

Previous version used type erasure through a `void* (*)()` pointer, which triggered gcc warning and implied a lot of reinterpret_cast. This version should make it harder to hit ourselves in the foot. Differential revision: https://reviews.llvm.org/D54203 llvm-svn: 346522
18 lines
610 B
C++
18 lines
610 B
C++
//===-- CodeGen/MachineInstr.cpp ------------------------------------------===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This file contains the machine function pass registry for register allocators
|
|
// and instruction schedulers.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "llvm/CodeGen/MachinePassRegistry.h"
|
|
|
|
using namespace llvm;
|