Differences From Artifact [ae0f383c89]:
- File
src/runtime/arc.m
— part of check-in
[4af49a13c3]
at
2017-05-07 20:10:13
on branch trunk
— Small code style change
Casts are now written like types in variable declarations. (user: js, size: 5479) [annotate] [blame] [check-ins using]
To Artifact [95cfbe530e]:
- File src/runtime/arc.m — part of check-in [9d12f9759f] at 2017-05-14 00:11:59 on branch trunk — Small optimization for objc_storeStrong() (user: js, size: 5510) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
105 106 107 108 109 110 111 | { return objc_retain(object); } id objc_storeStrong(id *object, id value) { | > | | | > | 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 | { return objc_retain(object); } id objc_storeStrong(id *object, id value) { if (*object != value) { id old = *object; *object = objc_retain(value); objc_release(old); } return value; } id objc_storeWeak(id *object, id value) { |
︙ | ︙ |