mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-19 20:32:21 -07:00
Add trivial switch statement check to use a jump table
This commit is contained in:
+1
-1
@@ -63,7 +63,7 @@ gb_internal cgValue cg_const_value(cgModule *m, cgProcedure *p, Type *type, Exac
|
||||
return cg_const_nil(p, type);
|
||||
|
||||
case ExactValue_Typeid:
|
||||
return cg_typeid(m, value.value_typeid);
|
||||
return cg_typeid(p, value.value_typeid);
|
||||
|
||||
case ExactValue_Procedure:
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user