summaryrefslogtreecommitdiff
path: root/source/components/dispatcher/dswexec.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/components/dispatcher/dswexec.c')
-rw-r--r--source/components/dispatcher/dswexec.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/components/dispatcher/dswexec.c b/source/components/dispatcher/dswexec.c
index 31db275df..5ae0ad716 100644
--- a/source/components/dispatcher/dswexec.c
+++ b/source/components/dispatcher/dswexec.c
@@ -569,9 +569,11 @@ AcpiDsExecEndOp (
/*
* All opcodes require operand resolution, with the only exceptions
- * being the ObjectType and SizeOf operators.
+ * being the ObjectType and SizeOf operators as well as opcodes that
+ * take no arguments.
*/
- if (!(WalkState->OpInfo->Flags & AML_NO_OPERAND_RESOLVE))
+ if (!(WalkState->OpInfo->Flags & AML_NO_OPERAND_RESOLVE) &&
+ (WalkState->OpInfo->Flags & AML_HAS_ARGS))
{
/* Resolve all operands */