1// -*- mode:c++ -*- 2 3// Copyright (c) 2007 The Hewlett-Packard Development Company 4// All rights reserved. 5// 6// Redistribution and use of this software in source and binary forms, 7// with or without modification, are permitted provided that the 8// following conditions are met: --- 74 unchanged lines hidden (view full) --- 83 Macroop * macroop = dynamic_cast<Macroop *>(curMacroop.get()); 84 const ExtMachInst &machInst = 85 macroop ? macroop->getExtMachInst() : dummyExtMachInst; 86 const EmulEnv &env = 87 macroop ? macroop->getEmulEnv() : dummyEmulEnv; 88 // env may not be used in the microop's constructor. 89 RegIndex reg = env.reg; 90 reg = reg; |
91 using namespace RomLabels; |
92 return %s; 93 } 94 ''' 95 96 def __init__(self, name): 97 self.name = name 98 99 # This converts a python bool into a C++ bool --- 26 unchanged lines hidden --- |