From 276f6d794d61f74eee56968d8a0084e74335c26e Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Wed, 21 Mar 2007 21:09:24 +0000 Subject: [PATCH] Add a junk operand. With no operands, the parser breaks. --HG-- extra : convert_revision : 7410fd3681ed3d9b1293d982ed5f3553a6c75f3f --- src/arch/x86/isa/operands.isa | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/arch/x86/isa/operands.isa b/src/arch/x86/isa/operands.isa index 4b144dce0..20376f38f 100644 --- a/src/arch/x86/isa/operands.isa +++ b/src/arch/x86/isa/operands.isa @@ -96,4 +96,7 @@ def operand_types {{ }}; def operands {{ + # This is just copied from SPARC, because having no operands confuses + # the parser. + 'Rd': ('IntReg', 'udw', 'RD', 'IsInteger', 1) }};