mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
Fix code to be in a consistent style
llvm-svn: 252
This commit is contained in:
parent
39b84317b3
commit
1104f35aaf
@ -11,9 +11,8 @@
|
||||
#include "llvm/Codegen/MachineInstr.h"
|
||||
|
||||
Instruction::Instruction(const Type *ty, unsigned it, const string &Name)
|
||||
: User(ty, Value::InstructionVal, Name),
|
||||
machineInstrVec(new MachineCodeForVMInstr)
|
||||
{
|
||||
: User(ty, Value::InstructionVal, Name),
|
||||
machineInstrVec(new MachineCodeForVMInstr) {
|
||||
Parent = 0;
|
||||
iType = it;
|
||||
}
|
||||
@ -32,9 +31,7 @@ void Instruction::setName(const string &name) {
|
||||
if (PP && hasName()) PP->getSymbolTableSure()->insert(this);
|
||||
}
|
||||
|
||||
void
|
||||
Instruction::addMachineInstruction(MachineInstr* minstr)
|
||||
{
|
||||
void Instruction::addMachineInstruction(MachineInstr* minstr) {
|
||||
machineInstrVec->push_back(minstr);
|
||||
}
|
||||
|
||||
@ -44,15 +41,12 @@ Instruction::addMachineInstruction(MachineInstr* minstr)
|
||||
// sequence of forward declarations. Trying to fix that will
|
||||
// cause a serious circularity in link order.
|
||||
//
|
||||
const vector<Value*>&
|
||||
Instruction::getTempValuesForMachineCode() const
|
||||
{
|
||||
const vector<Value*> &Instruction::getTempValuesForMachineCode() const {
|
||||
return machineInstrVec->getTempValues();
|
||||
}
|
||||
#endif
|
||||
|
||||
void
|
||||
Instruction::dropAllReferences() {
|
||||
void Instruction::dropAllReferences() {
|
||||
machineInstrVec->dropAllReferences();
|
||||
User::dropAllReferences();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user