mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Add a constructor that got lost
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13297 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3c66c355b6
commit
55a4700857
@ -19,6 +19,9 @@ namespace llvm {
|
|||||||
|
|
||||||
resourceId_t CPUResource::nextId = 0;
|
resourceId_t CPUResource::nextId = 0;
|
||||||
|
|
||||||
|
CPUResource::CPUResource(const std::string& resourceName, int maxUsers)
|
||||||
|
: rname(resourceName), rid(nextId++), maxNumUsers(maxUsers) {}
|
||||||
|
|
||||||
// Check if fromRVec and toRVec have *any* common entries.
|
// Check if fromRVec and toRVec have *any* common entries.
|
||||||
// Assume the vectors are sorted in increasing order.
|
// Assume the vectors are sorted in increasing order.
|
||||||
// Algorithm copied from function set_intersection() for sorted ranges
|
// Algorithm copied from function set_intersection() for sorted ranges
|
||||||
|
Loading…
Reference in New Issue
Block a user