Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

ssa.js

Package Overview
Dependencies
Maintainers
3
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ssa.js - npm Package Compare versions

Comparing version
2.0.3
to
2.0.4
+5
-4
lib/ssa.js

@@ -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];

{
"name": "ssa.js",
"version": "2.0.3",
"version": "2.0.4",
"description": "SSA Phi Insertion helper",

@@ -5,0 +5,0 @@ "main": "lib/ssa.js",