This is initial implementation of serializer/deserializer for inline IR bodies.

The deserialization is disabled by default.

Use `-enable deserializer` to enable it.
Use `-verbose deserializer` to watch it crunch.
This commit is contained in:
Alexander Gorshenev
2017-01-10 15:13:40 +03:00
committed by alexander-gorshenev
parent 4a4225fd72
commit ff8acd21e6
30 changed files with 3180 additions and 70 deletions
@@ -23,6 +23,7 @@ abstract class KonanTest extends JavaExec {
String testData = null
int expectedExitStatus = 0
List<String> arguments = null
List<String> flags = null
boolean enabled = true
boolean run = true
@@ -193,7 +194,7 @@ class TestFailedException extends RuntimeException {
@ParallelizableTask
class RunKonanTest extends KonanTest {
void compileTest(List<String> filesToCompile, String exe) {
runCompiler(filesToCompile, exe, [])
runCompiler(filesToCompile, exe, flags?:[])
}
}