lyh552506 / miniC-compiler

for gpt5.0 group
MIT License
4 stars 2 forks source link

[Back_End] need a funtion to give back the available reglist #41

Open lyh552506 opened 4 months ago

lyh552506 commented 4 months ago

In file include/backend/RegAlloc.hpp

class RegAllocImpl {
 public:
  RegAllocImpl(RISCVFunction* func) : m_func(func) {}
  ............
 protected:
  std::vector<RegInfo> avail;  <------- this 
  RISCVFunction* m_func;
  GraphColor* gc;
  int availble;
};

need a function to give me the allocable reglist

lyh552506 commented 1 week ago

已收到,谢谢This is an automatic reply, confirming that your e-mail was received.Thank you