summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/CodeGen/PBQP/RegAllocSolver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/CodeGen/PBQP/RegAllocSolver.h b/llvm/include/llvm/CodeGen/PBQP/RegAllocSolver.h
index 4700a8b6230..977c34843bb 100644
--- a/llvm/include/llvm/CodeGen/PBQP/RegAllocSolver.h
+++ b/llvm/include/llvm/CodeGen/PBQP/RegAllocSolver.h
@@ -346,7 +346,7 @@ namespace PBQP {
typedef Graph<RegAllocSolverImpl> Graph;
- Solution solve(Graph& G) {
+ inline Solution solve(Graph& G) {
if (G.empty())
return Solution();
RegAllocSolverImpl RegAllocSolver(G);
OpenPOWER on IntegriCloud