1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

cgen: remaining nodes; match type fix; v2.c is now generated

This commit is contained in:
Alexander Medvednikov
2020-03-04 15:48:43 +01:00
parent 8458ea40f0
commit 37453945d0
8 changed files with 85 additions and 53 deletions

View File

@@ -5,10 +5,12 @@ module wyhash
pub fn rand_u64(seed &u64) u64 {
mut seed0 := seed
// QTODO
unsafe{
mut seed1 := *seed0
seed1+=wyp0
*seed0 = seed1
return wymum(seed1^wyp1, seed1)
}
//return 0
}