Changes to support unsigned progressions in ForLoopsLowering.
See: https://github.com/JetBrains/kotlin/pull/3274 Also corrected example for test prefix in HACKING.md. (cherry picked from commit 883f9b98bd13eb814a2d7c0c7753e9fb23f13f76)
This commit is contained in:
committed by
Vasily Levchenko
parent
db9361f8a2
commit
3296981213
+1
-1
@@ -76,7 +76,7 @@ To update the blackbox compiler tests set TeamCity build number in `gradle.prope
|
||||
|
||||
* **-Pprefix** allows one to choose external test directories to run. Only tests from directories with given prefix will be executed.
|
||||
|
||||
./gradlew -Pprefix=external_codegen_box_cast run_external
|
||||
./gradlew -Pprefix=build_external_compiler_codegen_box_cast run_external
|
||||
|
||||
* **-Ptest_flags** passes flags to the compiler used to compile tests
|
||||
|
||||
|
||||
+4
-4
@@ -63,10 +63,10 @@ internal class KonanSymbols(
|
||||
|
||||
private fun unsignedClass(unsignedType: UnsignedType): IrClassSymbol = classById(unsignedType.classId)
|
||||
|
||||
val uByte = unsignedClass(UnsignedType.UBYTE)
|
||||
val uShort = unsignedClass(UnsignedType.USHORT)
|
||||
val uInt = unsignedClass(UnsignedType.UINT)
|
||||
val uLong = unsignedClass(UnsignedType.ULONG)
|
||||
override val uByte = unsignedClass(UnsignedType.UBYTE)
|
||||
override val uShort = unsignedClass(UnsignedType.USHORT)
|
||||
override val uInt = unsignedClass(UnsignedType.UINT)
|
||||
override val uLong = unsignedClass(UnsignedType.ULONG)
|
||||
|
||||
val signedIntegerClasses = setOf(byte, short, int, long)
|
||||
val unsignedIntegerClasses = setOf(uByte, uShort, uInt, uLong)
|
||||
|
||||
Reference in New Issue
Block a user