aslanalyze.c (245582) | aslanalyze.c (250838) |
---|---|
1/****************************************************************************** 2 * 3 * Module Name: aslanalyze.c - Support functions for parse tree walks 4 * 5 *****************************************************************************/ 6 7/* 8 * Copyright (C) 2000 - 2013, Intel Corp. --- 367 unchanged lines hidden (view full) --- 376 case PARSEOP_INCREMENT: 377 case PARSEOP_DECREMENT: 378 379 /* These are standalone operators, no return value */ 380 381 return (TRUE); 382 383 default: | 1/****************************************************************************** 2 * 3 * Module Name: aslanalyze.c - Support functions for parse tree walks 4 * 5 *****************************************************************************/ 6 7/* 8 * Copyright (C) 2000 - 2013, Intel Corp. --- 367 unchanged lines hidden (view full) --- 376 case PARSEOP_INCREMENT: 377 case PARSEOP_DECREMENT: 378 379 /* These are standalone operators, no return value */ 380 381 return (TRUE); 382 383 default: |
384 |
|
384 break; 385 } 386 387 /* Examine parent to determine if the return value is used */ 388 389 Parent = Op->Asl.Parent; 390 switch (Parent->Asl.ParseOpcode) 391 { --- 14 unchanged lines hidden (view full) --- 406 407 case PARSEOP_METHOD: 408 case PARSEOP_DEFINITIONBLOCK: 409 case PARSEOP_ELSE: 410 411 return (FALSE); 412 413 default: | 385 break; 386 } 387 388 /* Examine parent to determine if the return value is used */ 389 390 Parent = Op->Asl.Parent; 391 switch (Parent->Asl.ParseOpcode) 392 { --- 14 unchanged lines hidden (view full) --- 407 408 case PARSEOP_METHOD: 409 case PARSEOP_DEFINITIONBLOCK: 410 case PARSEOP_ELSE: 411 412 return (FALSE); 413 414 default: |
415 |
|
414 /* Any other type of parent means that the result is used */ 415 416 return (TRUE); 417 } 418} 419 420 421/******************************************************************************* --- 148 unchanged lines hidden --- | 416 /* Any other type of parent means that the result is used */ 417 418 return (TRUE); 419 } 420} 421 422 423/******************************************************************************* --- 148 unchanged lines hidden --- |