mirror of
https://git.suyu.dev/suyu/sirit.git
synced 2025-12-27 01:36:46 +01:00
Alias "const Op*" -> "Ref".
This commit is contained in:
parent
765c8833c4
commit
954774f9e8
8 changed files with 77 additions and 78 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue