mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Fix a bug with returning value that need to be refcounted:
we want to do a take-load out of the return address slot instead of a normal load, or else we'll end up +1'ing an already +1 value. Swift SVN r1564
This commit is contained in:
@@ -44,6 +44,10 @@ namespace {
|
||||
// FIXME
|
||||
}
|
||||
|
||||
void loadAsTake(IRGenFunction &IGF, Address addr, Explosion &e) const {
|
||||
// FIXME
|
||||
}
|
||||
|
||||
void assign(IRGenFunction &IGF, Explosion &explosion, Address addr) const {
|
||||
// FIXME
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user