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/IntegerOp/INTMUL.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'js/IntegerOp/INTMUL.js') diff --git a/js/IntegerOp/INTMUL.js b/js/IntegerOp/INTMUL.js index 95065dac..c67e5c5e 100644 --- a/js/IntegerOp/INTMUL.js +++ b/js/IntegerOp/INTMUL.js @@ -17,6 +17,7 @@ function INTMUL() { exprs = [[sci2exp(3)],[sci2exp(0)]]; gr_i = []; this.x = standard_define([2,2],model,exprs,gr_i); + return new BasicBlock(this.x); } INTMUL.prototype.details = function INTMUL() { return this.x; @@ -103,5 +104,6 @@ function INTMUL() { break; } } + return new BasicBlock(this.x); } } -- cgit