ptr/array-value comparison path in eval

This commit is contained in:
Ryan Fleury
2024-08-14 11:29:45 -07:00
parent 918895c091
commit 728120690d
3 changed files with 55 additions and 13 deletions
+4 -2
View File
@@ -498,12 +498,14 @@ e_interpret(String8 bytecode)
case RDI_EvalOp_EqEq:
{
nval.u64 = (svals[0].u64 == svals[1].u64);
B32 result = MemoryMatchArray(svals[0].u512, svals[1].u512);
nval.u64 = !!result;
}break;
case RDI_EvalOp_NtEq:
{
nval.u64 = (svals[0].u64 != svals[1].u64);
B32 result = MemoryMatchArray(svals[0].u512, svals[1].u512);
nval.u64 = !result;
}break;
case RDI_EvalOp_LsEq: