mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-14 03:29:57 +00:00
[BOLT] Fixing macOS build
Fixing build after https://reviews.llvm.org/D153039 Reviewed By: Amir Differential Revision: https://reviews.llvm.org/D156734
This commit is contained in:
parent
f9b2cbfffa
commit
299ec3c22a
@ -340,7 +340,8 @@ void ReorderFunctions::runOnFunctions(BinaryContext &BC) {
|
||||
applyCDSLayout(FuncSizes, FuncCounts, CallCounts, CallOffsets);
|
||||
|
||||
// Create a single cluster from the computed order of hot functions.
|
||||
Clusters.emplace_back(Cluster(Result, Cg));
|
||||
std::vector<CallGraph::NodeId> NodeOrder(Result.begin(), Result.end());
|
||||
Clusters.emplace_back(Cluster(NodeOrder, Cg));
|
||||
} break;
|
||||
case RT_PETTIS_HANSEN:
|
||||
Clusters = pettisAndHansen(Cg);
|
||||
|
Loading…
Reference in New Issue
Block a user