mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 06:38:47 +00:00
Fix entity nullptr check
This commit is contained in:
@@ -307,3 +307,4 @@ compile_commands.json
|
|||||||
build/
|
build/
|
||||||
cmake-build*/
|
cmake-build*/
|
||||||
CMakeLists.txt
|
CMakeLists.txt
|
||||||
|
sandbox/
|
||||||
|
|||||||
@@ -4135,7 +4135,7 @@ gb_internal lbValue lb_build_call_expr_internal(lbProcedure *p, Ast *expr) {
|
|||||||
return lb_build_builtin_proc(p, expr, tv, id);
|
return lb_build_builtin_proc(p, expr, tv, id);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool is_objc_call = proc_entity->Procedure.is_objc_impl_or_import;
|
bool is_objc_call = proc_entity && proc_entity->Procedure.is_objc_impl_or_import;
|
||||||
|
|
||||||
// NOTE(bill): Regular call
|
// NOTE(bill): Regular call
|
||||||
lbValue value = {};
|
lbValue value = {};
|
||||||
|
|||||||
Reference in New Issue
Block a user