mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-01-09 05:28:42 +00:00
Remove #include of metadata.h from intrinsicinst.h. The only
method that needs it (DbgValueInst::getValue) has been moved out of line. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92323 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -25,7 +25,6 @@
|
||||
#define LLVM_INTRINSICINST_H
|
||||
|
||||
#include "llvm/Constants.h"
|
||||
#include "llvm/Metadata.h"
|
||||
#include "llvm/Function.h"
|
||||
#include "llvm/Instructions.h"
|
||||
#include "llvm/Intrinsics.h"
|
||||
@@ -175,9 +174,7 @@ namespace llvm {
|
||||
/// DbgValueInst - This represents the llvm.dbg.value instruction.
|
||||
///
|
||||
struct DbgValueInst : public DbgInfoIntrinsic {
|
||||
Value *getValue() const {
|
||||
return cast<MDNode>(getOperand(1))->getOperand(0);
|
||||
}
|
||||
Value *getValue() const;
|
||||
Value *getOffset() const { return getOperand(2); }
|
||||
MDNode *getVariable() const { return cast<MDNode>(getOperand(3)); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user