| 667 | } |
| 668 | |
| 669 | int AllocateRegister( std::set<int>& set ) |
| 670 | { |
| 671 | for( int i = 0;; ++i ) |
| 672 | { |
| 673 | auto inserted = set.insert( i ); |
| 674 | if( inserted.second ) |
| 675 | { |
| 676 | return i; |
| 677 | } |
| 678 | } |
| 679 | } |
| 680 | |
| 681 | char GetRegisterType( const Type& type ) |
| 682 | { |
no outgoing calls
no test coverage detected