Add Op* prefix to instructions that have to be emited

This commit is contained in:
ReinUsesLisp 2018-10-31 21:22:00 -03:00
parent ba3a3a74d7
commit a08aeec982
15 changed files with 149 additions and 144 deletions

View file

@ -7,8 +7,8 @@
#include <cassert>
#include "common_types.h"
#include "literal-number.h"
#include "literal-string.h"
#include "literal_number.h"
#include "literal_string.h"
#include "op.h"
#include "operand.h"
@ -88,6 +88,7 @@ void Op::Add(const Literal& literal) {
return LiteralNumber::Create(std::get<5>(literal));
default:
assert(!"invalid literal type");
abort();
}
}();
Sink(operand);