Commit 1e7fa001 authored by John Zhang's avatar John Zhang

fix: define sizeOf(irbuilderref) = WORD_SIZE_BYTES

parent 52ed1a5f
......@@ -69,6 +69,7 @@ object TypeSizes {
case _: TypeFuncRef => WORD_SIZE_BYTES
case _: TypeThreadRef => WORD_SIZE_BYTES
case _: TypeStackRef => WORD_SIZE_BYTES
case _: TypeIRBuilderRef => WORD_SIZE_BYTES
case _: TypeTagRef64 => 8L
case t @ TypeVector(et, l) => seqPrefixSizeOf(t, l)
case _: TypeUPtr => WORD_SIZE_BYTES
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment