Commit Graph

1761 Commits

Author SHA1 Message Date
Nikolay Igotti bc15678cd6 Atomic lazy getter. (#1769) 2018-07-06 13:40:11 +03:00
Pavel Punegov 96b0d10746 Implement LC random generator and Collection.shuffle 2018-07-05 14:51:34 +03:00
Svyatoslav Scherbina b6c7d2d7c3 Export internal declarations too
Mangle internal function names with module name

Fix #1758
2018-07-05 06:40:57 +03:00
Svyatoslav Scherbina 155b7b698e Fix minor bug in memory management
Properly handle the case when the program finishes with empty 'toFree' buffer
but non-empty deallocation queue.
2018-07-04 22:31:49 +03:00
Igor Chevdar f4fef09447 Fixed external tests
Marked all mutable objects with konan.ThreadLocal annotation
2018-07-04 17:11:02 +03:00
Vasily Levchenko cb916d017b [kotlin compiler][update] 1.2.70-dev-83
- Revert "Use local Kotlin jars built from 372e2c5c"
2018-07-04 14:21:56 +03:00
Igor Chevdar c9e7a4faed Fixed bug with objects access in global initialisers + test 2018-07-04 12:24:50 +03:00
Vsevolod Tolstopyatov a8d6113308 Dispatch Any methods called on interface via vtable instead of itable (#1753) 2018-07-04 10:10:58 +03:00
Svyatoslav Scherbina 627d28db8a Ignore deserialized fake-override fields
Fix #1748
2018-07-04 10:09:11 +03:00
Nikolay Igotti dfc01847c5 Freeze objects by default, stdlib improvements. (#1743) 2018-07-03 16:45:34 +03:00
Igor Chevdar c19b9d787f Fixed bug in inliner 2018-07-02 18:59:48 +03:00
Igor Chevdar 986f5220df Added possibility of debug output from lowerings 2018-06-29 15:48:48 +03:00
Igor Chevdar 11c4a2518d Fixed bug in finally blocks lowering + test
Return type must be taken from the function
2018-06-29 15:48:48 +03:00
Igor Chevdar 6a07322f62 Fixed bug in inliner with recursive inline
Return type of a returnable block should be substituted as well as other types
2018-06-29 15:48:48 +03:00
Svyatoslav Scherbina 695f93ea61 Fix generating Unit-returning bridge for suspend function
#KT-25137 Fixed
2018-06-29 08:25:02 +03:00
Nikolay Igotti e2b051e2d5 Documentation tweaks. 2018-06-28 15:52:00 +03:00
Igor Chevdar 57e75915ff Fixed bug in SuspendFunctionsLowering + test
Supported callable references to non-local suspend functions.
2018-06-27 09:14:08 +03:00
Alexander Gorshenev b93188a056 Added a regression test for Char constant serialization. 2018-06-26 17:08:02 +03:00
Alexander Gorshenev 756fe0735b The Char type was missing in ir serialization. 2018-06-26 17:08:02 +03:00
Igor Chevdar 5e59045352 Fixed bug with default args copying in enums + test 2018-06-26 11:38:58 +03:00
Svyatoslav Scherbina 338152263a Add minor code improvements 2018-06-26 10:44:53 +03:00
Svyatoslav Scherbina 8591f13b94 Fix iOS ARM32 ABI support in Objective-C interop 2018-06-26 10:44:53 +03:00
Igor Chevdar 17608ecb98 Implemented intrinsic <coroutineContext> + tests 2018-06-25 13:24:07 +03:00
Svyatoslav Scherbina 9bbecf33d2 Migrate compiler to IR types 2018-06-22 11:29:46 +03:00
Svyatoslav Scherbina fd016db33a Use local Kotlin jars built from 372e2c5c 2018-06-22 11:29:46 +03:00
Nikolay Igotti 0da110a786 32-bit iOS support (#1708) 2018-06-21 18:36:17 +03:00
Nikolay Igotti 1df27a7884 Tweaks to atomics implementation. (#1703) 2018-06-20 14:36:16 +03:00
Igor Chevdar 3e97612c73 Implemented inlining of function references 2018-06-19 14:43:05 +03:00
Igor Chevdar 9aae175fc2 Some minor fixes 2018-06-19 14:43:05 +03:00
Nikolay Igotti 7074976f7f Rework test runner to avoid mutable objects. (#1702) 2018-06-19 14:31:31 +03:00
Igor Chevdar 3b8cb2a542 Cached symbolName building 2018-06-18 17:06:45 +03:00
Igor Chevdar 119e2ca37e Cached member scope creation 2018-06-18 17:06:45 +03:00
Nikolay Igotti 94fb9c004a Atomic values support. (#1695) 2018-06-18 10:46:20 +03:00
Pavel Punegov 5e6e23dd53 Throw NoSuchElementException instead of IOOBE in ArrayList's iterator (#1694) 2018-06-18 10:37:11 +03:00
Igor Chevdar 7741dfe15b Fixed coroutines
Duplication of descriptors caused by 8094cb7dc5
2018-06-14 19:57:59 +03:00
Igor Chevdar bea5aa8a45 Fixed bugs with contracts DSL 2018-06-14 19:57:59 +03:00
Vasily Levchenko 5a4718b3a3 [kotlin compiler][update] 1.2.60-dev-715 2018-06-14 16:28:50 +03:00
Pavel Punegov d78d14cd00 Fix sources unzipping: make build task depend on sources copy task 2018-06-13 14:23:49 +03:00
Igor Chevdar e3236a5d04 Fixed codegen for annotation classes 2018-06-13 14:23:49 +03:00
Igor Chevdar b8340ead91 Added names to private functions and types 2018-06-13 14:23:49 +03:00
Igor Chevdar 0927dfd070 Fixed coroutines 2018-06-13 14:23:49 +03:00
Ilya Matveev 0e2fa56269 Download common stdlib sources as a dependency 2018-06-13 14:23:49 +03:00
Pavel Punegov eed9f31dac Filter out expect declarations 2018-06-13 14:23:49 +03:00
Pavel Punegov 374397d03f Common stdlib
- adds actual matching expect declarations
- removes duplicates
- rewrite collections
- add MPP and experimental compiler options
2018-06-13 14:23:49 +03:00
Igor Chevdar 35043d4699 DFG: Use types from IR for receivers for virtual calls 2018-06-09 16:07:32 +03:00
Igor Chevdar 9dccddae08 Fixed bug in inliner with type substitution 2018-06-09 16:07:32 +03:00
Igor Chevdar 3cd290631c DFG: Supported createUninitializedInstance/initInstance functions 2018-06-09 16:07:32 +03:00
Igor Chevdar 0d50877d63 Added some debug output to devirtualization 2018-06-09 16:07:32 +03:00
Nikolay Igotti 63300652d5 Fix empty arrays. 2018-06-09 13:49:24 +03:00
Igor Chevdar b92fbe7f42 Fixed bug in inliner + test 2018-06-09 11:45:43 +03:00