mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-29 14:40:25 +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