mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Move MachineMemOperand's constructor out of line, to avoid a
#include dependency on Support/MathExtras.h in the header file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53200 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -16,8 +16,6 @@
|
||||
#ifndef LLVM_CODEGEN_MEMOPERAND_H
|
||||
#define LLVM_CODEGEN_MEMOPERAND_H
|
||||
|
||||
#include "llvm/Support/MathExtras.h"
|
||||
|
||||
namespace llvm {
|
||||
|
||||
class Value;
|
||||
@@ -50,8 +48,7 @@ public:
|
||||
/// MachineMemOperand - Construct an MachineMemOperand object with the
|
||||
/// specified address Value, flags, offset, size, and alignment.
|
||||
MachineMemOperand(const Value *v, unsigned int f, int64_t o, uint64_t s,
|
||||
unsigned int a)
|
||||
: Offset(o), Size(s), V(v), Flags((f & 7) | ((Log2_32(a) + 1) << 3)) {}
|
||||
unsigned int a);
|
||||
|
||||
/// getValue - Return the base address of the memory access.
|
||||
/// Special values are PseudoSourceValue::FPRel, PseudoSourceValue::SPRel,
|
||||
|
Reference in New Issue
Block a user