diff From 9873ebc8e8a6f8ebb87d171da362131bb792b858 Mon Sep 17 00:00:00 2001 From: Egor Pasko Date: Mon, 23 Jul 2007 09:38:00 +0400 Subject: [PATCH] uint32 ids for IOpndProxy --- vm/jitrino/src/optimizer/abcd/classic_abcd.cpp | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/vm/jitrino/src/optimizer/abcd/classic_abcd.cpp b/vm/jitrino/src/optimizer/abcd/classic_abcd.cpp index b505ce4..03d1f33 100644 --- a/vm/jitrino/src/optimizer/abcd/classic_abcd.cpp +++ b/vm/jitrino/src/optimizer/abcd/classic_abcd.cpp @@ -73,10 +73,10 @@ private: /* ids of PiOpnd, SsaOpnd, VarOpnd may alias their IDs, * encoding all in one ID with unaliasing */ - static const uint64 min_var_opnd = 0; - static const uint64 min_ssa_opnd = MAX_UINT32 / 4; - static const uint64 min_pi_opnd = (min_ssa_opnd) * 2; - static const uint64 min_const_opnd = (min_ssa_opnd) * 3; + static const uint32 min_var_opnd = 0; + static const uint32 min_ssa_opnd = MAX_UINT32 / 4; + static const uint32 min_pi_opnd = (min_ssa_opnd) * 2; + static const uint32 min_const_opnd = (min_ssa_opnd) * 3; }; //------------------------------------------------------------------------------ @@ -127,7 +127,7 @@ IOpndProxy::IOpndProxy(int32 c, uint32 i IOpnd(0, false /* is_phi */, true /* is_constant */), _opnd(NULL) { - setID((uint32)min_const_opnd + id); + setID(min_const_opnd + id); setConstant(c); } @@ -188,7 +188,7 @@ private: // operands are mapped to their renaming Pi instructions during the walk // (applyToInst), and then this mapping is used to create edges between // operands in InequalityGraph. This allows to link newer operands with - // constrints (edges) rather than old ones; + // constraints (edges) rather than old ones; // // Example: // if ( x.1 < y.1 ) {