Removed SAMPLER and RegFrame code (DEBUG-only code that's easy to resurrect if needed later)

This commit is contained in:
Jeff Parsons 2015-10-18 11:27:35 -07:00
commit b944cff3b5
6 changed files with 2 additions and 139 deletions

View file

@ -103,17 +103,6 @@ var BACKTRACK = false;
*/
var SYMBOLS = DEBUGGER;
/**
* @define {boolean}
*
* SAMPLER enables instruction sampling (a work-in-progress). This was used briefly as an internal debugging aid,
* to periodically record LIP values in a fixed-length sampling buffer, halting execution once the sampling buffer
* was full, and then compare those sampled LIP values to corresponding LIP values on subsequent runs, to look
* for deviations. In theory, every run is supposed to be absolutely identical, even if you interrupt execution
* with the Debugger or enable/disable different sets of messages, but in practice, that's hard to guarantee.
*/
var SAMPLER = false;
/**
* @define {boolean}
*
@ -162,7 +151,6 @@ if (NODE) {
global.TYPEDARRAYS = TYPEDARRAYS;
global.BACKTRACK = BACKTRACK;
global.SYMBOLS = SYMBOLS;
global.SAMPLER = SAMPLER;
global.BUGS_8086 = BUGS_8086;
global.I386 = I386;
global.COMPAQ386 = COMPAQ386;