diff options
author | Chris Lattner <sabre@nondot.org> | 2003-07-31 04:38:26 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-07-31 04:38:26 +0000 |
commit | f745a20deb40ba0113fe368efcba5393e9d3e99c (patch) | |
tree | b61a228223b04846e921ff723a90fa6b0fc9323c /support/tools/TableGen/TableGen.cpp | |
parent | 14d7c59491347a2f8f29e120fd75a4cad42f68e7 (diff) | |
download | external_llvm-f745a20deb40ba0113fe368efcba5393e9d3e99c.zip external_llvm-f745a20deb40ba0113fe368efcba5393e9d3e99c.tar.gz external_llvm-f745a20deb40ba0113fe368efcba5393e9d3e99c.tar.bz2 |
Rename createEmitter to run because eventually all tablegen backends will
be subclasses of a common interface.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7445 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'support/tools/TableGen/TableGen.cpp')
-rw-r--r-- | support/tools/TableGen/TableGen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support/tools/TableGen/TableGen.cpp b/support/tools/TableGen/TableGen.cpp index 70d2ef9..922ebbc 100644 --- a/support/tools/TableGen/TableGen.cpp +++ b/support/tools/TableGen/TableGen.cpp @@ -402,7 +402,7 @@ int main(int argc, char **argv) { switch (Action) { case Parse: ParseMachineCode(); break; case GenEmitter: - ErrorCode = CodeEmitterGen(Records).createEmitter(*Out); + ErrorCode = CodeEmitterGen(Records).run(*Out); break; case PrintRecords: *Out << Records; // No argument, dump all contents |