Change the integer-literal type from Int2048 to IntLiteral.

Part of SR-290.
This commit is contained in:
John McCall
2018-10-31 22:07:40 -04:00
parent 98b65f2f99
commit abdba1d3f4
55 changed files with 251 additions and 366 deletions

View File

@@ -14,8 +14,8 @@ func testSimple() {
// CHECK: apply [[INIT]]([[ARG]], {{%.+}})
_ = InheritsInit()
// CHECK: [[VALUE:%.+]] = integer_literal $Builtin.Int2048, 5
// CHECK: [[ARG:%.+]] = apply {{%.+}}([[VALUE]], {{%.+}}) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int
// CHECK: [[VALUE:%.+]] = integer_literal $Builtin.IntLiteral, 5
// CHECK: [[ARG:%.+]] = apply {{%.+}}([[VALUE]], {{%.+}}) : $@convention(method) (Builtin.IntLiteral, @thin Int.Type) -> Int
// CHECK: [[INIT:%.+]] = function_ref @$s4main12InheritsInitCyACSicfC
// CHECK: apply [[INIT]]([[ARG]], {{%.+}})
_ = InheritsInit(5)