@@ -156,9 +156,9 @@ LookupResult MappingInfoTy::lookupMapping(HDTTMapAccessorTy &HDTTMap,
156156
157157 if (!LR.Flags .IsContained && Upper != HDTTMap->end ()) {
158158 LR.TPR .setEntry (Upper->HDTT , OwnedTPR);
159- // This is a special case: HP is not really contained in a mapped
160- // region , but it's contained in the extended mapped region, which
161- // suffices to get the mapping of the base pointer.
159+ // This is a special case: HP is not really contained in the mapped
160+ // address range , but it's contained in the extended address range,
161+ // which suffices to get the mapping of the base pointer.
162162 // We know that HP < LR.TPR.getEntry()->HstPtrBegin
163163 LR.Flags .IsContained = HP >= LR.TPR .getEntry ()->HstPtrBase ;
164164 }
@@ -168,18 +168,18 @@ LookupResult MappingInfoTy::lookupMapping(HDTTMapAccessorTy &HDTTMap,
168168 // We know that HP >= LR.TPR.getEntry()->HstPtrBegin
169169 LR.Flags .IsContained = HP < LR.TPR .getEntry ()->HstPtrEnd &&
170170 (HP + Size) <= LR.TPR .getEntry ()->HstPtrEnd ;
171- // Does it extend beyond the mapped region ?
171+ // Does it extend beyond the mapped address range ?
172172 LR.Flags .ExtendsAfter = HP < LR.TPR .getEntry ()->HstPtrEnd &&
173173 (HP + Size) > LR.TPR .getEntry ()->HstPtrEnd ;
174174 }
175175
176176 if (!(LR.Flags .IsContained || LR.Flags .ExtendsAfter ) &&
177177 Upper != HDTTMap->end ()) {
178178 LR.TPR .setEntry (Upper->HDTT , OwnedTPR);
179- // Does it extend into an already mapped region ?
179+ // Does it extend into an already mapped address range ?
180180 // We know that HP < LR.TPR.getEntry()->HstPtrBegin
181181 LR.Flags .ExtendsBefore = (HP + Size) > LR.TPR .getEntry ()->HstPtrBegin ;
182- // Does it extend beyond the mapped region ?
182+ // Does it extend beyond the mapped address range ?
183183 LR.Flags .ExtendsAfter = HP < LR.TPR .getEntry ()->HstPtrEnd &&
184184 (HP + Size) > LR.TPR .getEntry ()->HstPtrEnd ;
185185 }
0 commit comments