Commit Graph

1835 Commits

Author SHA1 Message Date
SvyatoslavScherbina 8f1b94f38b Use unsigned types in interop (#1913) 2018-08-24 18:30:56 +03:00
SvyatoslavScherbina 29cddb46bf Support release coroutines (#1909) 2018-08-24 15:35:35 +03:00
Svyatoslav Scherbina d52a3f0c3d Support exposing pointer types when producing framework 2018-08-24 14:15:27 +03:00
Nikolay Igotti 066429831e Top level values can be only accessed from the main thread. (#1922) 2018-08-24 12:37:59 +03:00
Sergey Bogolepov 9b2fc6c6dd Fix inlining of local objects. (#1920) 2018-08-24 10:30:14 +03:00
Dmitriy Dolovov 076f6a7c99 KLIB reader: separate library reading from dependency resolving (#1925) 2018-08-24 10:29:13 +03:00
Nikolay Igotti 59eae5e04b Gross stdlib cleanup (part 2) (#1924) 2018-08-24 10:14:10 +03:00
Nikolay Igotti 4606f02705 Gross stdlib cleanup (part 1). (#1918) 2018-08-23 11:48:37 +03:00
Ilya Matveev 0fd2e29804 SQUASHME: Fix typo 2018-08-23 14:50:36 +07:00
Ilya Matveev 902b9f6f48 [stdlib] Use merge sort for comparables too 2018-08-23 14:50:36 +07:00
Ilya Matveev 04c0cd3dd4 [stdlib] Use merge sort for sortWith 2018-08-23 14:50:36 +07:00
Dmitriy Dolovov 314cd0993b KLIB reader: better isolation of implementation details (#1917)
KLIB reader:
- better isolation of implementation details
- rename entities closer to their meaning: KonanLibrary -> KonanLibraryLayout, KonanLibraryReader -> KonanLibrary
2018-08-23 10:46:58 +03:00
Nikolay Igotti a216bf8903 Freeze top-level val. (#1906) 2018-08-22 14:30:42 +03:00
Dmitriy Dolovov f0cfbb9918 move Kotlin/Native metadata deserialization and KLIB reader to a separate module (#1908)
1. move Kotlin/Native metadata deserialization and KLIB reader to a separate module
2. decouple KLIB reader from ModuleDescriptor creation
2018-08-22 14:01:20 +03:00
Svyatoslav Scherbina 15f3c61152 Fix IrTypeOperator.IMPLICIT_INTEGER_COERCION to unsigned types 2018-08-21 22:59:58 +03:00
Svyatoslav Scherbina 5e054de4c3 Update external tests to 1.3-M2-eap-33 2018-08-21 22:52:14 +03:00
SvyatoslavScherbina 49a32e92c1 Support unsigned types (#1854)
(cherry picked from commit 7b46f93033146462619376d8d008343c2ee75e00)
2018-08-21 18:44:55 +03:00
Vasily Levchenko c78d070455 [compiler][update] 1.3-M2-eap-33 / build: 1.3-M1-eap-77 2018-08-21 18:44:55 +03:00
Sergey Bogolepov 8f7bcf2688 Fix for #1903 (#1905)
Fixed support for classes in inline functions
2018-08-21 11:41:09 +03:00
Nikolay Igotti bed09e1a87 Atomic value setters. (#1902) 2018-08-19 00:49:15 +03:00
Pavel Punegov 5ce370bc11 Add test.disable_update to turn off auto update for debugging 2018-08-17 18:03:41 +03:00
Pavel Punegov 93e1609d5e Disable regex tests on wasm32 due to exceptions usage 2018-08-17 18:03:41 +03:00
Pavel Punegov b1a42d1d3d Return math tests back 2018-08-17 18:03:41 +03:00
Pavel Punegov 7dbfdc047d Update tests before the run 2018-08-17 18:03:41 +03:00
Pavel Punegov 32135429e4 Use testKotlinVersion as a build version to get tests from 2018-08-17 18:03:41 +03:00
Pavel Punegov bb44fdda88 New stdlib tests
- Unzip from the same test-data archive
- Add actual declarations
2018-08-17 18:03:41 +03:00
Pavel Punegov 6b6a0daf61 Temporary change path and fix coroutines package and full_jdk target 2018-08-17 18:03:41 +03:00
Pavel Punegov d503c0c661 Update location 2018-08-17 18:03:41 +03:00
Pavel Punegov 2d5a2c8094 Remove stdlib tests 2018-08-17 18:03:41 +03:00
Pavel Punegov f41b2a7271 Move regex tests from the stdlib 2018-08-17 18:03:41 +03:00
Pavel Punegov b688646f4c Remove old tests 2018-08-17 18:03:41 +03:00
Nikolay Igotti 66767ec3fd Rework frozen lazy to explicitly prevent cyclic garbage. (#1894) 2018-08-17 17:47:35 +03:00
Dmitriy Dolovov d613f12328 move Kotlin/Native metadata (.proto file + generated classes) to a separate module (#1890)
* move Kotlin/Native metadata (.proto file + generated classes) to a separate module
2018-08-17 09:42:42 +03:00
Nikolay Igotti 31f27fb246 Improve zlib test and ImmutableBinaryBlob API 2018-08-16 18:34:31 +03:00
Mike Sinkovsky 3ad52b8736 platform.zlib: fix + mingw + test (#1880) 2018-08-16 17:17:00 +03:00
Sergey Bogolepov b79301d572 Fix for #1880 2018-08-16 10:35:38 +03:00
Igor Chevdar 29c03b258a Implemented KType, KCallable.returnType 2018-08-15 12:17:41 +03:00
Dmitriy Dolovov 146eac0010 fix merge conflicts (Move KonanBuildIns to a separate module) 2018-08-15 10:54:42 +03:00
Sergey Bogolepov 5a66f91da5 Update LLVM to 6.0.1 and WebAssembly target refactoring (#1788)
* wasm updates: removed binaryen, simplified morecore and launcher.js
* Updated LLVM toolchain to 6.0.1
2018-08-14 21:08:45 +03:00
Nikolay Igotti 061ea53853 Make lazy freezing-aware. (#1878) 2018-08-14 15:45:10 +03:00
Vasily Levchenko 79755d8fbf [stdlib and samples][rename] konan -> kotlin.native 2018-08-14 15:05:24 +03:00
Mike Sinkovsky 5ad0012ab1 ImmutableBinaryBlob.asCPointer: fix + test (#1879) 2018-08-14 13:24:23 +03:00
Dmitriy Dolovov a4a235be42 Move KonanBuiltIns to a separate module (#1860)
1. Separate (temporary) modules for the code to be moved to https://github.com/JetBrains/kotlin repo
2. KonanBuiltIns, functions for creation of module descriptors and interop descriptors and moved to "konan.descriptors" module 
3. Re-organizing KonanModuleOrigin and it's inheritors to better naming/understanding
2018-08-14 13:20:28 +03:00
Leonid Startsev 6064cc9a34 CLI loading of compiler ir generation plugins
(cherry picked from commit b0fdfae2ce3aaa9bb5790b9c8ac8d507f2df4235)
2018-08-14 09:56:19 +03:00
Vasily Levchenko b49e7c067f [kotlin compiler][update] 1.2.70-dev-1218 2018-08-14 09:56:19 +03:00
Nikolay Igotti 63d72d3bb3 Make stdlib map freezing aware. (#1876) 2018-08-13 18:35:07 +03:00
Igor Chevdar 235b51daff Fixed bug in DFG layout hash computation 2018-08-13 17:26:03 +03:00
Vasily Levchenko cdbefa6710 [codegen] added konan.internal.NoReorderFields to disable field reordering 2018-08-13 12:32:09 +03:00
Igor Chevdar bcbcaa5d7c Made handling of inconsistent DFG layout softer
Turn off devirtualization and report a warning instead of crashing.
2018-08-10 18:29:56 +03:00
Igor Chevdar 562c1f3961 Fixed bug in devirtualization
In a library fields of objects might be initialized by some of users with unknown type.
2018-08-10 18:29:56 +03:00