Deleted Added
sdiff udiff text old ( 5145:e0e56dded499 ) new ( 5789:46c548dbe620 )
full compact
1// Copyright (c) 2007 The Regents of The University of Michigan
2// All rights reserved.
3//
4// Redistribution and use in source and binary forms, with or without
5// modification, are permitted provided that the following conditions are
6// met: redistributions of source code must retain the above copyright
7// notice, this list of conditions and the following disclaimer;
8// redistributions in binary form must reproduce the above copyright

--- 133 unchanged lines hidden (view full) ---

142def template BasicDecode {{
143 return new %(class_name)s(machInst);
144}};
145
146// Basic decode template, passing mnemonic in as string arg to constructor.
147def template BasicDecodeWithMnemonic {{
148 return new %(class_name)s("%(mnemonic)s", machInst);
149}};