summaryrefslogtreecommitdiff
path: root/source/compiler/aslpld.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/compiler/aslpld.c')
-rw-r--r--source/compiler/aslpld.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/compiler/aslpld.c b/source/compiler/aslpld.c
index e7964bdbb5bb3..862eef03cf022 100644
--- a/source/compiler/aslpld.c
+++ b/source/compiler/aslpld.c
@@ -682,12 +682,12 @@ OpcDoPld (
/* Disable further optimization */
- Op->Asl.CompileFlags &= ~NODE_COMPILE_TIME_CONST;
+ Op->Asl.CompileFlags &= ~OP_COMPILE_TIME_CONST;
UtSetParseOpName (Op);
/* Child node is the buffer length */
- NewOp = TrAllocateNode (PARSEOP_INTEGER);
+ NewOp = TrAllocateOp (PARSEOP_INTEGER);
NewOp->Asl.AmlOpcode = AML_BYTE_OP;
NewOp->Asl.Value.Integer = 20;
@@ -698,7 +698,7 @@ OpcDoPld (
/* Peer to the child is the raw buffer data */
- NewOp = TrAllocateNode (PARSEOP_RAW_DATA);
+ NewOp = TrAllocateOp (PARSEOP_RAW_DATA);
NewOp->Asl.AmlOpcode = AML_RAW_DATA_BUFFER;
NewOp->Asl.AmlLength = 20;
NewOp->Asl.Value.String = ACPI_CAST_PTR (char, Buffer);