projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
eliminate the old InstFormatName which is always "AsmString",
[oota-llvm.git]
/
include
/
llvm
/
Metadata.h
diff --git
a/include/llvm/Metadata.h
b/include/llvm/Metadata.h
index f5a80a3dced2638555151693b1850123cd058d64..a6c3f039a11ec41802f5da0590c0421692b06571 100644
(file)
--- a/
include/llvm/Metadata.h
+++ b/
include/llvm/Metadata.h
@@
-144,9
+144,6
@@
public:
unsigned getNumOperands() const { return NumOperands; }
/// isFunctionLocal - Return whether MDNode is local to a function.
unsigned getNumOperands() const { return NumOperands; }
/// isFunctionLocal - Return whether MDNode is local to a function.
- /// Note: MDNodes are designated as function-local when created, and keep
- /// that designation even if their operands are modified to no longer
- /// refer to function-local IR.
bool isFunctionLocal() const {
return (getSubclassDataFromValue() & FunctionLocalBit) != 0;
}
bool isFunctionLocal() const {
return (getSubclassDataFromValue() & FunctionLocalBit) != 0;
}