mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-04 07:32:13 +00:00
ConstantFolder and NoFolder no longer require their Context members.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78673 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d3fe75e2bf
commit
7f4151bc69
@ -18,16 +18,15 @@
|
||||
#define LLVM_SUPPORT_CONSTANTFOLDER_H
|
||||
|
||||
#include "llvm/Constants.h"
|
||||
#include "llvm/LLVMContext.h"
|
||||
|
||||
namespace llvm {
|
||||
|
||||
class LLVMContext;
|
||||
|
||||
/// ConstantFolder - Create constants with minimum, target independent, folding.
|
||||
class ConstantFolder {
|
||||
LLVMContext &Context;
|
||||
|
||||
public:
|
||||
ConstantFolder(LLVMContext &C) : Context(C) { }
|
||||
explicit ConstantFolder(LLVMContext &) {}
|
||||
|
||||
//===--------------------------------------------------------------------===//
|
||||
// Binary Operators
|
||||
|
@ -28,12 +28,12 @@
|
||||
|
||||
namespace llvm {
|
||||
|
||||
class LLVMContext;
|
||||
|
||||
/// NoFolder - Create "constants" (actually, values) with no folding.
|
||||
class NoFolder {
|
||||
LLVMContext &Context;
|
||||
public:
|
||||
|
||||
NoFolder(LLVMContext &C) : Context(C) { }
|
||||
explicit NoFolder(LLVMContext &) {}
|
||||
|
||||
//===--------------------------------------------------------------------===//
|
||||
// Binary Operators
|
||||
|
Loading…
x
Reference in New Issue
Block a user