[JVM_IR] Move methods that generate LN into LineNumberMapper class

This commit is contained in:
Ivan Kylchik
2023-07-06 18:57:35 +02:00
committed by Space Team
parent b10f6907a7
commit 1dec9fc675
6 changed files with 115 additions and 86 deletions
@@ -88,7 +88,7 @@ class SerializationJvmIrIntrinsicSupport(
mv.store(storedIndex, materialVal.type)
IntrinsicType.WithModule(storedIndex)
} else {
codegen.markLineNumber(expression)
expression.markLineNumber(startOffset = true)
IntrinsicType.Simple
}
generateSerializerForType(