+5
-4
@@ -76,6 +76,4 @@ 'use strict'; | ||
| var list = this.phi[frontier.blockIndex]; | ||
| var phiNode = this.pipeline.create('ssa:phi'); | ||
| var phi = new Phi(node.literals[0], null); | ||
| var phi = new Phi(node.literals[0], phiNode); | ||
| var index = binarySearch(list, phi, Phi.sort); | ||
@@ -87,2 +85,5 @@ | ||
| var phiNode = this.pipeline.create('ssa:phi'); | ||
| phi.node = phiNode; | ||
| list.splice(-1 - index, 0, phi); | ||
@@ -227,3 +228,3 @@ phiNode.splitControl(frontier); | ||
| // Find offset of the first phi | ||
| // Find offset of the last phi | ||
| for (var j = 0; j < block.nodes.length; j++) { | ||
@@ -230,0 +231,0 @@ var node = block.nodes[j]; |
+1
-1
| { | ||
| "name": "ssa.js", | ||
| "version": "2.0.3", | ||
| "version": "2.0.4", | ||
| "description": "SSA Phi Insertion helper", | ||
@@ -5,0 +5,0 @@ "main": "lib/ssa.js", |
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
23312
0.09%547
0.18%