mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
eliminate the Records global variable, patch by Garrison Venn!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121659 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1488,11 +1488,11 @@ bool FilterChooser::emit(raw_ostream &o, unsigned &Indentation) {
|
||||
|
||||
class ARMDecoderEmitter::ARMDEBackend {
|
||||
public:
|
||||
ARMDEBackend(ARMDecoderEmitter &frontend) :
|
||||
ARMDEBackend(ARMDecoderEmitter &frontend, RecordKeeper &Records) :
|
||||
NumberedInstructions(),
|
||||
Opcodes(),
|
||||
Frontend(frontend),
|
||||
Target(),
|
||||
Target(Records),
|
||||
FC(NULL)
|
||||
{
|
||||
if (Target.getName() == "ARM")
|
||||
@@ -1843,7 +1843,7 @@ void ARMDecoderEmitter::ARMDEBackend::emit(raw_ostream &o) {
|
||||
|
||||
void ARMDecoderEmitter::initBackend()
|
||||
{
|
||||
Backend = new ARMDEBackend(*this);
|
||||
Backend = new ARMDEBackend(*this, Records);
|
||||
}
|
||||
|
||||
void ARMDecoderEmitter::run(raw_ostream &o)
|
||||
|
Reference in New Issue
Block a user