Alias "const Op*" -> "Ref".

This commit is contained in:
ReinUsesLisp 2018-08-28 04:01:21 -03:00
parent 765c8833c4
commit 954774f9e8
8 changed files with 77 additions and 78 deletions

View file

@ -9,11 +9,11 @@
namespace Sirit {
const Op* Module::Label() {
Ref Module::Label() {
return AddCode(spv::Op::OpLabel, bound++);
}
const Op* Module::Return() {
Ref Module::Return() {
return AddCode(spv::Op::OpReturn);
}