Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
loicottet committed Jun 9, 2017
1 parent 5099c3d commit d1d1138
Show file tree
Hide file tree
Showing 16 changed files with 34,501 additions and 21,876 deletions.
432 changes: 147 additions & 285 deletions GenAssembly.scala

Large diffs are not rendered by default.

188 changes: 0 additions & 188 deletions builtins/builtins.c

This file was deleted.

28 changes: 0 additions & 28 deletions builtins/unwind.c

This file was deleted.

2 changes: 1 addition & 1 deletion compile.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh

gcc -g -Wfatal-errors main.c builtins/*.c opcode_offset_table.c assembly.S loop.S -o main
gcc -g -Wfatal-errors src/*.c src/builtins/*.c src/*.S -Iinc/ -o main
2 changes: 2 additions & 0 deletions builtins/builtins.h → inc/builtins.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ typedef struct {
sn_ptr_t vtable[0];
} sn_rtti_t;

extern char* data;
void* data_at(sn_ptr_t addr);
void *scalanative_alloc(uint64_t info, int64_t size);

#endif /* __BUILTINS_H__ */
9 changes: 0 additions & 9 deletions opcode_offset_table.h → inc/opcode_offset_table.h
Original file line number Diff line number Diff line change
Expand Up @@ -13507,15 +13507,6 @@ extern void* assembly_f010 asm("assembly_f010");
extern void* assembly_f011 asm("assembly_f011");
extern void* assembly_f012 asm("assembly_f012");
extern void* assembly_f013 asm("assembly_f013");
extern void* assembly_f014 asm("assembly_f014");
extern void* assembly_f015 asm("assembly_f015");
extern void* assembly_f016 asm("assembly_f016");
extern void* assembly_f017 asm("assembly_f017");
extern void* assembly_f018 asm("assembly_f018");
extern void* assembly_f019 asm("assembly_f019");
extern void* assembly_f01a asm("assembly_f01a");
extern void* assembly_f01b asm("assembly_f01b");
extern void* assembly_f01c asm("assembly_f01c");
extern void* assembly_fe00 asm("assembly_fe00");
extern void* assembly_fe01 asm("assembly_fe01");
extern void* assembly_fe02 asm("assembly_fe02");
Expand Down
3 changes: 0 additions & 3 deletions run.sh

This file was deleted.

Loading

0 comments on commit d1d1138

Please sign in to comment.