Skip to content
Snippets Groups Projects
Verified Commit 01d307a0 authored by Recolic Keghart's avatar Recolic Keghart
Browse files

tiny fix

parent f8949de7
No related branches found
No related tags found
No related merge requests found
Pipeline #491 passed with warnings with stages
in 10 minutes and 54 seconds
......@@ -699,8 +699,7 @@ public class CodeGenImpl extends CodeGenBase {
// Label nonError = generateLocalLabel();
if (id.getInferredType() instanceof ClassValueType
&& !id.getInferredType().equals(SymbolType.INT_TYPE)
&& !id.getInferredType().equals(SymbolType.BOOL_TYPE)
&& !id.getInferredType().equals(SymbolType.STR_TYPE)) {
&& !id.getInferredType().equals(SymbolType.BOOL_TYPE)) {
backend.emitBEQZ(tmpReg, errorNone, "CHECK: Object is non-null");
//backend.emitJ(errorNone, "Jump to None error handler");
//backend.emitLocalLabel(nonError, "Object is non-null");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment