mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Start working towards SIL parser support for basic blocks and instructions.
For now, just stub out instruction parsing with a hungry loop to get our minimal testcase parsing (but ignored). Swift SVN r5259
This commit is contained in:
@@ -9,8 +9,10 @@ class Class2 { var b : Class1 }
|
||||
|
||||
// CHECK: sil @normal : $(a : Class1) -> ()
|
||||
sil @normal : $(a : Class1) -> () {
|
||||
bb0:
|
||||
%0 = tuple ()
|
||||
%1 = return %0
|
||||
}
|
||||
|
||||
// CHECK: sil internal @internal_fn : $() -> Int
|
||||
sil internal @internal_fn : $() -> Int {
|
||||
}
|
||||
sil internal @internal_fn : $() -> Int
|
||||
|
||||
Reference in New Issue
Block a user