Fixed printOperands to handle <NaR>

git-svn-id: svn://10.0.0.236/trunk@76929 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rogerl%netscape.com
2000-08-23 01:07:19 +00:00
parent cbac8d2364
commit 3f8f37a462
2 changed files with 6 additions and 4 deletions

View File

@@ -430,7 +430,7 @@ sub collect {
$printops_decl .= ($dec_list =~ /RegisterList/) ?
"const JSValues& registers" :
"const JSValues& /*registers*/";
"const JSValues& registers";
$printops_decl .= ") {\n";
$class_decs .= ($init_tab . $tab .
@@ -582,7 +582,8 @@ sub get_printops_body {
for $type (@types) {
if ($type eq "TypedRegister") {
push (@oplist, "mOp$op.first");
push (@oplist, "getRegisterValue(registers, mOp$op.first)");
# push (@oplist, "mOp$op.first");
# push (@oplist, "\"R\" << mOp$op.first << '=' << registers[mOp$op.first]");
} elsif ($type eq "RegisterList") {
push (@oplist, "ArgList(mOp$op, registers)");