Commit Graph

86 Commits

Author SHA1 Message Date
Svyatoslav Scherbina 1ec7d806fa backend: properly import functions from runtime 2016-10-27 19:32:45 +03:00
Nikolay Igotti cbb5499313 Verify bitcode before write, minor fixes. (#21) 2016-10-27 18:54:38 +03:00
Konstantin Anisimov f448358ec2 refactoring: cosmetic code moving 2016-10-27 17:58:21 +03:00
Vasily Levchenko 3aa825cfe6 missed part of linux build: system libraries should go to the end 2016-10-27 12:35:56 +03:00
Vasily Levchenko dd6abfa188 linux build fix: static/dynamic and libraries ordering 2016-10-27 12:34:20 +03:00
Vasily Levchenko 8f9e6961e6 attempt to fix build 2016-10-27 10:20:21 +03:00
Vasily Levchenko c5a140bccc mac build fix 2016-10-26 22:46:05 +03:00
Vasily Levchenko e721a4e19d fix build: mac and linux should take llvm libraries from dependencies/all/clang+llvm..., instead from system path 2016-10-26 22:23:57 +03:00
Vasily Levchenko 202d03644d fix build: (mac and linux)
common fix of build: add to link flags -LlibffiDir -lffi
llvm.def: os specific remove from ldflags -lffi, it shoould appear after -LlibffiDir...
2016-10-26 21:16:17 +03:00
Vasily Levchenko 2690c87b9f tests depends on :runtime:build and :backend.native:build 2016-10-26 20:37:42 +03:00
Vasily Levchenko b852225007 linux build fix: remove libtinfo some info:
Git Clone URL:https://aur.archlinux.org/libtinfo.git (read-only)
Package Base:libtinfo
Description:symlink to ncurses for use in cuda and other packages
Upstream URL:http://www.gnu.org/software/ncurses/
Licenses:MIT
Submitter:hav3lock
Maintainer:hav3lock
Last Packager:hav3lock
Votes:209
Popularity:8.144062
First Submitted:2013-08-18 23:48
Last Updated:2016-05-24 22:29
2016-10-26 19:04:04 +03:00
Vasily Levchenko 622ae34e61 attempt to fix linux build (:backend.native:run) 2016-10-26 13:33:28 +03:00
Vasily Levchenko a4dd4c241a gradle replacement for Makefile in tests 2016-10-26 13:12:22 +03:00
Vasily Levchenko 3331cdbf94 kotlin-ir: sync 2016-10-23 12:13:17 +03:00
Vasily Levchenko e8dd179770 realization LazyClassReceiverParameterDescriptor 2016-10-22 09:37:45 +03:00
Vasily Levchenko 731361f2e9 added comment that thereis required check about shadowing 2016-10-22 09:36:23 +03:00
Vasily Levchenko 1b97973dc8 constructor should initialize fields of object basing on comparizon with storage structure 2016-10-22 09:35:03 +03:00
Vasily Levchenko 64acd9d894 field acces test (when there're no storage in object for contructor parameter) (not runnable yet) 2016-10-22 09:32:48 +03:00
Vasily Levchenko 09ee81b7a3 object initialization and properties access 2016-10-21 20:21:54 +03:00
Vasily Levchenko 0523505354 Runtime: export function to import own functionality to target module (perhaps it's frontend task) 2016-10-21 20:21:54 +03:00
Vasily Levchenko 7d243378cd TEST:object initialization 2016-10-21 20:21:54 +03:00
Vasily Levchenko 639c4f9786 frontend: prints compilation error 2016-10-20 23:03:10 +03:00
Vasily Levchenko badcccac58 tests now can use runtime infrostructure 2016-10-20 12:34:49 +03:00
Svyatoslav Scherbina 25403723be backend.native: improve memory management using mem scopes 2016-10-19 13:45:40 +03:00
Svyatoslav Scherbina a1593c86f1 backend.native: support external functions
also implement changing external function symbol name with the annotation
2016-10-19 13:45:40 +03:00
Svyatoslav Scherbina 61e1d91c03 backend.native: use common/hash to compute hashes for RTTI 2016-10-19 13:42:53 +03:00
Svyatoslav Scherbina 9f5f2eecfc backend.native: add minor improvements to code for compile time values 2016-10-19 13:33:51 +03:00
Svyatoslav Scherbina 5bb5cb70ee build: trivially support runtime sources written in Kotlin 2016-10-19 13:33:50 +03:00
Svyatoslav Scherbina 7350b4da37 backend-native: fix tests after reworking Gradle interop plugin 2016-10-19 13:33:50 +03:00
Vasily Levchenko 4142ff8845 kotlin-ir: sync 2016-10-18 09:55:21 +03:00
Svyatoslav Scherbina 2835ddb7f2 build: add "LD_LIBRARY_PATH=llvmDir/lib" for Linux 2016-10-17 18:25:31 +03:00
Svyatoslav Scherbina e4bc19b145 build: download llvm and libffi from the JFrog repo 2016-10-17 17:35:57 +03:00
Vasily Levchenko ddae560ffe support new interface for jvm frontend 2016-10-17 14:03:25 +03:00
Vasily Levchenko 5790787840 kotlin-ir sync 2016-10-17 05:28:05 +03:00
Nikolay Igotti 6f43e7befd Fetch IR branch. 2016-10-14 14:25:33 +03:00
Svyatoslav Scherbina 8c4f5c3cef backend.native: add -fPIC for interop with :common:hash
to fix build on Linux
2016-10-13 18:12:21 +03:00
Svyatoslav Scherbina edc88c67da backend.native: include interop with :common:hash 2016-10-13 17:29:02 +03:00
Svyatoslav Scherbina 94f3c1d048 Interop: implement stub gen without .def
also add some default values to .def file format
2016-10-13 13:10:44 +03:00
Svyatoslav Scherbina 57cfc617a6 Interop: represent it as dependency in Gradle plugin 2016-10-12 16:29:52 +03:00
Vasily Levchenko 6f666b6ca9 fix: constructing parameterless function descriptors 2016-10-12 11:14:23 +03:00
Vasily Levchenko 937e721d56 kotlin-ir sync 2016-10-11 21:50:51 +03:00
Nikolay Igotti f02339c1dc Merge pull request #4 from JetBrains/mem_mgmt
Add memory mgmt.
2016-10-11 19:10:53 +03:00
Nikolay Igotti e730ee9f37 Fix spaces. 2016-10-11 19:08:46 +03:00
Nikolay Igotti 83fbb3342f Restore codegen. 2016-10-11 19:02:30 +03:00
Nikolay Igotti 7ff6a52e4c Restore codegen. 2016-10-11 18:44:27 +03:00
Nikolay Igotti ecb5a67db7 Add City64 as local hash, and update RTTI accordingly. 2016-10-11 18:40:16 +03:00
Vasily Levchenko 3a738b2ad3 arithmetic test 2016-10-11 11:41:37 +03:00
Vasily Levchenko b038dbc724 arithmetic added (minus, mul, div, mod) 2016-10-11 11:41:37 +03:00
Vasily Levchenko 97e31820ae inter-procedural call test 2016-10-11 11:24:47 +03:00
Vasily Levchenko 390edc146d interprocedural call implementation 2016-10-11 11:24:47 +03:00