mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 02:52:53 +02:00
Function defined in a header should be inline. Found by modules build.
llvm-svn: 207157
This commit is contained in:
parent
09bff5120d
commit
a8439916a2
@ -346,7 +346,7 @@ namespace PBQP {
|
|||||||
|
|
||||||
typedef Graph<RegAllocSolverImpl> Graph;
|
typedef Graph<RegAllocSolverImpl> Graph;
|
||||||
|
|
||||||
Solution solve(Graph& G) {
|
inline Solution solve(Graph& G) {
|
||||||
if (G.empty())
|
if (G.empty())
|
||||||
return Solution();
|
return Solution();
|
||||||
RegAllocSolverImpl RegAllocSolver(G);
|
RegAllocSolverImpl RegAllocSolver(G);
|
||||||
|
Loading…
Reference in New Issue
Block a user