Add some comments noting unimplemented features.

While use of these features will trigger an `unimplemented!()`, it is
nice to let users know in advance about features which aren't yet
implemented.
This commit is contained in:
Dan Gohman
2018-03-23 12:46:23 -07:00
parent aa73de8ca1
commit 51eea8b89d
2 changed files with 4 additions and 0 deletions

View File

@@ -25,6 +25,8 @@ pub struct HeapData {
#[derive(Clone)] #[derive(Clone)]
pub enum HeapBase { pub enum HeapBase {
/// The heap base lives in a reserved register. /// The heap base lives in a reserved register.
///
/// This feature is not yet implemented.
ReservedReg, ReservedReg,
/// The heap base is in a global variable. /// The heap base is in a global variable.

View File

@@ -68,6 +68,8 @@ pub enum StackBase {
FP = 1, FP = 1,
/// Use an explicit zone pointer in a general-purpose register. /// Use an explicit zone pointer in a general-purpose register.
///
/// This feature is not yet implemented.
Zone = 2, Zone = 2,
} }