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/aslcodegen.c | |
| parent | 67ac2c42d552618270f8ba5431d63944a35a0ee7 (diff) | |
Notes
Diffstat (limited to 'source/compiler/aslcodegen.c')
| -rw-r--r-- | source/compiler/aslcodegen.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/compiler/aslcodegen.c b/source/compiler/aslcodegen.c index 5e25d0d24441..30e79841a276 100644 --- a/source/compiler/aslcodegen.c +++ b/source/compiler/aslcodegen.c @@ -590,6 +590,12 @@ CgWriteNode ( return; } + if ((Op->Asl.ParseOpcode == PARSEOP_EXTERNAL) && + Gbl_DoExternals == FALSE) + { + return; + } + Op->Asl.FinalAmlLength = 0; switch (Op->Asl.AmlOpcode) |
