commit | 4def697903763efbcbf601d3eb1eeb629ecfb6c2 | [log] [tgz] |
---|---|---|
author | Rich Lane <rlane@bigswitch.com> | Mon Dec 09 17:44:43 2013 -0800 |
committer | Rich Lane <rlane@bigswitch.com> | Mon Dec 09 18:03:07 2013 -0800 |
tree | 40af2388a543d3ec44dbc54907cdaa5135e7d563 | |
parent | 2c9938ea92a9b233d0484ac34170d698888d8a88 [diff] [blame] |
loci: use ID classes from the IR Instead of building them itself.
diff --git a/c_gen/loxi_utils_legacy.py b/c_gen/loxi_utils_legacy.py index e20155d..9abca52 100644 --- a/c_gen/loxi_utils_legacy.py +++ b/c_gen/loxi_utils_legacy.py
@@ -180,6 +180,8 @@ """ Return True if cls_name is an instruction object """ + if cls.find("of_instruction_id") == 0: + return False if cls.find("of_instruction") == 0: return True