Fixup build errors

This commit is contained in:
ReinUsesLisp 2018-10-28 04:59:15 -03:00
parent 4ff603bbd6
commit 3f845b7c48
6 changed files with 9 additions and 11 deletions

View file

@ -8,10 +8,10 @@ add_library(sirit
operand.cpp operand.cpp
operand.h operand.h
literal.cpp literal.cpp
lnumber.cpp literal-number.cpp
lnumber.h literal-number.h
lstring.cpp literal-string.cpp
lstring.h literal-string.h
common_types.h common_types.h
insts.h insts.h
insts/type.cpp insts/type.cpp

View file

@ -4,7 +4,7 @@
* Lesser General Public License version 2.1 or any later version. * Lesser General Public License version 2.1 or any later version.
*/ */
#include "lnumber.h" #include "literal-number.h"
#include <cassert> #include <cassert>
namespace Sirit { namespace Sirit {

View file

@ -4,7 +4,7 @@
* Lesser General Public License version 2.1 or any later version. * Lesser General Public License version 2.1 or any later version.
*/ */
#include "lstring.h" #include "literal-string.h"
namespace Sirit { namespace Sirit {

View file

@ -5,7 +5,7 @@
*/ */
#include "common_types.h" #include "common_types.h"
#include "lnumber.h" #include "literal-number.h"
#include "operand.h" #include "operand.h"
#include "sirit/sirit.h" #include "sirit/sirit.h"

View file

@ -7,8 +7,8 @@
#include <cassert> #include <cassert>
#include "common_types.h" #include "common_types.h"
#include "lnumber.h" #include "literal-number.h"
#include "lstring.h" #include "literal-string.h"
#include "op.h" #include "op.h"
#include "operand.h" #include "operand.h"

View file

@ -63,8 +63,6 @@ std::vector<u8> Module::Assemble() const {
return bytes; return bytes;
} }
void Module::Optimize(int level) {}
void Module::AddCapability(spv::Capability capability) { void Module::AddCapability(spv::Capability capability) {
capabilities.insert(capability); capabilities.insert(capability);
} }