diff options
Diffstat (limited to 'source/compiler/aslprintf.c')
-rw-r--r-- | source/compiler/aslprintf.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source/compiler/aslprintf.c b/source/compiler/aslprintf.c index a9584bc5caa3..e5f56f11fd93 100644 --- a/source/compiler/aslprintf.c +++ b/source/compiler/aslprintf.c @@ -191,7 +191,7 @@ OpcDoPrintf ( /* Store destination is the Debug op */ - DestOp = TrAllocateNode (PARSEOP_DEBUG); + DestOp = TrAllocateOp (PARSEOP_DEBUG); DestOp->Asl.AmlOpcode = AML_DEBUG_OP; DestOp->Asl.Parent = Op; DestOp->Asl.LogicalLineNumber = Op->Asl.LogicalLineNumber; @@ -296,7 +296,7 @@ OpcParsePrintf ( NewString = UtStringCacheCalloc (StringLength + 1); strncpy (NewString, StartPosition, StringLength); - NewOp = TrAllocateNode (PARSEOP_STRING_LITERAL); + NewOp = TrAllocateOp (PARSEOP_STRING_LITERAL); NewOp->Asl.Value.String = NewString; NewOp->Asl.AmlOpcode = AML_STRING_OP; NewOp->Asl.AcpiBtype = ACPI_BTYPE_STRING; @@ -357,7 +357,7 @@ OpcParsePrintf ( */ if (!Op->Asl.Child) { - NewOp = TrAllocateNode (PARSEOP_STRING_LITERAL); + NewOp = TrAllocateOp (PARSEOP_STRING_LITERAL); NewOp->Asl.Value.String = ""; NewOp->Asl.AmlOpcode = AML_STRING_OP; NewOp->Asl.AcpiBtype = ACPI_BTYPE_STRING; @@ -385,7 +385,7 @@ OpcParsePrintf ( NewString = UtStringCacheCalloc (StringLength + 1); strncpy (NewString, StartPosition, StringLength); - NewOp = TrAllocateNode (PARSEOP_STRING_LITERAL); + NewOp = TrAllocateOp (PARSEOP_STRING_LITERAL); NewOp->Asl.Value.String = NewString; NewOp->Asl.AcpiBtype = ACPI_BTYPE_STRING; NewOp->Asl.AmlOpcode = AML_STRING_OP; @@ -423,7 +423,7 @@ OpcParsePrintf ( /* Disable further optimization */ - Op->Asl.CompileFlags &= ~NODE_COMPILE_TIME_CONST; + Op->Asl.CompileFlags &= ~OP_COMPILE_TIME_CONST; UtSetParseOpName (Op); /* Set Store destination */ @@ -461,7 +461,7 @@ OpcCreateConcatenateNode ( return; } - NewConcatOp = TrAllocateNode (PARSEOP_CONCATENATE); + NewConcatOp = TrAllocateOp (PARSEOP_CONCATENATE); NewConcatOp->Asl.AmlOpcode = AML_CONCATENATE_OP; NewConcatOp->Asl.AcpiBtype = 0x7; NewConcatOp->Asl.LogicalLineNumber = Op->Asl.LogicalLineNumber; @@ -479,7 +479,7 @@ OpcCreateConcatenateNode ( /* Third arg is Zero (not used) */ NewConcatOp->Asl.Child->Asl.Next->Asl.Next = - TrAllocateNode (PARSEOP_ZERO); + TrAllocateOp (PARSEOP_ZERO); NewConcatOp->Asl.Child->Asl.Next->Asl.Next->Asl.Parent = NewConcatOp; |