Deleted Added
full compact
aslfold.c (118611) aslfold.c (123315)
1
2/******************************************************************************
3 *
4 * Module Name: aslfold - Constant folding
1
2/******************************************************************************
3 *
4 * Module Name: aslfold - Constant folding
5 * $Revision: 7 $
5 * $Revision: 8 $
6 *
7 *****************************************************************************/
8
9/******************************************************************************
10 *
11 * 1. Copyright Notice
12 *
13 * Some or all of this work - Copyright (c) 1999 - 2003, Intel Corp.

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

456 {
457 case ACPI_TYPE_INTEGER:
458
459 Op->Asl.ParseOpcode = PARSEOP_INTEGER;
460 Op->Common.Value.Integer = ObjDesc->Integer.Value;
461 OpcSetOptimalIntegerSize (Op);
462
463 DbgPrint (ASL_PARSE_OUTPUT, "Constant expression reduced to (INTEGER) %8.8X%8.8X\n",
6 *
7 *****************************************************************************/
8
9/******************************************************************************
10 *
11 * 1. Copyright Notice
12 *
13 * Some or all of this work - Copyright (c) 1999 - 2003, Intel Corp.

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

456 {
457 case ACPI_TYPE_INTEGER:
458
459 Op->Asl.ParseOpcode = PARSEOP_INTEGER;
460 Op->Common.Value.Integer = ObjDesc->Integer.Value;
461 OpcSetOptimalIntegerSize (Op);
462
463 DbgPrint (ASL_PARSE_OUTPUT, "Constant expression reduced to (INTEGER) %8.8X%8.8X\n",
464 ACPI_HIDWORD (ObjDesc->Integer.Value),
465 ACPI_LODWORD (ObjDesc->Integer.Value));
464 ACPI_FORMAT_UINT64 (ObjDesc->Integer.Value));
466 break;
467
468
469 case ACPI_TYPE_STRING:
470
471 Op->Asl.ParseOpcode = PARSEOP_STRING_LITERAL;
472 Op->Common.AmlOpcode = AML_STRING_OP;
473 Op->Asl.AmlLength = ACPI_STRLEN (ObjDesc->String.Pointer) + 1;

--- 59 unchanged lines hidden ---
465 break;
466
467
468 case ACPI_TYPE_STRING:
469
470 Op->Asl.ParseOpcode = PARSEOP_STRING_LITERAL;
471 Op->Common.AmlOpcode = AML_STRING_OP;
472 Op->Asl.AmlLength = ACPI_STRLEN (ObjDesc->String.Pointer) + 1;

--- 59 unchanged lines hidden ---