@@ -87,7 +87,7 @@ objects::
87
87
point = point1
88
88
point0.x = x
89
89
point = point0
90
-
90
+
91
91
Note that ``point.y `` is left unchanged.
92
92
93
93
Local analysis
@@ -157,7 +157,7 @@ through unexpected aliases::
157
157
Note that, in either solution, you've introduced extra full-value
158
158
loads. This may be quite expensive, and it's not guaranteed to be
159
159
semantically equivalent.
160
-
160
+
161
161
Performance
162
162
~~~~~~~~~~~
163
163
@@ -453,7 +453,7 @@ Nor can this be fixed with a purely local analysis; consider::
453
453
454
454
class C { var array: [Int] }
455
455
let global_C = C()
456
-
456
+
457
457
func assign(inout value: Int) {
458
458
C.array = []
459
459
value = 0
@@ -606,7 +606,7 @@ General solutions
606
606
~~~~~~~~~~~~~~~~~
607
607
608
608
A language generally has six tools for dealing with code it considers
609
- undesireable . Some of this terminology is taken from existing
609
+ undesirable . Some of this terminology is taken from existing
610
610
standards, others not.
611
611
612
612
* The language may nonetheless take steps to ensure that the code
@@ -916,7 +916,7 @@ I'm almost ready to state the core rule about formal accesses, but
916
916
first I need to build up a few more definitions.
917
917
918
918
An *abstract storage location * (ASL) is:
919
-
919
+
920
920
* a global variable declaration;
921
921
922
922
* an ``inout `` parameter declaration, along with a reference
@@ -1106,7 +1106,7 @@ the other FA's DSN set and (2) not from a non-overlapping subobject.
1106
1106
Are these conditions true?
1107
1107
1108
1108
Recall that an addressor is invoked for an l-value of the form::
1109
-
1109
+
1110
1110
base.memory
1111
1111
1112
1112
or::
0 commit comments