gitweb on Svarog
projekti pod git sistemom za održavanje verzija -- projects under the git version control system
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f860115)
raw | patch | inline | side by side (parent: f860115)
author | Doni Pracner <quinnuendo@gmail.com> | |
Mon, 13 Jan 2014 22:24:03 +0000 (23:24 +0100) | ||
committer | Doni Pracner <quinnuendo@gmail.com> | |
Mon, 13 Jan 2014 22:24:03 +0000 (23:24 +0100) |
src/mjc2wsl.java | patch | blob | history |
diff --git a/src/mjc2wsl.java b/src/mjc2wsl.java
index f27f255ec77b2df8cb983f757cc8203b6c4e0dde..c45de80f96e614e9652247d1919598fca3245f79 100644 (file)
--- a/src/mjc2wsl.java
+++ b/src/mjc2wsl.java
break;
}
//TODO getfield, putfield
+ case getfield:
+ case putfield:{
+ prl(createComment("fields are not processed properly", C_ERR));
+ message("fields are not processed properly", M_ERR);
+ get2();
+ break;
+ }
case const_: {
prl(cmdToEStack(get4()));
//TODO neg, shl, shr, inc
//TODO new_ newarray
+ case new_ :
+ get();//needs a short, but a byte will be taken bellow as well
+ case newarray :{
+ prl(createComment("memory allocation not processed properly", C_ERR));
+ message("memory allocation not processed properly", M_ERR);
+ get();
+ break;
+ }
//TODO aload, asstore, baload, bastore
//TODO arraylength
//TODO pop, dup, dup2