aboutsummaryrefslogtreecommitdiff
path: root/source/compiler/aslfold.c
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2015-06-18 17:27:40 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2015-06-18 17:27:40 +0000
commitf3bbb1ca6c1b2b877d015a8f5f0c67e48a7a57ae (patch)
tree621303c71b8318af14f03b2d426d3026537e2dfb /source/compiler/aslfold.c
parent764ef0515d13e66403dc8a0578ff91b88675ade6 (diff)
downloadsrc-f3bbb1ca6c1b2b877d015a8f5f0c67e48a7a57ae.tar.gz
src-f3bbb1ca6c1b2b877d015a8f5f0c67e48a7a57ae.zip
Import ACPICA 20150619.vendor/acpica/20150619
Notes
Notes: svn path=/vendor-sys/acpica/dist/; revision=284563 svn path=/vendor-sys/acpica/20150619/; revision=284564; tag=vendor/acpica/20150619
Diffstat (limited to 'source/compiler/aslfold.c')
-rw-r--r--source/compiler/aslfold.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/source/compiler/aslfold.c b/source/compiler/aslfold.c
index 6baa081359d8..0b3ef8d166a9 100644
--- a/source/compiler/aslfold.c
+++ b/source/compiler/aslfold.c
@@ -236,6 +236,8 @@ OpcAmlCheckForConstant (
*/
if (WalkState->Opcode == AML_BUFFER_OP)
{
+ DbgPrint (ASL_PARSE_OUTPUT,
+ "\nBuffer+Buffer->Buffer constant reduction is not supported yet");
Status = AE_TYPE;
goto CleanupAndExit;
}
@@ -496,6 +498,10 @@ TrTransformToStoreOp (
goto EvalError;
}
+ /* Truncate any subtree expressions, they have been evaluated */
+
+ Child1->Asl.Child = NULL;
+
/* Folded constant is in ObjDesc, store into Child1 */
TrInstallReducedConstant (Child1, ObjDesc);
@@ -507,11 +513,6 @@ TrTransformToStoreOp (
UtSetParseOpName (Op);
Op->Common.Parent = OriginalParent;
- /* Truncate any subtree expressions, they have been evaluated */
-
- Child1->Asl.Child = NULL;
- Child2->Asl.Child = NULL;
-
/* First child is the folded constant */
/* Second child will be the target */