Commit Graph

16040 Commits

Author SHA1 Message Date
Alexey Sedunov 9ddfc32cdc Pseudocode: Add receiver values to call instructions. Refactor InstructionWithReceiver 2014-06-19 22:04:38 +04:00
Alexey Sedunov 650fac0081 Pseudocode: Introduce ValuedInstruction 2014-06-19 22:04:37 +04:00
Alexey Sedunov c7e4f1d02e Pseudocode: Divide instruction classes into packages 2014-06-19 22:04:36 +04:00
Alexey Sedunov eabe2fcc8a Pseudocode: Translate instruction classes to Kotlin 2014-06-19 22:04:34 +04:00
Andrey Breslav 145358654b hashCode() fixed for AbstractClassTypeConstructor 2014-06-19 21:20:26 +04:00
Evgeny Gerashchenko 27273deeda Extracted package part map implementation to inner class. 2014-06-19 20:12:24 +04:00
Evgeny Gerashchenko 214c0fe4be Extracted constants map implementation to inner class. 2014-06-19 20:12:24 +04:00
Evgeny Gerashchenko 4e00df1fb4 Extracted proto map implementation to inner class and simplified. 2014-06-19 20:12:23 +04:00
Evgeny Gerashchenko e1f6fc55c5 Writing/reading constants map fully to avoid hash collisions. 2014-06-19 19:25:42 +04:00
Evgeny Gerashchenko cea272fb39 Moved getPackageFilesWithCallables to frontend.java and reused it. 2014-06-19 17:54:33 +04:00
Evgeny Gerashchenko b76a9e8e27 Merge remote-tracking branch 'origin/master' into incremental 2014-06-19 15:49:33 +04:00
Evgeny Gerashchenko 9f86441f95 Generalized method name. 2014-06-19 15:47:22 +04:00
Evgeny Gerashchenko 54f140e9e4 Minor cleanup 2014-06-19 14:53:13 +04:00
Evgeny Gerashchenko 219475be71 Processing all targets with removed files in chunk at once. 2014-06-19 14:49:16 +04:00
Evgeny Gerashchenko 2e508579a7 Minor. Using better method. 2014-06-19 14:48:14 +04:00
Evgeny Gerashchenko 6fb65fa2d4 Minor. Removed unused code. 2014-06-19 14:47:44 +04:00
Evgeny Gerashchenko 4366b92656 Minor. Rearranged code. 2014-06-19 14:43:37 +04:00
Evgeny Gerashchenko f927751ee3 Minor. Inlined method with only one call site. 2014-06-19 14:42:59 +04:00
Evgeny Gerashchenko 6809befa3a Minor. Replaced first invocation of make() with initialMake() (for clearer stack trace). 2014-06-19 14:37:55 +04:00
Evgeny Gerashchenko 7f1e99ecfd Added test with class signature unchanged. 2014-06-19 14:37:08 +04:00
Evgeny Gerashchenko 15d9549477 Minor. Regenerated tests. 2014-06-19 14:22:43 +04:00
Evgeny Gerashchenko 92849dda3b Serializing incremental package fragment from our module instead of random one. 2014-06-19 13:41:27 +04:00
Evgeny Gerashchenko aa41ae09ed Merge remote-tracking branch 'origin/master' into incremental 2014-06-19 11:43:59 +04:00
Evgeny Gerashchenko f6129732a2 Writing incrementalCache attribute to <modules> element of xml module script 2014-06-19 01:03:59 +04:00
Evgeny Gerashchenko 06cafe7f12 Replaced passing MemberFilter to constructor with method overriding. 2014-06-19 01:03:58 +04:00
Zalim Bashorov 865880f196 Minor in JS backend: added missed test case -- when inside when w/o braces. 2014-06-18 23:18:23 +04:00
Evgeny Gerashchenko d3e5790674 Passing custom class loader for loading incremental cache implementation. 2014-06-18 22:56:44 +04:00
Evgeny Gerashchenko 04f7ad450f Simplified interface of IncrementalCache (depending on JDK only). 2014-06-18 22:56:43 +04:00
Evgeny Gerashchenko 07365dca1d Extracted interface and moved implementation of IncrementalCache to jps-plugin, accessing cache via Java service loader. 2014-06-18 22:56:43 +04:00
Evgeny Gerashchenko 820bd911fb Supported cases of removing source files from package fragment. 2014-06-18 22:56:43 +04:00
Evgeny Gerashchenko fddc8edc03 Removing caches and rebuilding again in tests.
It helps to find cases when stuck data spoils compilation output.
2014-06-18 22:56:42 +04:00
Evgeny Gerashchenko 205f99bf60 Made incremental compilation test auto-generated. 2014-06-18 22:56:42 +04:00
Evgeny Gerashchenko f62842343d Added tests for removing files from package. 2014-06-18 22:56:40 +04:00
Evgeny Gerashchenko 2a9721daf3 Supported multiple make iterations in incremental tests. 2014-06-18 22:56:40 +04:00
Evgeny Gerashchenko 5d4823d4ba Storing io files instead of psi (they are converted anyway). 2014-06-18 22:56:38 +04:00
Evgeny Gerashchenko e07ea4b814 Minor. Suppressed warnings. 2014-06-18 22:56:38 +04:00
Evgeny Gerashchenko b9f01a6397 Don't report package facade classes as output of sources without top-level members. 2014-06-18 22:56:37 +04:00
Evgeny Gerashchenko e89b59a745 Checking for constants values in incremental compiler. 2014-06-18 22:56:37 +04:00
Evgeny Gerashchenko af173484cb Minor. Typo. 2014-06-18 22:56:36 +04:00
Evgeny Gerashchenko c4e167d7bc Checking for changes in class proto. 2014-06-18 22:56:36 +04:00
Evgeny Gerashchenko c51cb26046 Fixed computing source file for package facade.
There had been a bug in case when compiling package with some class-only files, but exactly one file with callables.
2014-06-18 22:56:35 +04:00
Evgeny Gerashchenko 018b58b51f Rebuild only if proto changed. 2014-06-18 22:56:35 +04:00
Evgeny Gerashchenko 4cf2dc665e Got rid of redundant constructor. 2014-06-18 22:56:34 +04:00
Evgeny Gerashchenko a82849f289 Removed member filter from injectors. 2014-06-18 22:56:33 +04:00
Evgeny Gerashchenko ca1ee69e4c Loading descriptors from incremental cache instead of package classes. 2014-06-18 22:56:33 +04:00
Michael Nedzelsky 209315baad JS backend: fix translation when statement -- now WhenTranslator returns JsBlock instead of hackish adding statements to context block.
It fixed the compiler crashing when translating `for`/`when`/`if` with `when` statement(KT-5234) and KT-5058.

 #KT-5234 fixed
 #EA-57346 fixed
 #KT-5058 fixed
2014-06-18 21:20:28 +04:00
Alexander Udalov a94f12d8fe Use f/L literal suffixes instead of toFloat()/toLong() 2014-06-18 20:35:25 +04:00
Alexander Udalov ad23a2d05b Fix equals and hashCode for empty ranges and progressions
Empty range is equal to any other empty range
2014-06-18 20:35:25 +04:00
Alexander Udalov 751f062f23 Add *Range.isEmpty(), *Progression.isEmpty() 2014-06-18 20:22:24 +04:00
Alexander Udalov 07378a74d3 Delete outdated directory creation in build.xml 2014-06-18 20:22:24 +04:00