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:
parent
31dfc55b11
commit
c8aec14b0b
153 changed files with 6296 additions and 188 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue