Merge branch 'targetBytecode' of ssh://gohorb.ba-horb.de/bahome/projekt/git/JavaCompilerCore into targetBytecode

This commit is contained in:
Victorious3 2022-10-02 18:28:00 +02:00
commit c40fbd9399
2 changed files with 15 additions and 5 deletions

View File

@ -10,6 +10,10 @@ public class Inf {
w=y; w=y;
y=a; y=a;
b=a; b=a;
var c;
var d;
c = v;
d = v;
} }
} }
@ -25,21 +29,27 @@ TPH M m(TPH N x, TPH O y, TPH P a)({
(w)::TPH S = (y)::TPH O; (w)::TPH S = (y)::TPH O;
(y)::TPH O = (a)::TPH P; (y)::TPH O = (a)::TPH P;
(b)::TPH T = (a)::TPH P; (b)::TPH T = (a)::TPH P;
TPH U c;
TPH V d;
(c)::TPH U = (v)::TPH R;
(d)::TPH V = (v)::TPH R;
return; return;
})::TPH U })::TPH W
Inf()({ Inf()({
super(()); super(());
})::TPH X })::TPH Z
} }
// c::U d::V
// \ /
// v::R w::S // v::R w::S
// \ / // \ /
// z::Q y::O b::T // z::Q y::O b::T
// \ / \ / // \ / \ /
// x::N a::P // x::N a::P
RESULT Final: [[(TPH O < TPH S), (TPH P < TPH O), (TPH O < TPH R), (TPH P < TPH T), (TPH M = void), (TPH N < TPH O), (TPH N < TPH Q)]] RESULT Final: [[(TPH N < TPH O), (TPH R < TPH V), (TPH N < TPH Q), (TPH P < TPH O), (TPH R < TPH U), (TPH M = void), (TPH O < TPH S), (TPH O < TPH R), (TPH P < TPH T)]]
Simplified constraints: [(TPH O < TPH S), (TPH P < TPH O), (TPH O < TPH R), (TPH P < TPH T), (TPH N < TPH O), (TPH N < TPH Q)] Simplified constraints: [(TPH O < TPH S), (TPH P < TPH O), (TPH O < TPH R), (TPH P < TPH T), (TPH N < TPH O), (TPH N < TPH Q)]
m: [(TPH DDV = java.lang.Object), (TPH DDX = java.lang.Object), (TPH DDX < TPH DDV), (TPH N < TPH DDX), (TPH P < TPH DDX)] m: [(TPH DDV = java.lang.Object), (TPH DDX = java.lang.Object), (TPH DDX < TPH DDV), (TPH N < TPH DDX), (TPH P < TPH DDX)]
Class Inf: [] Class Inf: []

View File

@ -1,6 +1,6 @@
public class SimpleCycle { public class SimpleCycle {
m(a,b,d){ m(){
var g; var g;
var h; var h;
g = h; g = h;