From 59051ea5144993b2e2d94bb727e7dc5e33cb140a Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Tue, 24 Dec 2013 10:56:36 -0800 Subject: remove outdated comment --- tools/js-optimizer.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/tools/js-optimizer.js b/tools/js-optimizer.js index 296a5cae..c63cb36a 100644 --- a/tools/js-optimizer.js +++ b/tools/js-optimizer.js @@ -2149,9 +2149,6 @@ var IGNORABLE_ELIMINATOR_SCAN_NODES = set('num', 'toplevel', 'string', 'break', var ABORTING_ELIMINATOR_SCAN_NODES = set('new', 'object', 'function', 'defun', 'for', 'while', 'array', 'throw'); // we could handle some of these, TODO, but nontrivial (e.g. for while, the condition is hit multiple times after the body) function isTempDoublePtrAccess(node) { // these are used in bitcasts; they are not really affecting memory, and should cause no invalidation - // XXX note that we assume they have no effect. this is only true due to the compiler emitting (write, read) - // using the comma operator, so they are not split up. Otherwise, we would need to invalidate - // tempDoublePtr when it is used, so write; read; write; read; would not become write; write; read; read; assert(node[0] === 'sub'); return (node[2][0] === 'name' && node[2][1] === 'tempDoublePtr') || (node[2][0] === 'binary' && ((node[2][2][0] === 'name' && node[2][2][1] === 'tempDoublePtr') || -- cgit v1.2.3-18-g5258