Deleted Added
sdiff udiff text old ( 9104:27d56b644e78 ) new ( 9105:b576c490e7d1 )
full compact
1# Copyright (c) 1999-2008 Mark D. Hill and David A. Wood
2# Copyright (c) 2009 The Hewlett-Packard Development Company
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions are
7# met: redistributions of source code must retain the above copyright
8# notice, this list of conditions and the following disclaimer;

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

1233 for key,val in res.iteritems():
1234 if key.type.ident != "DNUCAStopTable":
1235 val = '''
1236if (!%s.areNSlotsAvailable(%s))
1237 return TransitionResult_ResourceStall;
1238''' % (key.code, val)
1239 case_sorter.append(val)
1240
1241
1242 # Emit the code sequences in a sorted order. This makes the
1243 # output deterministic (without this the output order can vary
1244 # since Map's keys() on a vector of pointers is not deterministic
1245 for c in sorted(case_sorter):
1246 case("$c")
1247
1248 # Record access types for this transition

--- 452 unchanged lines hidden ---