Remove tscoped. Replace str_index_of with "starts_with". Updated copy_zstring/copy. Fixed utf conversion functions. Initial work on "Path". Lexer fix on \\. ABI fix using distinct types. (bool)"" now works correctly. Bug in $if with switches/loops as the first statement fixed. Version bump.

This commit is contained in:
Christoffer Lerno
2022-10-20 10:46:07 +02:00
committed by Christoffer Lerno
parent 7d58ce0dcb
commit f86ef8a743
15 changed files with 1210 additions and 1493 deletions

View File

@@ -332,7 +332,7 @@ LLVMValueRef llvm_coerce_int_ptr(GenContext *c, LLVMValueRef value, LLVMTypeRef
LLVMValueRef llvm_emit_coerce(GenContext *c, LLVMTypeRef coerced, BEValue *value, Type *original_type)
{
assert(original_type->canonical == value->type->canonical);
assert(type_flatten_distinct(original_type) == type_flatten_distinct(value->type));
LLVMTypeRef llvm_source_type = llvm_get_type(c, value->type);
// 1. If the types match then we're done, just load.