diff options
author | Kenneth Graunke <[email protected]> | 2014-05-16 02:21:51 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2015-01-19 13:13:34 -0800 |
commit | d1533d87cc7e2c39e7ce9dc838b45a2c39c96e33 (patch) | |
tree | 881f381238c2eddd15bf9327ed193e514cb19be7 /.dir-locals.el | |
parent | 5b01512df3328711968dea7240ae817721c79774 (diff) |
i965: Replace fs_reg(fs_visitor, type) with fs_visitor::vgrf(type).
I dislike how fs_reg has a constructor that knows about fs_visitor.
Apart from that, it stands alone, with no need to interact with the
rest of the compiler. Which is sensible - a class that represents
a register should do just that. Allocating virtual register numbers
should be left up to the compiler (fs_visitor).
This patch replaces the constructor with a new fs_visitor::vgrf method,
eliminating fs_reg's dependency on fs_visitor. It ends up being no
more code.
v2: Rebase from May 2014 -> January 2015.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to '.dir-locals.el')
0 files changed, 0 insertions, 0 deletions