diff options
Diffstat (limited to 'source/compiler/aslwalks.c')
| -rw-r--r-- | source/compiler/aslwalks.c | 7 | 
1 files changed, 5 insertions, 2 deletions
diff --git a/source/compiler/aslwalks.c b/source/compiler/aslwalks.c index a4e5a8cdd767..357b92d0b38d 100644 --- a/source/compiler/aslwalks.c +++ b/source/compiler/aslwalks.c @@ -104,9 +104,12 @@ AnMethodTypingWalkEnd (                   * The called method is untyped at this time (typically a                   * forward reference).                   * -                 * Check for a recursive method call first. +                 * Check for a recursive method call first. Note: the +                 * Child->Node will be null if the method has not been +                 * resolved.                   */ -                if (Op->Asl.ParentMethod != Op->Asl.Child->Asl.Node->Op) +                if (Op->Asl.Child->Asl.Node && +                    (Op->Asl.ParentMethod != Op->Asl.Child->Asl.Node->Op))                  {                      /* We must type the method here */  | 
