mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
Fix VC++ complaint
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19747 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c690cc0465
commit
83881957ed
@ -79,7 +79,8 @@ public:
|
||||
/// LLVM bytecode in a variety of ways. This abstract interface hides this
|
||||
/// complexity behind a simple interface.
|
||||
///
|
||||
struct AbstractInterpreter {
|
||||
class AbstractInterpreter {
|
||||
public:
|
||||
static CBE *createCBE(const std::string &ProgramPath, std::string &Message,
|
||||
const std::vector<std::string> *Args = 0);
|
||||
static LLC *createLLC(const std::string &ProgramPath, std::string &Message,
|
||||
|
@ -431,7 +431,7 @@ static bool TestForCodeGenCrash(BugDriver &BD, Module *M) {
|
||||
BD.compileProgram(M);
|
||||
std::cerr << '\n';
|
||||
return false;
|
||||
} catch (ToolExecutionError &TEE) {
|
||||
} catch (ToolExecutionError &) {
|
||||
std::cerr << "<crash>\n";
|
||||
return true; // Tool is still crashing.
|
||||
}
|
||||
|
@ -79,7 +79,8 @@ public:
|
||||
/// LLVM bytecode in a variety of ways. This abstract interface hides this
|
||||
/// complexity behind a simple interface.
|
||||
///
|
||||
struct AbstractInterpreter {
|
||||
class AbstractInterpreter {
|
||||
public:
|
||||
static CBE *createCBE(const std::string &ProgramPath, std::string &Message,
|
||||
const std::vector<std::string> *Args = 0);
|
||||
static LLC *createLLC(const std::string &ProgramPath, std::string &Message,
|
||||
|
Loading…
Reference in New Issue
Block a user