build broken on windows along with lirasm breakage

--HG--
extra : convert_revision : 0623adbccaf277410970dff1907efdd8a92f50b3
This commit is contained in:
Rick Reitmaier 2011-05-06 12:11:06 -07:00
parent 5a49964781
commit 0e7e197a1e
2 changed files with 7 additions and 2 deletions

View File

@ -368,13 +368,14 @@ namespace nanojit
void CfgLister::printEdges(FILE* f, LInsPrinter* printer, InsSet* makeProxyNodesFor) void CfgLister::printEdges(FILE* f, LInsPrinter* printer, InsSet* makeProxyNodesFor)
{ {
uint32_t pseudoId = ~0; // ids for proxy nodes uint32_t pseudoId = (uint32_t)~0; // ids for proxy nodes
LIns* src = NULL;
InsBuf str; InsBuf str;
HashMap<LIns*, InsList*>::Iter ite(_edges); HashMap<LIns*, InsList*>::Iter ite(_edges);
while(ite.next()) while(ite.next())
{ {
LIns* origSrc = ite.key(); LIns* origSrc = ite.key();
LIns* src = _alt.containsKey(origSrc) ? _alt.get(origSrc) : src; src = _alt.containsKey(origSrc) ? _alt.get(origSrc) : src;
uint32_t sid = node2id(src); uint32_t sid = node2id(src);
Seq<LIns*>* l = ite.value()->get(); Seq<LIns*>* l = ite.value()->get();
while (l) while (l)

View File

@ -180,3 +180,7 @@ void
nanojit::CodeAlloc::markCodeChunkExec(void*, size_t) nanojit::CodeAlloc::markCodeChunkExec(void*, size_t)
{} {}
bool
nanojit::CodeAlloc::checkChunkMark(void* /*addr*/, size_t /*nbytes*/, bool /*isExec*/) {
return true; // always correct
}