diff options
| author | Jung-uk Kim <jkim@FreeBSD.org> | 2017-12-14 22:56:53 +0000 |
|---|---|---|
| committer | Jung-uk Kim <jkim@FreeBSD.org> | 2017-12-14 22:56:53 +0000 |
| commit | 9ff5d7eeed8c4043df7a61ffe5fd37b481537884 (patch) | |
| tree | ae5d2fdb93f45dd3fa526aa0d7a67ad8e8c98ec7 /source/compiler/asloptions.c | |
| parent | e692a0ddd0131f04acfda4c63b1a4c0c805feef5 (diff) | |
Diffstat (limited to 'source/compiler/asloptions.c')
| -rw-r--r-- | source/compiler/asloptions.c | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/source/compiler/asloptions.c b/source/compiler/asloptions.c index 683aaa2f4ff67..29a5c762d6098 100644 --- a/source/compiler/asloptions.c +++ b/source/compiler/asloptions.c @@ -323,7 +323,7 @@ AslDoOptions ( Gbl_IntegerOptimizationFlag = FALSE; Gbl_ReferenceOptimizationFlag = FALSE; Gbl_OptimizeTrivialParseNodes = FALSE; - Gbl_CaptureComments = TRUE; + AcpiGbl_CaptureComments = TRUE; AcpiGbl_DoDisassemblerOptimizations = FALSE; AcpiGbl_DebugAslConversion = TRUE; AcpiGbl_DmEmitExternalOpcodes = TRUE; @@ -391,7 +391,7 @@ AslDoOptions ( Gbl_IntegerOptimizationFlag = FALSE; Gbl_ReferenceOptimizationFlag = FALSE; Gbl_OptimizeTrivialParseNodes = FALSE; - Gbl_CaptureComments = TRUE; + AcpiGbl_CaptureComments = TRUE; AcpiGbl_DoDisassemblerOptimizations = FALSE; AcpiGbl_DmEmitExternalOpcodes = TRUE; Gbl_DoExternalsInPlace = TRUE; @@ -416,25 +416,11 @@ AslDoOptions ( { case '^': - /* Get the required argument */ - - if (AcpiGetoptArgument (argc, argv)) - { - return (-1); - } - Gbl_DoCompile = FALSE; break; case 'a': - /* Get the required argument */ - - if (AcpiGetoptArgument (argc, argv)) - { - return (-1); - } - Gbl_DoCompile = FALSE; Gbl_DisassembleAll = TRUE; break; @@ -796,8 +782,8 @@ AslDoOptions ( Gbl_IntegerOptimizationFlag = FALSE; Gbl_ReferenceOptimizationFlag = FALSE; Gbl_OptimizeTrivialParseNodes = FALSE; - Gbl_CaptureComments = TRUE; Gbl_DoExternalsInPlace = TRUE; + AcpiGbl_CaptureComments = TRUE; return (0); case 'r': /* Override revision found in table header */ |
