summaryrefslogtreecommitdiffstats
path: root/source/compiler/asloperands.c
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2012-09-14 22:53:11 +0000
committerjkim <jkim@FreeBSD.org>2012-09-14 22:53:11 +0000
commitda9b951a892d96e0521abeec09d4345ddf04ab8d (patch)
tree033c7834a7ab5fe0b48b11ac066372bfd32f2c22 /source/compiler/asloperands.c
parent08e6f22ac3350a67c38e9b42b5dce2a7d5fa08b4 (diff)
downloadFreeBSD-src-da9b951a892d96e0521abeec09d4345ddf04ab8d.zip
FreeBSD-src-da9b951a892d96e0521abeec09d4345ddf04ab8d.tar.gz
Import ACPICA 20120913.
Diffstat (limited to 'source/compiler/asloperands.c')
-rw-r--r--source/compiler/asloperands.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/compiler/asloperands.c b/source/compiler/asloperands.c
index 37274e7..6d4433d 100644
--- a/source/compiler/asloperands.c
+++ b/source/compiler/asloperands.c
@@ -182,6 +182,10 @@ OpnDoMethod (
Next = Next->Asl.Next;
if (Next->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG)
{
+ /* This is a ByteConstExpr, so eval the constant now */
+
+ OpcAmlConstantWalk (Next, 0, NULL);
+
if (Next->Asl.Value.Integer > 15)
{
AslError (ASL_ERROR, ASL_MSG_SYNC_LEVEL, Next, NULL);
OpenPOWER on IntegriCloud