Svyatoslav Scherbina
d3185e3e19
Implement very basic Objective-C interop
...
Also refactor StubGenerator
2017-08-16 10:04:23 +03:00
Svyatoslav Scherbina
a38835cb46
Extend libclang API
2017-08-16 10:04:23 +03:00
Svyatoslav Scherbina
ab41017e58
Cache deserialized inline function bodies
2017-08-16 10:04:23 +03:00
Svyatoslav Scherbina
8bd0bb63c9
Remove obsolete workarounds for *va_list* in interop
...
Fix #740
2017-08-16 10:04:23 +03:00
Svyatoslav Scherbina
0f20feb544
Fix name clashes between struct and typedef in interop
2017-08-16 10:04:23 +03:00
Svyatoslav Scherbina
cf8fea5711
Improve interop enum generation
...
Represent equal constants as the main one and its aliases.
2017-08-16 10:04:23 +03:00
Svyatoslav Scherbina
5da5887fc6
Fix resource leak in compiler
2017-08-16 10:04:23 +03:00
Ilya Matveev
cdd235d53a
build: Run performance tests from root project
2017-08-16 10:33:58 +07:00
Ilya Matveev
266047118e
dependencies: Set downloading retry parameters in konan.properties
2017-08-16 10:33:07 +07:00
Ilya Matveev
0ae5df4cfb
dependencies: Hotfix: rerun dependency downloading if it fails
2017-08-16 10:33:07 +07:00
Vasily Levchenko
a7bac61742
[kotlin compiler][update] 1.1-20170811.223234-778
2017-08-14 12:22:40 +03:00
Ilya Matveev
c7843aa9c7
dependencies: Detect unexpected stream end while downloading
2017-08-10 11:42:01 +07:00
Ilya Matveev
53fedbf55c
gradle-plugin: Add dependsOn methods into configs
...
This patch adds the `dependsOn(Task)` method to both interop and
compilation configs. It allows one to use a simple syntax to add
dependencies to compilation/stub generation tasks:
konanArtifacts {
foo { dependsOn anotherTask }
}
Issue: KT-19534
2017-08-10 11:42:01 +07:00
Ilya Matveev
b46a8535d3
gradle-plugin: Show error if konan.home-based classpaths are empty
...
Issue link: https://github.com/JetBrains/kotlin-native/issues/773
2017-08-10 11:42:01 +07:00
Ilya Matveev
1a1148b0d0
gradle-plugin: Set groups and descriptions for building tasks
...
Issue link: https://github.com/JetBrains/kotlin-native/issues/771
2017-08-10 11:42:01 +07:00
Ilya Matveev
73b172f32d
perf: Move benchmarks to separate gradle build
...
This patch separates the benchmark Gradle build from the root one.
It allows us to use the latest (built from sources) Gradle
plugin to compile the benchmarks instead of the released one.
2017-08-10 11:42:01 +07:00
Vasily Levchenko
8296c65aeb
Migrate native to moved common lowers
...
(cherry picked from commit 6665d48017540afd8b8cb2fa0f104cab93e73473)
2017-08-10 06:19:51 +03:00
Mikhael Bogdanov
d9c04eaaf5
Move platform specific symbols to KonanSymbols
...
(cherry picked from commit 40df6da2d78420497c6c2cd3a229ab00fb0d8f36)
2017-08-10 06:19:51 +03:00
Mikhael Bogdanov
d33e8c78d1
Move StringConcatenationLowering and VarargLowering to common lowers
...
(cherry picked from commit 79422eef4ddbde3c17adc19417b9412a59d5da7b)
2017-08-10 06:19:51 +03:00
Mikhael Bogdanov
4a2d4b932b
Specify source for default impl
...
(cherry picked from commit b37fd90128cea61df9c53a5b48bea6092ea9ec57)
2017-08-10 06:19:51 +03:00
Vasily Levchenko
a24c5232cd
[kotlin compiler][update] 1.1-20170809.024631-765
2017-08-10 06:19:51 +03:00
Alexander Gorshenev
c7d5d6851d
Classified the rest of the wasm32 expected failures.
2017-08-09 17:34:26 +03:00
Alexander Gorshenev
77cbd39907
Global initializers for wasm32.
2017-08-09 17:34:26 +03:00
Alexander Gorshenev
26d383c8be
Support grow() operation for wasm32 memory.
2017-08-09 17:23:40 +03:00
Igor Chevdar
e615b08ab7
Set escape analysis to analyze all types including value types.
...
Since a value type might be boxed and this information is missing in IR
the analysis cannot distinguish value types and boxes, so let it analyze
all for now.
2017-08-08 13:45:46 +03:00
Igor Chevdar
56e08e40e8
Added some corner tests on escape analysis
2017-08-07 16:45:51 +03:00
Igor Chevdar
31d2618b9c
Made escape analysis a bit more conservative for now
2017-08-07 16:45:51 +03:00
Robert Hencke
72ca603d71
Reduce boilerplate for applying kotlin-gradle-plugin.
2017-08-07 17:25:52 +07:00
Alexander Gorshenev
a0e15a7776
Eliminated some warnings.
2017-08-07 12:36:32 +03:00
Igor Chevdar
9eb2bb7fbc
Fixed some bugs in escape analysis
2017-08-04 17:48:50 +03:00
Alexander Gorshenev
21ad2d97e6
Fix broken build.
...
The fix for d8 readline() broke hello1 and hello2 tests.
2017-08-04 15:50:27 +03:00
Konstantin Anisimov
51f74b4203
Printing double value - check if it represented as exponential
2017-08-04 16:06:20 +07:00
Konstantin Anisimov
8b7cad339e
Print result coeff as double
2017-08-04 16:06:20 +07:00
Alexander Gorshenev
b4660d03a1
Initial .wasm file generation for the wasm32 target.
...
Some basic launcher.js and runtime.
2017-08-03 17:51:48 +03:00
Alexander Gorshenev
9ec5b24832
Brought some musl math functions for wasm32.
2017-08-03 17:51:48 +03:00
Alexander Gorshenev
c5d78b5b54
Brought Holger Weiss's c99-snprintf to runtime.
2017-08-03 17:51:48 +03:00
Konstantin Anisimov
91fc291bfa
Now each test normalized on Kotlin-jvm time
...
Average value also is average of normalized values
2017-08-03 18:21:49 +07:00
Konstantin Anisimov
99218ba65f
Copyright inserted
...
Results are normalized on run cycles count
2017-08-03 18:21:49 +07:00
Konstantin Anisimov
b3fe93cc18
Enable performance testsuite
2017-08-03 18:21:49 +07:00
Igor Chevdar
df754c0215
Removed debug code
2017-08-03 13:44:42 +03:00
igotti-google
5e55a75d59
Work around 32-bit build problem (struct merging by LLVM)
2017-08-03 00:39:09 +03:00
Nikolay Igotti
beb10306dd
Add Kotlin object inspection to simplify debugging ( #763 )
2017-08-02 18:55:52 +03:00
Igor Chevdar
eabe2435bf
Rewrote escape analysis
2017-08-02 18:44:04 +03:00
Ilya Matveev
7eb2572dc3
gradle-plugin, tests: Use separate methods to edit build.gradle
2017-08-02 20:22:08 +07:00
Ilya Matveev
effe54d470
stdlib: Add also function
2017-08-02 20:20:09 +07:00
Vasily Levchenko
d0ec24a5f2
[kotlin compiler][update] 1.1-20170729.003925-731
2017-07-31 12:56:29 +03:00
Vasily Levchenko
f07273d55f
[debug][test] build fix
2017-07-28 17:52:58 +03:00
Ilya Matveev
843c4514f7
gradle-plugin, tests: remove excludeDependentModules from def-file
2017-07-28 10:57:08 +07:00
Ilya Matveev
10ce5b3b1f
gradle-plugin: Use enum for konan-specific project properties
2017-07-28 10:57:08 +07:00
Ilya Matveev
8b239d1025
gradle-plugin: Annotate properties not used for UP-TO-DATE check
...
This patch annotates all task properties which are not used for
UP-TO-DATE checks with Gradle's @Internal annotation (see https://
docs.gradle.org/4.0/javadoc/org/gradle/api/tasks/Internal.html) to
fix Gradle validation warnings.
2017-07-28 10:57:08 +07:00