Commit 00bfa047 authored by Stephen Kelly's avatar Stephen Kelly
Browse files

cmMakefile: Out-of-line the cmMakefileCall.

parent db74ce58
......@@ -5494,3 +5494,15 @@ cmMakefile::MacroPushPop::~MacroPushPop()
{
this->Makefile->PopMacroScope(this->ReportError);
}
cmMakefileCall::cmMakefileCall(cmMakefile* mf, const cmListFileContext& lfc,
cmExecutionStatus& status): Makefile(mf)
{
cmMakefile::CallStackEntry entry = {&lfc, &status};
this->Makefile->CallStack.push_back(entry);
}
cmMakefileCall::~cmMakefileCall()
{
this->Makefile->CallStack.pop_back();
}
......@@ -1084,15 +1084,8 @@ class cmMakefileCall
public:
cmMakefileCall(cmMakefile* mf,
cmListFileContext const& lfc,
cmExecutionStatus& status): Makefile(mf)
{
cmMakefile::CallStackEntry entry = {&lfc, &status};
this->Makefile->CallStack.push_back(entry);
}
~cmMakefileCall()
{
this->Makefile->CallStack.pop_back();
}
cmExecutionStatus& status);
~cmMakefileCall();
private:
cmMakefile* Makefile;
};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment