Revision override now affects the compiler internally (for constant

folding)


date	2005.05.16.22.32.00;	author rmoore1;	state Exp;
This commit is contained in:
aystarik 2005-06-29 16:07:04 +00:00
parent 86e48db911
commit 079cbd9b18

View File

@ -2,7 +2,7 @@
/******************************************************************************
*
* Module Name: aslopcode - AML opcode generation
* $Revision: 1.69 $
* $Revision: 1.70 $
*
*****************************************************************************/
@ -197,18 +197,26 @@ OpcGetIntegerWidth (
{
ACPI_PARSE_OBJECT *Child;
if (!Op)
{
return;
}
Child = Op->Asl.Child;
Child = Child->Asl.Next;
Child = Child->Asl.Next;
if (Gbl_RevisionOverride)
{
AcpiUtSetIntegerWidth (Gbl_RevisionOverride);
}
else
{
Child = Op->Asl.Child;
Child = Child->Asl.Next;
Child = Child->Asl.Next;
/* Use the revision to set the integer width */
/* Use the revision to set the integer width */
AcpiUtSetIntegerWidth ((UINT8) Child->Asl.Value.Integer);
AcpiUtSetIntegerWidth ((UINT8) Child->Asl.Value.Integer);
}
}