Commit Graph

29 Commits

Author SHA1 Message Date
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
Nikolay Igotti beb10306dd Add Kotlin object inspection to simplify debugging (#763) 2017-08-02 18:55:52 +03:00
Igor Chevdar 3a55c123d7 Sample: textured dodecahedron rotated by fingers 2017-06-15 19:04:58 +03:00
Igor Chevdar 2151e55576 Added separate launcher for android 2017-06-15 19:04:58 +03:00
Nikolay Igotti 100e4df05d Concurrency prototype (#453)
* Concurrent executors

* Review feedback
2017-04-07 15:16:04 +03:00
Nikolay Igotti 0cbd34086e Added JB copyright (#417) 2017-03-30 09:51:58 +03:00
Igor Chevdar 1be913de63 Review fixes 2017-03-21 14:04:30 +03:00
Nikolay Igotti 73b1b18036 Provide entry point customization 2017-03-21 14:04:30 +03:00
Nikolay Igotti 7a876a3ccd Provide entry point customization (#352) 2017-03-17 17:40:24 +03:00
Svyatoslav Scherbina 13bbd7af81 runtime: use exitStatus == 1 if main finished with exception
Also update the corresponding test.
2017-03-10 14:34:10 +07:00
Nikolay Igotti 234e704226 Fix string.h/String.h mismatch. 2017-02-22 13:53:41 +03:00
Nikolay Igotti 45bb2fdb8b Add some string operations, refactor runtime. (#249) 2017-02-17 14:31:28 +03:00
Nikolay Igotti 57c899763d Switch runtime to UTF16 strings, sigh. (#236) 2017-02-14 11:03:20 +03:00
Nikolay Igotti b06f5d0d5b More preparations for escape analysis. (#201) 2017-01-30 11:10:32 +03:00
Nikolay Igotti 66293cb89f Frame-local allocations. (#193) 2017-01-24 17:16:54 +03:00
Nikolay Igotti e65b86ab21 Memory management design and implementation. (#148) 2016-12-27 15:01:18 +02:00
Nikolay Igotti f49c6133f3 Return objects to slot. (#161) 2016-12-26 18:31:50 +02:00
Konstantin Anisimov 801953ec56 RUNTIME: laucher uses runtime API for registering and running out initializers 2016-12-20 12:46:22 +03:00
Konstantin Anisimov 5f097350ac TEST: test for global variable initialization added 2016-12-20 12:46:22 +03:00
Konstantin Anisimov 86bb5477c5 CODEGEN: implementation of global fields initialization. 2016-12-20 12:46:22 +03:00
Nikolay Igotti 1fc4ce32d3 Mostly avoid using ArrayHeader* in generated code. (#116) 2016-12-05 15:04:34 +03:00
Nikolay Igotti 1197b8453f Create C++ static initializer for use in global objects. (#115) 2016-12-05 14:01:24 +03:00
Alexander Gorshenev 80c50c24e6 Renamed Kotlin_start to Konan_start. 2016-12-01 19:20:12 +04:00
Alexander Gorshenev 80e39cb7c9 Eliminated mangled name resolution for Kotlin_start.
Made Kotlin_start private in order to not pollute
the namespace of the default package.
2016-12-01 19:20:12 +04:00
Alexander Gorshenev 0e7b13027e Changed AllocStringInstance to accept data and length. 2016-12-01 19:20:12 +04:00
Alexander Gorshenev d0cd28fe5a Underscore is not needed on Linux for resolution of 'kfun:_start()'. 2016-12-01 19:20:12 +04:00
Alexander Gorshenev 2c89fee837 Simplified launcher to utilize some ready made functionality. 2016-12-01 19:20:12 +04:00
Alexander Gorshenev 22d748001d Added "start" function between the C launcher and Kotlin "main" 2016-12-01 19:20:12 +04:00
Alexander Gorshenev 3f480eb846 Transfer C argv to Kotlin's args. 2016-12-01 19:20:12 +04:00