Deleted Added
sdiff udiff text old ( 12334:e0ab29a34764 ) new ( 14037:a1e12c851596 )
full compact
1/*
2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood
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;

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

34
35#include <bitset>
36#include <cassert>
37#include <iostream>
38
39#include "base/logging.hh"
40#include "mem/ruby/common/TypeDefines.hh"
41
42class Set
43{
44 private:
45 // Number of bits in use in this set.
46 // can be defined in build_opts file (default=64).
47 int m_nSize;
48 std::bitset<NUMBER_BITS_PER_SET> bits;
49
50 public:
51 Set() : m_nSize(0) {}
52
53 Set(int size) : m_nSize(size)
54 {

--- 175 unchanged lines hidden ---