hash()
{
let result = 0; for (let block of this) {
result *= 1000001;
result |= 0; for (let inst of block) {
result *= 97;
result |= 0;
result += inst.hash();
result |= 0;
} for (let successor of block.successorBlocks) {
result *= 7;
result |= 0;
result += successor.index;
result |= 0;
}
} for (let slot of this.stackSlots) {
result *= 101;
result |= 0;
result += slot.hash();
result |= 0;
}
return result >>> 0;
}
toString()
{
let result = ""; for (let block of this) {
result += block.toStringDeep();
} if (this.stackSlots.length) {
result += "Stack slots:\n"; for (let slot of this.stackSlots)
result += ` ${slot}\n`;
} if (this._frameSize)
result += `Frame size: ${this._frameSize}\n`; if (this._callArgAreaSize)
result += `Call arg area size: ${this._callArgAreaSize}\n`;
return result;
}
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.