Internals: Create user#Inc routines

This commit is contained in:
Wilson Snyder
2010-04-15 20:56:54 -04:00
parent 10689ffaba
commit 930cbeec17
13 changed files with 27 additions and 36 deletions
+1 -3
View File
@@ -1066,10 +1066,8 @@ private:
AstNode* prevInsStmtp = m_insStmtp;
m_insMode = IM_BEFORE;
m_insStmtp = nodep->stmtsp(); // Might be null if no statements, but we won't use it
if (!nodep->user1()) { // Just one creation needed per function
if (!nodep->user1Inc()) { // Just one creation needed per function
// Expand functions in it
nodep->user1(true);
int modes = 0;
if (nodep->dpiImport()) modes++;
if (nodep->dpiExport()) modes++;