[llvm-commits] CVS: llvm/utils/TableGen/AsmWriterEmitter.cpp CodeGenInstruction.h FileLexer.l InstrInfoEmitter.h
Jeff Cohen
jeffc at jolt-lang.org
Sun Nov 5 11:32:28 PST 2006
Changes in directory llvm/utils/TableGen:
AsmWriterEmitter.cpp updated: 1.44 -> 1.45
CodeGenInstruction.h updated: 1.20 -> 1.21
FileLexer.l updated: 1.31 -> 1.32
InstrInfoEmitter.h updated: 1.13 -> 1.14
---
Log message:
Unbreak VC++ build.
---
Diffs of the changes: (+6 -3)
AsmWriterEmitter.cpp | 3 ++-
CodeGenInstruction.h | 3 ++-
FileLexer.l | 1 +
InstrInfoEmitter.h | 2 +-
4 files changed, 6 insertions(+), 3 deletions(-)
Index: llvm/utils/TableGen/AsmWriterEmitter.cpp
diff -u llvm/utils/TableGen/AsmWriterEmitter.cpp:1.44 llvm/utils/TableGen/AsmWriterEmitter.cpp:1.45
--- llvm/utils/TableGen/AsmWriterEmitter.cpp:1.44 Wed Sep 27 11:44:09 2006
+++ llvm/utils/TableGen/AsmWriterEmitter.cpp Sun Nov 5 13:31:28 2006
@@ -69,7 +69,8 @@
}
namespace llvm {
- struct AsmWriterInst {
+ class AsmWriterInst {
+ public:
std::vector<AsmWriterOperand> Operands;
const CodeGenInstruction *CGI;
Index: llvm/utils/TableGen/CodeGenInstruction.h
diff -u llvm/utils/TableGen/CodeGenInstruction.h:1.20 llvm/utils/TableGen/CodeGenInstruction.h:1.21
--- llvm/utils/TableGen/CodeGenInstruction.h:1.20 Tue Oct 31 18:27:05 2006
+++ llvm/utils/TableGen/CodeGenInstruction.h Sun Nov 5 13:31:28 2006
@@ -23,7 +23,8 @@
class Record;
class DagInit;
- struct CodeGenInstruction {
+ class CodeGenInstruction {
+ public:
Record *TheDef; // The actual record defining this instruction.
std::string Name; // Contents of the 'Name' field.
std::string Namespace; // The namespace the instruction is in.
Index: llvm/utils/TableGen/FileLexer.l
diff -u llvm/utils/TableGen/FileLexer.l:1.31 llvm/utils/TableGen/FileLexer.l:1.32
--- llvm/utils/TableGen/FileLexer.l:1.31 Mon Sep 18 17:28:27 2006
+++ llvm/utils/TableGen/FileLexer.l Sun Nov 5 13:31:28 2006
@@ -27,6 +27,7 @@
%x comment
%{
+#include "llvm/Config/config.h"
#include "Record.h"
typedef std::pair<llvm::Record*, std::vector<llvm::Init*>*> SubClassRefTy;
#include "FileParser.h"
Index: llvm/utils/TableGen/InstrInfoEmitter.h
diff -u llvm/utils/TableGen/InstrInfoEmitter.h:1.13 llvm/utils/TableGen/InstrInfoEmitter.h:1.14
--- llvm/utils/TableGen/InstrInfoEmitter.h:1.13 Tue Oct 31 18:27:05 2006
+++ llvm/utils/TableGen/InstrInfoEmitter.h Sun Nov 5 13:31:28 2006
@@ -24,7 +24,7 @@
class StringInit;
class IntInit;
class ListInit;
-struct CodeGenInstruction;
+class CodeGenInstruction;
class InstrInfoEmitter : public TableGenBackend {
RecordKeeper &Records;
More information about the llvm-commits
mailing list