mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 21:32:10 +00:00
Tighten up interface
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7443 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
741bb0019d
commit
aaa3939476
@ -1,5 +1,6 @@
|
||||
//===- CodeEmitterGen.h - Code Emitter Generator ----------------*- C++ -*-===//
|
||||
//
|
||||
// FIXME: document
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
@ -7,15 +8,14 @@
|
||||
#define CODEMITTERGEN_H
|
||||
|
||||
#include "Record.h"
|
||||
#include <iostream>
|
||||
|
||||
struct CodeEmitterGen {
|
||||
class CodeEmitterGen {
|
||||
RecordKeeper &Records;
|
||||
|
||||
public:
|
||||
CodeEmitterGen(RecordKeeper &R) : Records(R) {}
|
||||
|
||||
int createEmitter(std::ostream &o);
|
||||
private:
|
||||
void emitMachineOpEmitter(std::ostream &o, const std::string &Namespace);
|
||||
void emitGetValueBit(std::ostream &o, const std::string &Namespace);
|
||||
};
|
||||
|
@ -1,5 +1,6 @@
|
||||
//===- CodeEmitterGen.h - Code Emitter Generator ----------------*- C++ -*-===//
|
||||
//
|
||||
// FIXME: document
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
@ -7,15 +8,14 @@
|
||||
#define CODEMITTERGEN_H
|
||||
|
||||
#include "Record.h"
|
||||
#include <iostream>
|
||||
|
||||
struct CodeEmitterGen {
|
||||
class CodeEmitterGen {
|
||||
RecordKeeper &Records;
|
||||
|
||||
public:
|
||||
CodeEmitterGen(RecordKeeper &R) : Records(R) {}
|
||||
|
||||
int createEmitter(std::ostream &o);
|
||||
private:
|
||||
void emitMachineOpEmitter(std::ostream &o, const std::string &Namespace);
|
||||
void emitGetValueBit(std::ostream &o, const std::string &Namespace);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user