Deleted Added
full compact
aslanalyze.c (204773) aslanalyze.c (206117)
1
2/******************************************************************************
3 *
4 * Module Name: aslanalyze.c - check for semantic errors
5 *
6 *****************************************************************************/
7
8/******************************************************************************

--- 1143 unchanged lines hidden (view full) ---

1152 ApCheckForPredefinedMethod (Op, MethodInfo);
1153 ACPI_FREE (MethodInfo);
1154 break;
1155
1156
1157 case PARSEOP_RETURN:
1158
1159 /*
1
2/******************************************************************************
3 *
4 * Module Name: aslanalyze.c - check for semantic errors
5 *
6 *****************************************************************************/
7
8/******************************************************************************

--- 1143 unchanged lines hidden (view full) ---

1152 ApCheckForPredefinedMethod (Op, MethodInfo);
1153 ACPI_FREE (MethodInfo);
1154 break;
1155
1156
1157 case PARSEOP_RETURN:
1158
1159 /*
1160 * If the parent is a predefined method name, attempt to typecheck
1161 * the return value. Only static types can be validated.
1162 */
1163 ApCheckPredefinedReturnValue (Op, MethodInfo);
1164
1165 /*
1160 * The parent block does not "exit" and continue execution -- the
1161 * method is terminated here with the Return() statement.
1162 */
1163 Op->Asl.Parent->Asl.CompileFlags |= NODE_HAS_NO_EXIT;
1164
1165 /* Used in the "typing" pass later */
1166
1167 Op->Asl.ParentMethod = MethodInfo->Op;

--- 847 unchanged lines hidden ---
1166 * The parent block does not "exit" and continue execution -- the
1167 * method is terminated here with the Return() statement.
1168 */
1169 Op->Asl.Parent->Asl.CompileFlags |= NODE_HAS_NO_EXIT;
1170
1171 /* Used in the "typing" pass later */
1172
1173 Op->Asl.ParentMethod = MethodInfo->Op;

--- 847 unchanged lines hidden ---