From afed64f1a0eab0b2d742088186d7bc340a2c895b Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Tue, 26 Jun 2018 12:08:19 +0530 Subject: return block type in define and set --- js/Branching/ISELECT_f.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'js/Branching/ISELECT_f.js') diff --git a/js/Branching/ISELECT_f.js b/js/Branching/ISELECT_f.js index 0a1789d5..3352c1d5 100644 --- a/js/Branching/ISELECT_f.js +++ b/js/Branching/ISELECT_f.js @@ -15,6 +15,7 @@ function ISELECT_f() { exprs = [[string(nout)],[string(z0+1)]]; gr_i = []; this.x = standard_define([2,2],model,exprs,gr_i); + return new BasicBlock(this.x); } ISELECT_f.prototype.details = function ISELECT_f() { return this.x; @@ -44,5 +45,6 @@ function ISELECT_f() { } } } + return new BasicBlock(this.x); } } -- cgit