mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Fix a grammaro.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99917 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1a5d2a8fa1
commit
4bb31bfaa3
@ -3080,7 +3080,7 @@ the <tt>lib/VMCore</tt> directory.</p>
|
|||||||
<dt><tt><a name="FunctionType">FunctionType</a></tt></dt>
|
<dt><tt><a name="FunctionType">FunctionType</a></tt></dt>
|
||||||
<dd>Subclass of DerivedTypes for function types.
|
<dd>Subclass of DerivedTypes for function types.
|
||||||
<ul>
|
<ul>
|
||||||
<li><tt>bool isVarArg() const</tt>: Returns true if its a vararg
|
<li><tt>bool isVarArg() const</tt>: Returns true if it's a vararg
|
||||||
function</li>
|
function</li>
|
||||||
<li><tt> const Type * getReturnType() const</tt>: Returns the
|
<li><tt> const Type * getReturnType() const</tt>: Returns the
|
||||||
return type of the function.</li>
|
return type of the function.</li>
|
||||||
|
@ -220,7 +220,7 @@ Archive::writeMember(
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Now that we have the data in memory, update the
|
// Now that we have the data in memory, update the
|
||||||
// symbol table if its a bitcode file.
|
// symbol table if it's a bitcode file.
|
||||||
if (CreateSymbolTable && member.isBitcode()) {
|
if (CreateSymbolTable && member.isBitcode()) {
|
||||||
std::vector<std::string> symbols;
|
std::vector<std::string> symbols;
|
||||||
std::string FullMemberName = archPath.str() + "(" + member.getPath().str()
|
std::string FullMemberName = archPath.str() + "(" + member.getPath().str()
|
||||||
|
@ -454,7 +454,7 @@ Path::canWrite() const {
|
|||||||
|
|
||||||
bool
|
bool
|
||||||
Path::isRegularFile() const {
|
Path::isRegularFile() const {
|
||||||
// Get the status so we can determine if its a file or directory
|
// Get the status so we can determine if it's a file or directory
|
||||||
struct stat buf;
|
struct stat buf;
|
||||||
|
|
||||||
if (0 != stat(path.c_str(), &buf))
|
if (0 != stat(path.c_str(), &buf))
|
||||||
@ -736,7 +736,7 @@ Path::createTemporaryFileOnDisk(bool reuse_current, std::string* ErrMsg) {
|
|||||||
|
|
||||||
bool
|
bool
|
||||||
Path::eraseFromDisk(bool remove_contents, std::string *ErrStr) const {
|
Path::eraseFromDisk(bool remove_contents, std::string *ErrStr) const {
|
||||||
// Get the status so we can determine if its a file or directory
|
// Get the status so we can determine if it's a file or directory.
|
||||||
struct stat buf;
|
struct stat buf;
|
||||||
if (0 != stat(path.c_str(), &buf)) {
|
if (0 != stat(path.c_str(), &buf)) {
|
||||||
MakeErrMsg(ErrStr, path + ": can't get status of file");
|
MakeErrMsg(ErrStr, path + ": can't get status of file");
|
||||||
|
@ -224,7 +224,7 @@ static bool DominatesMergePoint(Value *V, BasicBlock *BB,
|
|||||||
if (BI->isUnconditional() && BI->getSuccessor(0) == BB) {
|
if (BI->isUnconditional() && BI->getSuccessor(0) == BB) {
|
||||||
if (!AggressiveInsts) return false;
|
if (!AggressiveInsts) return false;
|
||||||
// Okay, it looks like the instruction IS in the "condition". Check to
|
// Okay, it looks like the instruction IS in the "condition". Check to
|
||||||
// see if its a cheap instruction to unconditionally compute, and if it
|
// see if it's a cheap instruction to unconditionally compute, and if it
|
||||||
// only uses stuff defined outside of the condition. If so, hoist it out.
|
// only uses stuff defined outside of the condition. If so, hoist it out.
|
||||||
if (!I->isSafeToSpeculativelyExecute())
|
if (!I->isSafeToSpeculativelyExecute())
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user