Fix new inlining to be less aggressive

This commit is contained in:
Wilson Snyder 2014-11-27 12:04:16 -05:00
parent 4944383769
commit e002b0e25f
1 changed files with 1 additions and 1 deletions

View File

@ -4750,7 +4750,7 @@ public:
string rtnTypeVoid() const { return ((m_rtnType=="") ? "void" : m_rtnType); }
bool dontCombine() const { return m_dontCombine || funcType()!=AstCFuncType::FT_NORMAL; }
void dontCombine(bool flag) { m_dontCombine = flag; }
bool dontInline() const { return !dontCombine() && !slow() && !skipDecl() && !funcPublic(); }
bool dontInline() const { return dontCombine() || slow() || skipDecl() || funcPublic(); }
bool skipDecl() const { return m_skipDecl; }
void skipDecl(bool flag) { m_skipDecl = flag; }
bool declPrivate() const { return m_declPrivate; }