diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2016-03-18 21:13:19 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2016-03-18 21:13:19 +0000 |
commit | 937fa60dd2f2b6264fb99f22b638190a3fef996b (patch) | |
tree | 0dc0bf084f8f2e8a00eec502c9893e78b5a4b088 /source/compiler/aslcompile.c | |
parent | 67ac2c42d552618270f8ba5431d63944a35a0ee7 (diff) |
Notes
Diffstat (limited to 'source/compiler/aslcompile.c')
-rw-r--r-- | source/compiler/aslcompile.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/source/compiler/aslcompile.c b/source/compiler/aslcompile.c index 54c863e7638b..a2a03e9facfd 100644 --- a/source/compiler/aslcompile.c +++ b/source/compiler/aslcompile.c @@ -281,11 +281,14 @@ CmDoCompile ( /* Resolve External Declarations */ - Event = UtBeginEvent ("Resolve all Externals"); - DbgPrint (ASL_DEBUG_OUTPUT, "\nResolve Externals\n\n"); - TrWalkParseTree (Gbl_ParseTreeRoot, ASL_WALK_VISIT_TWICE, - ExAmlExternalWalkBegin, ExAmlExternalWalkEnd, NULL); - UtEndEvent (Event); + if (Gbl_DoExternals) + { + Event = UtBeginEvent ("Resolve all Externals"); + DbgPrint (ASL_DEBUG_OUTPUT, "\nResolve Externals\n\n"); + TrWalkParseTree (Gbl_ParseTreeRoot, ASL_WALK_VISIT_TWICE, + ExAmlExternalWalkBegin, ExAmlExternalWalkEnd, NULL); + UtEndEvent (Event); + } /* * Semantic analysis. This can happen only after the |