summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NOTES.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/NOTES.txt b/NOTES.txt
index 107ec5ad48..53f35a0186 100644
--- a/NOTES.txt
+++ b/NOTES.txt
@@ -34,11 +34,11 @@ TODO: File Manager Speedup:
3. File UIDs are created on request, not when files are opened.
These changes make it possible to efficiently have FileEntry objects for
files that exist on the file system, but have not been used yet.
-
+
Once this is done:
1. DirectoryEntry gets a boolean value "has read entries". When false, not
all entries in the directory are in the file mgr, when true, they are.
- 2. Instead of stat'ing the file in FileManager::getFile, check to see if
+ 2. Instead of stat'ing the file in FileManager::getFile, check to see if
the dir has been read. If so, fail immediately, if not, read the dir,
then retry.
3. Reading the dir uses the getdirentries syscall, creating a FileEntry
@@ -55,18 +55,18 @@ The "selection of target" behavior is defined as follows:
(1) If the user does not specify -triple, we default to the host triple.
(2) If the user specifies a -arch, that overrides the arch in the host or
- specified triple.
+ specified triple.
//===---------------------------------------------------------------------===//
-verifyInputConstraint and verifyOutputConstraint should not return bool.
+verifyInputConstraint and verifyOutputConstraint should not return bool.
Instead we should return something like:
enum VerifyConstraintResult {
Valid,
-
+
// Output only
OutputOperandConstraintLacksEqualsCharacter,
MatchingConstraintNotValidInOutputOperand,
@@ -74,7 +74,7 @@ enum VerifyConstraintResult {
// Input only
InputOperandConstraintContainsEqualsCharacter,
MatchingConstraintReferencesInvalidOperandNumber,
-
+
// Both
PercentConstraintUsedWithLastOperand
};