fix IpPromise::resolved

This method was returning true when it shouldn't have, and this led to
an assertion failure when we actually tried to get the promise's
value.
This commit is contained in:
Joel Dice 2011-03-15 17:17:26 -06:00
parent 78790a0f68
commit 93b3d3d8a6

View File

@ -527,7 +527,8 @@ class IpPromise: public Promise {
}
virtual bool resolved() {
return c->machineCode != 0;
return c->machineCode != 0
and c->logicalCode[logicalIp]->machineOffset->resolved();
}
Context* c;