Improve memory tracing, fix 32-bit platforms (#815)

This commit is contained in:
Nikolay Igotti
2017-08-29 10:21:47 +03:00
committed by GitHub
parent 1d434899cb
commit 7d72beb27c
8 changed files with 86 additions and 124 deletions
@@ -33,6 +33,7 @@ private val dataModel: DataModel = when (System.getProperty("sun.arch.data.model
else -> throw IllegalStateException()
}
// Must be only used in interop, contains host pointer size, not target!
val pointerSize: Int = dataModel.pointerSize.toInt()
object nativeMemUtils {