Rename Ref alias to Id

This commit is contained in:
ReinUsesLisp
2018-10-31 22:20:49 -03:00
parent b8188f5ec4
commit 63ca1b5243
12 changed files with 121 additions and 121 deletions

View File

@@ -9,15 +9,15 @@
namespace Sirit {
Ref Module::OpFunction(Ref result_type,
Id Module::OpFunction(Id result_type,
spv::FunctionControlMask function_control,
Ref function_type) {
Id function_type) {
auto op{new Op{spv::Op::OpFunction, bound++, result_type}};
op->Add(static_cast<u32>(function_control));
op->Add(function_type);
return AddCode(op);
}
Ref Module::OpFunctionEnd() { return AddCode(spv::Op::OpFunctionEnd); }
Id Module::OpFunctionEnd() { return AddCode(spv::Op::OpFunctionEnd); }
} // namespace Sirit