mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-23 22:25:00 -07:00
Inline heap_allocator resize logic on *nix platforms
This commit is contained in:
@@ -538,7 +538,7 @@ lbValue lb_const_hash(lbModule *m, lbValue key, Type *key_type) {
|
||||
i64 length = LLVMConstIntGetSExtValue(len);
|
||||
char const *text = nullptr;
|
||||
if (false && length != 0) {
|
||||
if (LLVMGetConstOpcode(data) != LLVMGetElementPtr) {
|
||||
if (LLVMGetConstOpcode(data) != LLVMGetElementPtr) {
|
||||
return {};
|
||||
}
|
||||
// TODO(bill): THIS IS BROKEN! THIS NEEDS FIXING :P
|
||||
|
||||
Reference in New Issue
Block a user