Load Var
This commit is contained in:
@@ -153,7 +153,7 @@ public class ProgramLLVM {
|
||||
}
|
||||
|
||||
|
||||
public static record loadLLVMImpl(TypeLLVM type, int nbBits,int nbBits2, ValLLVM val) implements ExpressionLLVM{
|
||||
public static record LoadLLVMImpl(ValLLVM val) implements ExpressionLLVM{
|
||||
@Override
|
||||
public <H, S> S accept(ExpressionLLVMVisitor<H, S> v, H h) {
|
||||
return v.visitLoadLLVM(this, h);
|
||||
@@ -161,7 +161,7 @@ public class ProgramLLVM {
|
||||
|
||||
@Override
|
||||
public TypeLLVM getType() {
|
||||
return type;
|
||||
return val().getType();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user