summaryrefslogtreecommitdiff
path: root/source/compiler/aslpld.c
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2017-06-29 18:42:13 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2017-06-29 18:42:13 +0000
commit744d47ba98ced2e2a7d3aff2f894136544386e34 (patch)
tree917f6a025e019c7b80e50a45fa783593b4e3c19e /source/compiler/aslpld.c
parentc457a42be4fca72c51fdca569271b62213d01a37 (diff)
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 e7964bdbb5bb..862eef03cf02 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);