Follow my own advice and write any 32-bit hex constant > 0x7fffffff as (constant|0)

The Closure Compiler does a fine job of replacing all such expressions with their decimal equivalent, relieving us from having to calculate them ourselves, and eliminating any runtime impact
This commit is contained in:
Jeff Parsons 2015-02-19 11:18:40 -08:00 • committed by jeffpar
commit c8aec14b0b
153 changed files with 6296 additions and 188 deletions

View file

@ -862,7 +862,7 @@ X86Seg.prototype.updateMode = function(fProt)
this.dataMask = 0xffff;
} else {
this.dataSize = 4;
this.dataMask = 0xffffffff;
this.dataMask = (0xffffffff|0);
}
} else {
this.load = X86Seg.loadReal;