backend: rework variables

* use descriptor instead of name to refer to variables
* bind variables to scopes
* begin refactoring mapping between LLVM and IR parameters
This commit is contained in:
Svyatoslav Scherbina
2016-11-30 13:05:35 +07:00
committed by SvyatoslavScherbina
parent e131622ef7
commit a65aef0198
6 changed files with 273 additions and 166 deletions
-3
View File
@@ -546,13 +546,10 @@ task finally9(type: RunKonanTest) {
}
*/
/*
TODO: enable after improving LLVM variable naming
task scope1(type: RunKonanTest) {
goldValue = "1\n"
source = "codegen/dataflow/scope1.kt"
}
*/
task try1(type: RunKonanTest) {
goldValue = "5\n"