projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace the BUILTIN_EXPECT macro with a less horrible LLVM_LIKELY/LLVM_UNLIKELY inter...
[oota-llvm.git]
/
include
/
llvm
/
Support
/
GraphWriter.h
diff --git
a/include/llvm/Support/GraphWriter.h
b/include/llvm/Support/GraphWriter.h
index ae32da59dc22c26426628b0e784d5ba2c330a514..f178b0caa8aa9e26b177c942e7dd76f3ec45660d 100644
(file)
--- a/
include/llvm/Support/GraphWriter.h
+++ b/
include/llvm/Support/GraphWriter.h
@@
-172,7
+172,7
@@
public:
// If we should include the address of the node in the label, do so now.
if (DTraits.hasNodeAddressLabel(Node, G))
// If we should include the address of the node in the label, do so now.
if (DTraits.hasNodeAddressLabel(Node, G))
- O << "|" <<
(void*)Node
;
+ O << "|" <<
static_cast<const void*>(Node)
;
}
std::string edgeSourceLabels;
}
std::string edgeSourceLabels;
@@
-192,7
+192,7
@@
public:
// If we should include the address of the node in the label, do so now.
if (DTraits.hasNodeAddressLabel(Node, G))
// If we should include the address of the node in the label, do so now.
if (DTraits.hasNodeAddressLabel(Node, G))
- O << "|" <<
(void*)Node
;
+ O << "|" <<
static_cast<const void*>(Node)
;
}
if (DTraits.hasEdgeDestLabels()) {
}
if (DTraits.hasEdgeDestLabels()) {