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/Sinks/CSCOPE.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'js/Sinks/CSCOPE.js') diff --git a/js/Sinks/CSCOPE.js b/js/Sinks/CSCOPE.js index 666b07a6..f0b1699e 100644 --- a/js/Sinks/CSCOPE.js +++ b/js/Sinks/CSCOPE.js @@ -21,6 +21,7 @@ function CSCOPE() { exprs = [[strcat(string(clrs)," ")],[string(win)],[sci2exp([])],[sci2exp(wdim)],[string(ymin)],[string(ymax)],[string(per)],[string(N)],[transpose(string(0))],[emptystr()]]; gr_i = []; this.x = standard_define([2,2],model,exprs,gr_i); + return new BasicBlock(this.x); } CSCOPE.prototype.details = function CSCOPE() { return this.x; @@ -92,5 +93,6 @@ function CSCOPE() { break; } } + return new BasicBlock(this.x); } } -- cgit