Update more references to "global variables".

This continues the transition to "global values", which aren't
implicitly dereferenced.
This commit is contained in:
Dan Gohman
2018-06-26 13:54:46 -07:00
parent 99b9b96eee
commit 8f3c49bc6c
9 changed files with 32 additions and 112 deletions

View File

@@ -29,8 +29,7 @@ pub enum HeapBase {
/// This feature is not yet implemented.
ReservedReg,
/// The heap base is in a global value. The variable must be accessible and naturally
/// aligned for a pointer.
/// The heap base is a global value.
GlobalValue(GlobalValue),
}
@@ -39,8 +38,7 @@ pub enum HeapBase {
pub enum HeapStyle {
/// A dynamic heap can be relocated to a different base address when it is grown.
Dynamic {
/// Global variable holding the current bound of the heap in bytes. It is
/// required to be accessible and naturally aligned for a pointer-sized integer.
/// Global value providing the current bound of the heap in bytes.
bound_gv: GlobalValue,
},