projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move BasicBlockEdge to the cpp file. No functionality change.
[oota-llvm.git]
/
lib
/
VMCore
/
IntrinsicInst.cpp
diff --git
a/lib/VMCore/IntrinsicInst.cpp
b/lib/VMCore/IntrinsicInst.cpp
index d8f015a9e2c7c26e4b99e188e7d700bfd94e5f61..ac8ec2086b18f58d42d204c4ac23f9faa020840d 100644
(file)
--- a/
lib/VMCore/IntrinsicInst.cpp
+++ b/
lib/VMCore/IntrinsicInst.cpp
@@
-24,8
+24,7
@@
#include "llvm/IntrinsicInst.h"
#include "llvm/Constants.h"
#include "llvm/GlobalVariable.h"
#include "llvm/IntrinsicInst.h"
#include "llvm/Constants.h"
#include "llvm/GlobalVariable.h"
-#include "llvm/Analysis/ValueTracking.h"
-#include "llvm/CodeGen/MachineModuleInfo.h"
+#include "llvm/Metadata.h"
using namespace llvm;
//===----------------------------------------------------------------------===//
using namespace llvm;
//===----------------------------------------------------------------------===//
@@
-55,7
+54,7
@@
Value *DbgInfoIntrinsic::StripCast(Value *C) {
///
Value *DbgDeclareInst::getAddress() const {
///
Value *DbgDeclareInst::getAddress() const {
- if (MDNode* MD = cast_or_null<MDNode>(get
Operand(1
)))
+ if (MDNode* MD = cast_or_null<MDNode>(get
ArgOperand(0
)))
return MD->getOperand(0);
else
return NULL;
return MD->getOperand(0);
else
return NULL;
@@
-66,9
+65,9
@@
Value *DbgDeclareInst::getAddress() const {
///
const Value *DbgValueInst::getValue() const {
///
const Value *DbgValueInst::getValue() const {
- return cast<MDNode>(get
Operand(1
))->getOperand(0);
+ return cast<MDNode>(get
ArgOperand(0
))->getOperand(0);
}
Value *DbgValueInst::getValue() {
}
Value *DbgValueInst::getValue() {
- return cast<MDNode>(get
Operand(1
))->getOperand(0);
+ return cast<MDNode>(get
ArgOperand(0
))->getOperand(0);
}
}