diff --git a/source/compiler/aslopt.c b/source/compiler/aslopt.c index 98a021f95..7f4ec4f4e 100644 --- a/source/compiler/aslopt.c +++ b/source/compiler/aslopt.c @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: aslopt- Compiler optimizations - * $Revision: 1.15 $ + * $Revision: 1.16 $ * *****************************************************************************/ @@ -593,7 +593,7 @@ OptOptimizeNamePath ( /* Various required items */ - if (!TargetNode || !WalkState || !Op->Common.Parent) + if (!TargetNode || !WalkState || !AmlNameString || !Op->Common.Parent) { return_VOID; }