tlb_map.hh (8229:78bf55f23338) tlb_map.hh (8946:fb6c89334b86)
1/*
2 * Copyright (c) 2006 The Regents of The University of Michigan
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;

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

93
94
95 iterator
96 insert(TlbRange &r, TlbEntry *d)
97 {
98 if (intersect(r))
99 return tree.end();
100
1/*
2 * Copyright (c) 2006 The Regents of The University of Michigan
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;

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

93
94
95 iterator
96 insert(TlbRange &r, TlbEntry *d)
97 {
98 if (intersect(r))
99 return tree.end();
100
101 return tree.insert(std::make_pair<TlbRange,TlbEntry*>(r, d)).first;
101 return tree.insert(std::make_pair(r, d)).first;
102 }
103
104 size_t
105 erase(TlbRange k)
106 {
107 return tree.erase(k);
108 }
109

--- 60 unchanged lines hidden ---
102 }
103
104 size_t
105 erase(TlbRange k)
106 {
107 return tree.erase(k);
108 }
109

--- 60 unchanged lines hidden ---