disambiguate symbols for Transl killing

I got stuck while trying to kill the `Transl` namespace, but these were the 'by-hand' changes I did before I got stuck. They get us closer so I think doing them will be helpful regardless.

Most were making longer names, but I also had to kill `Immed` (since there was another `Immed`in the other namespace). Originally I renamed it, but since them someone killed the last use of it.
Esse commit está contido em:
Paul Tarjan
2013-06-07 15:21:59 -07:00
commit de Sara Golemon
commit 872c1d1bcf
7 arquivos alterados com 4 adições e 12 exclusões
-3
Ver Arquivo
@@ -1041,9 +1041,6 @@ void CodeGenerator::cgCallNative(Asm& a, IRInstruction* inst) {
case VecKeyIS:
argGroup.vectorKeyIS(src);
break;
case Immed:
always_assert(0 && "We can't generate a native call for this");
break;
}
}
-2
Ver Arquivo
@@ -769,8 +769,6 @@ void LinearScan::computePreColoringHint() {
m_preColoringHint.add(inst->src(arg.srcIdx), 0, reg++);
m_preColoringHint.add(inst->src(arg.srcIdx), 1, reg++);
break;
case Immed:
break;
}
}
return;
-2
Ver Arquivo
@@ -65,8 +65,6 @@ static const DestType DNone = DestType::None;
* {VecKeyS, idx} - Like TV, but Str values are passed as a raw
* StringData*, in a single register
* {VecKeyIS, idx} - Like VecKeyS, including Int
* {Immed} - There's no precoloring to do here, an internal immediate is
* used in cgFoo for this function
*/
static CallMap s_callMap({
/* Opcode, Func, Dest, SyncPoint, Args */
-1
Ver Arquivo
@@ -51,7 +51,6 @@ enum ArgType : unsigned {
TV,
VecKeyS,
VecKeyIS,
Immed,
};
struct Arg {
ArgType type;
+2 -2
Ver Arquivo
@@ -323,7 +323,7 @@ void TranslatorX64::emitDebugPrint(Asm& a,
void
TranslatorX64::emitRB(X64Assembler& a,
RingBufferType t,
Trace::RingBufferType t,
SrcKey sk, RegSet toSave) {
if (!Trace::moduleEnabledRelease(Trace::tx64, 3)) {
return;
@@ -338,7 +338,7 @@ TranslatorX64::emitRB(X64Assembler& a,
void
TranslatorX64::emitRB(X64Assembler& a,
RingBufferType t,
Trace::RingBufferType t,
const char* msg,
RegSet toSave) {
if (!Trace::moduleEnabledRelease(Trace::tx64, 3)) {
+1 -1
Ver Arquivo
@@ -32,7 +32,7 @@
namespace HPHP { class ExecutionContext; }
namespace HPHP { namespace JIT {
namespace HPHP { namespace JIT {
class HhbcTranslator;
class IRFactory;
class CSEHash;
+1 -1
Ver Arquivo
@@ -1060,7 +1060,7 @@ struct InstrInfo {
};
static const struct {
Opcode op;
Opcode op;
InstrInfo info;
} instrInfoSparse [] = {