diff options
author | Dan Gohman <gohman@apple.com> | 2010-04-15 17:08:50 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-04-15 17:08:50 +0000 |
commit | b35798347ea87b8b6d36155b211016a7769f01ab (patch) | |
tree | bdf2ae210bf2fd57d31bf92e1a3d89a631ab3d58 /utils/TableGen/X86DisassemblerTables.cpp | |
parent | 098406b42ca7cd05745215020ae5ed82194b7c0a (diff) | |
download | external_llvm-b35798347ea87b8b6d36155b211016a7769f01ab.zip external_llvm-b35798347ea87b8b6d36155b211016a7769f01ab.tar.gz external_llvm-b35798347ea87b8b6d36155b211016a7769f01ab.tar.bz2 |
Fix a bunch of namespace polution.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101376 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/X86DisassemblerTables.cpp')
-rw-r--r-- | utils/TableGen/X86DisassemblerTables.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/TableGen/X86DisassemblerTables.cpp b/utils/TableGen/X86DisassemblerTables.cpp index be07031..2176224 100644 --- a/utils/TableGen/X86DisassemblerTables.cpp +++ b/utils/TableGen/X86DisassemblerTables.cpp @@ -161,7 +161,7 @@ void DisassemblerTables::emitOneID(raw_ostream &o, /// @param i - The indentation level for that output stream. static void emitEmptyTable(raw_ostream &o, uint32_t &i) { - o.indent(i * 2) << "InstrUID modRMEmptyTable[1] = { 0 };" << "\n"; + o.indent(i * 2) << "static InstrUID modRMEmptyTable[1] = { 0 };" << "\n"; o << "\n"; } @@ -275,7 +275,7 @@ void DisassemblerTables::emitModRMDecision(raw_ostream &o1, return; } - o1.indent(i1) << "InstrUID modRMTable" << thisTableNumber; + o1.indent(i1) << "static InstrUID modRMTable" << thisTableNumber; switch (dt) { default: |