projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix a bugs in the Mach-O disassembler when disassembling from a
[oota-llvm.git]
/
lib
/
CodeGen
/
MachineBlockFrequencyInfo.cpp
diff --git
a/lib/CodeGen/MachineBlockFrequencyInfo.cpp
b/lib/CodeGen/MachineBlockFrequencyInfo.cpp
index 10b0e929f2bba04ef3c193a7fd9eec221587bea2..9119e31bdb3c886770d89045e529383cb5567450 100644
(file)
--- a/
lib/CodeGen/MachineBlockFrequencyInfo.cpp
+++ b/
lib/CodeGen/MachineBlockFrequencyInfo.cpp
@@
-57,7
+57,7
@@
struct GraphTraits<MachineBlockFrequencyInfo *> {
static inline
const NodeType *getEntryNode(const MachineBlockFrequencyInfo *G) {
- return
G->getFunction()->begin
();
+ return
&G->getFunction()->front
();
}
static ChildIteratorType child_begin(const NodeType *N) {