gingerBill 4 years ago
parent
commit
31f1e0aeae
2 changed files with 1 additions and 2 deletions
  1. 1 0
      src/checker.cpp
  2. 0 2
      src/llvm_backend.cpp

+ 1 - 0
src/checker.cpp

@@ -13,6 +13,7 @@ bool is_operand_value(Operand o) {
 	case Addressing_Constant:
 	case Addressing_Constant:
 	case Addressing_MapIndex:
 	case Addressing_MapIndex:
 	case Addressing_OptionalOk:
 	case Addressing_OptionalOk:
+	case Addressing_OptionalOkPtr:
 	case Addressing_SoaVariable:
 	case Addressing_SoaVariable:
 	case Addressing_SwizzleValue:
 	case Addressing_SwizzleValue:
 	case Addressing_SwizzleVariable:
 	case Addressing_SwizzleVariable:

+ 0 - 2
src/llvm_backend.cpp

@@ -8470,9 +8470,7 @@ lbValue lb_emit_transmute(lbProcedure *p, lbValue value, Type *t) {
 		return lb_emit_load(p, d);
 		return lb_emit_load(p, d);
 	}
 	}
 
 
-
 	res.value = LLVMBuildBitCast(p->builder, value.value, lb_type(p->module, t), "");
 	res.value = LLVMBuildBitCast(p->builder, value.value, lb_type(p->module, t), "");
-	// GB_PANIC("lb_emit_transmute");
 	return res;
 	return res;
 }
 }