mirror of
https://github.com/janet-lang/janet
synced 2024-12-23 23:10:26 +00:00
Fix gcc errors
This commit is contained in:
parent
6679fb299f
commit
efb5f19d27
@ -832,6 +832,7 @@ Dst dst_asm_decode_instruction(uint32_t instr) {
|
|||||||
dst_wrap_integer((int32_t)instr >> 24));
|
dst_wrap_integer((int32_t)instr >> 24));
|
||||||
}
|
}
|
||||||
#undef oparg
|
#undef oparg
|
||||||
|
return dst_wrap_nil();
|
||||||
}
|
}
|
||||||
|
|
||||||
Dst dst_disasm(DstFuncDef *def) {
|
Dst dst_disasm(DstFuncDef *def) {
|
||||||
|
@ -856,7 +856,6 @@ static void dstc_deinit(DstCompiler *c) {
|
|||||||
DstCompileResult dst_compile(DstCompileOptions opts) {
|
DstCompileResult dst_compile(DstCompileOptions opts) {
|
||||||
DstCompiler c;
|
DstCompiler c;
|
||||||
DstFopts fopts;
|
DstFopts fopts;
|
||||||
DstSlot s;
|
|
||||||
|
|
||||||
dstc_init(&c, opts.env);
|
dstc_init(&c, opts.env);
|
||||||
|
|
||||||
@ -871,7 +870,7 @@ DstCompileResult dst_compile(DstCompileOptions opts) {
|
|||||||
fopts.x = opts.source;
|
fopts.x = opts.source;
|
||||||
|
|
||||||
/* Compile the value */
|
/* Compile the value */
|
||||||
s = dstc_value(fopts);
|
dstc_value(fopts);
|
||||||
|
|
||||||
if (c.result.status == DST_COMPILE_OK) {
|
if (c.result.status == DST_COMPILE_OK) {
|
||||||
c.result.funcdef = dstc_pop_funcdef(&c);
|
c.result.funcdef = dstc_pop_funcdef(&c);
|
||||||
|
Loading…
Reference in New Issue
Block a user