mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-04 05:31:51 +00:00
Function defined in a header should be inline. Found by modules build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207157 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1749b55006
commit
12da0f2bcd
@ -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…
x
Reference in New Issue
Block a user