mirror of
https://github.com/azahar-emu/sirit.git
synced 2026-04-04 09:45:57 +02:00
18 lines
443 B
C++
18 lines
443 B
C++
/* This file is part of the sirit project.
|
|
* Copyright (c) 2018 ReinUsesLisp
|
|
* This software may be used and distributed according to the terms of the GNU
|
|
* Lesser General Public License version 2.1 or any later version.
|
|
*/
|
|
|
|
#include "insts.h"
|
|
#include "sirit/sirit.h"
|
|
#include <cassert>
|
|
|
|
namespace Sirit {
|
|
|
|
Ref Module::OpUndef(Ref result_type) {
|
|
return AddCode(new Op(spv::Op::OpUndef, bound++, result_type));
|
|
}
|
|
|
|
} // namespace Sirit
|