Skip to content

Commit 9fb3c29

Browse files
committed
readme
1 parent c62fe4e commit 9fb3c29

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

README.md

+13-8
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,31 @@
44
An Example Project Show Convert Java Byte Code to LLVM IR assembler , compile standalone executable file
55

66
This project is based on [class2ir](https://github.com/MParygin/class2ir), that based on an old llvm version.
7-
So I've changed some instruction syntex, and repaired bug, enhanced functional.
7+
So I've changed instruction syntax, refactor to stack mode to fix branch problem, and repaired some bugs.
88

99
### Currently:
1010
Generated CentOS_x64 and MacOS executable file, and say "Hello world".
1111

1212
### Make:
1313
1. Enter directory java2llvm/
14-
2. Run mac_build.sh or centos_build.sh , then you will get a.out here.
14+
2. Run ***mac_build.sh*** or ***centos_build.sh*** , then you will get a.out here.
1515

1616
### Requirements:
17-
CentOS 7.0 x86_64
1817
java 1.8
19-
llvm-as / llc / clang 5.0
20-
make
18+
* Centos:
19+
CentOS 7.0 x86_64
20+
llvm-as / llc / clang 5.0
21+
make
22+
* MacOS
23+
MacOS 10.15
24+
XCode with cli tools 11.0
25+
2126

2227
### Known issue:
23-
* No GC.
28+
* No GC ,can add if free time.
2429
* Maybe some of java instruction can't work, need test
25-
* some of java instruction not implementation , see MV.java
26-
* Object memory allocation
30+
* some of java instruction behavior simplify , eg. invokevirtual
31+
* Object memory allocation , like NO inheirt parent class field.
2732

2833
### change log:
2934
* Add base class java.lang.*, java.io.PrintStream

0 commit comments

Comments
 (0)