The Wayback Machine - https://web.archive.org/web/20190322171925/https://github.com/scala-native/scala-native
Skip to content
Please note that GitHub no longer supports Internet Explorer.

We recommend upgrading to the latest Microsoft Edge, Google Chrome, or Firefox.

Learn more
Your favorite language gets closer to bare metal. http://scala-native.org
Branch: master
Clone or download
densh Interflow: polymorphic inlining (#1495)
This change adds support for polymorphic inlining based on static target prediction.

Virtual call is replaced with a sequence of instance checks that go to a statically resolved 
method call instead of fully virtual table lookup. Polymorphic inlining is applied whenever 
a virtual call has no more than 4 possible concrete implementations and no more than 
16 implementing classes. 

Polymorphic inlining is enabled in release mode only.
Latest commit 179d7f6 Mar 22, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
auxlib/src/main/scala/scala
ci-docker
clib/src/main/scala/scala/scalanative/libc Factor out libc into its own subproject (#1353) Sep 20, 2018
docker
docs Checker: initial infrastructure (#1408) Dec 17, 2018
javalib/src/main/scala
nativelib/src/main
nir/src/main/scala/scala/scalanative/nir
nirparser/src
nscplugin/src/main
posixlib/src/main/scala/scala/scalanative Implement posix poll (#1242) Mar 8, 2019
project Downgrade to sbt-pgp 1.0.0 (#1379) Nov 6, 2018
sandbox Fix indirect trait method dispatch (#797) Jun 9, 2017
sbt-scala-native/src/main Don't delete workdir on every nativeLink (#1320) Aug 23, 2018
scalalib/overrides-2.11/scala Improve partial evaluation of generic array ops (#1433) Feb 14, 2019
scripted-tests/run
scripts
test-interface-sbt-defs/src/main/scala/sbt/testing Upgrade scalafmt to 1.2.0 (#934) Aug 15, 2017
test-interface-serialization/src/main/scala/scala/scalanative/testinterface/serialization Fixes for the test interface (#845) Jun 22, 2017
test-interface/src/main/scala Add support for TCP Sockets and InetSocketAddress (#914) Aug 31, 2017
test-runner/src/main/scala/scala/scalanative/testinterface
testing-compiler-interface/src/main/java/scala/scalanative/api Build API (#1143) Mar 23, 2018
testing-compiler/src/main/scala/scalanative/compiler
tools/src Interflow: polymorphic inlining (#1495) Mar 22, 2019
unit-tests/src Fix #1479: java.lang.String should throw StringIndexOutOfBoundsExcept… Mar 20, 2019
util/src/main/scala/scala/scalanative Improve code layout of checked undefined behavior (#1432) Feb 14, 2019
.clang-format Add script to format C/C++ code (#632) May 21, 2017
.gitignore
.scalafmt.conf Upgrade scalafmt to 1.2.0 (#934) Aug 15, 2017
.travis.yml
Jenkinsfile Relocate bin/ folder to scripts/ (#1195) Mar 24, 2018
LICENSE.md Add minimal java.time.Duration (#1467) Mar 20, 2019
README.md Clarify license notices (#663) Apr 24, 2017
build.sbt Change to allow experimenting with Metals (#1417) Feb 6, 2019

README.md

You can’t perform that action at this time.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.