| 34 | |
| 35 | |
| 36 | static Allocator* createDRFAllocator(const Parameters& parameters) |
| 37 | { |
| 38 | Try<Allocator*> allocator = HierarchicalDRFAllocator::create(); |
| 39 | if (allocator.isError()) { |
| 40 | return nullptr; |
| 41 | } |
| 42 | |
| 43 | return allocator.get(); |
| 44 | } |
| 45 | |
| 46 | |
| 47 | // Declares a DRFAllocator module named |