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
This commit is contained in:
Chris Lattner
2003-07-31 04:38:26 +00:00
parent 14d7c59491
commit f745a20deb
6 changed files with 12 additions and 10 deletions

View File

@ -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