@@ -914,7 +914,7 @@ BinaryenExpressionRef BinaryenIf(BinaryenModuleRef module,
914914BinaryenExpressionRef BinaryenLoop (BinaryenModuleRef module ,
915915 const char * name,
916916 BinaryenExpressionRef body) {
917- auto * ret = Builder (*(( Module*)module ) )
917+ auto * ret = Builder (*(Module*)module )
918918 .makeLoop (name ? Name (name) : Name (), (Expression*)body);
919919
920920 if (tracing) {
@@ -927,7 +927,7 @@ BinaryenExpressionRef BinaryenBreak(BinaryenModuleRef module,
927927 const char * name,
928928 BinaryenExpressionRef condition,
929929 BinaryenExpressionRef value) {
930- auto * ret = Builder (*(( Module*)module ) )
930+ auto * ret = Builder (*(Module*)module )
931931 .makeBreak (name, (Expression*)value, (Expression*)condition);
932932
933933 if (tracing) {
@@ -1214,7 +1214,7 @@ BinaryenExpressionRef BinaryenStore(BinaryenModuleRef module,
12141214}
12151215BinaryenExpressionRef BinaryenConst (BinaryenModuleRef module ,
12161216 BinaryenLiteral value) {
1217- auto * ret = Builder (*(( Module*)module ) ).makeConst (fromBinaryenLiteral (value));
1217+ auto * ret = Builder (*(Module*)module ).makeConst (fromBinaryenLiteral (value));
12181218 if (tracing) {
12191219 traceExpression (ret, " BinaryenConst" , value);
12201220 }
@@ -1224,7 +1224,7 @@ BinaryenExpressionRef BinaryenUnary(BinaryenModuleRef module,
12241224 BinaryenOp op,
12251225 BinaryenExpressionRef value) {
12261226 auto * ret =
1227- Builder (*(( Module*)module ) ).makeUnary (UnaryOp (op), (Expression*)value);
1227+ Builder (*(Module*)module ).makeUnary (UnaryOp (op), (Expression*)value);
12281228
12291229 if (tracing) {
12301230 traceExpression (ret, " BinaryenUnary" , op, value);
@@ -1237,7 +1237,7 @@ BinaryenExpressionRef BinaryenBinary(BinaryenModuleRef module,
12371237 BinaryenExpressionRef left,
12381238 BinaryenExpressionRef right) {
12391239 auto * ret =
1240- Builder (*(( Module*)module ) )
1240+ Builder (*(Module*)module )
12411241 .makeBinary (BinaryOp (op), (Expression*)left, (Expression*)right);
12421242
12431243 if (tracing) {
@@ -1276,7 +1276,7 @@ BinaryenExpressionRef BinaryenDrop(BinaryenModuleRef module,
12761276}
12771277BinaryenExpressionRef BinaryenReturn (BinaryenModuleRef module ,
12781278 BinaryenExpressionRef value) {
1279- auto * ret = Builder (*(( Module*)module ) ).makeReturn ((Expression*)value);
1279+ auto * ret = Builder (*(Module*)module ).makeReturn ((Expression*)value);
12801280
12811281 if (tracing) {
12821282 traceExpression (ret, " BinaryenReturn" , value);
@@ -1343,7 +1343,7 @@ BinaryenExpressionRef BinaryenAtomicLoad(BinaryenModuleRef module,
13431343 uint32_t offset,
13441344 BinaryenType type,
13451345 BinaryenExpressionRef ptr) {
1346- auto * ret = Builder (*(( Module*)module ) )
1346+ auto * ret = Builder (*(Module*)module )
13471347 .makeAtomicLoad (bytes, offset, (Expression*)ptr, Type (type));
13481348
13491349 if (tracing) {
@@ -1359,7 +1359,7 @@ BinaryenExpressionRef BinaryenAtomicStore(BinaryenModuleRef module,
13591359 BinaryenExpressionRef value,
13601360 BinaryenType type) {
13611361 auto * ret =
1362- Builder (*(( Module*)module ) )
1362+ Builder (*(Module*)module )
13631363 .makeAtomicStore (
13641364 bytes, offset, (Expression*)ptr, (Expression*)value, Type (type));
13651365
@@ -1377,7 +1377,7 @@ BinaryenExpressionRef BinaryenAtomicRMW(BinaryenModuleRef module,
13771377 BinaryenExpressionRef ptr,
13781378 BinaryenExpressionRef value,
13791379 BinaryenType type) {
1380- auto * ret = Builder (*(( Module*)module ) )
1380+ auto * ret = Builder (*(Module*)module )
13811381 .makeAtomicRMW (AtomicRMWOp (op),
13821382 bytes,
13831383 offset,
@@ -1399,7 +1399,7 @@ BinaryenExpressionRef BinaryenAtomicCmpxchg(BinaryenModuleRef module,
13991399 BinaryenExpressionRef expected,
14001400 BinaryenExpressionRef replacement,
14011401 BinaryenType type) {
1402- auto * ret = Builder (*(( Module*)module ) )
1402+ auto * ret = Builder (*(Module*)module )
14031403 .makeAtomicCmpxchg (bytes,
14041404 offset,
14051405 (Expression*)ptr,
@@ -1425,7 +1425,7 @@ BinaryenExpressionRef BinaryenAtomicWait(BinaryenModuleRef module,
14251425 BinaryenExpressionRef expected,
14261426 BinaryenExpressionRef timeout,
14271427 BinaryenType expectedType) {
1428- auto * ret = Builder (*(( Module*)module ) )
1428+ auto * ret = Builder (*(Module*)module )
14291429 .makeAtomicWait ((Expression*)ptr,
14301430 (Expression*)expected,
14311431 (Expression*)timeout,
@@ -1443,7 +1443,7 @@ BinaryenExpressionRef BinaryenAtomicNotify(BinaryenModuleRef module,
14431443 BinaryenExpressionRef ptr,
14441444 BinaryenExpressionRef notifyCount) {
14451445 auto * ret =
1446- Builder (*(( Module*)module ) )
1446+ Builder (*(Module*)module )
14471447 .makeAtomicNotify ((Expression*)ptr, (Expression*)notifyCount, 0 );
14481448
14491449 if (tracing) {
@@ -1456,7 +1456,7 @@ BinaryenExpressionRef BinaryenSIMDExtract(BinaryenModuleRef module,
14561456 BinaryenOp op,
14571457 BinaryenExpressionRef vec,
14581458 uint8_t index) {
1459- auto * ret = Builder (*(( Module*)module ) )
1459+ auto * ret = Builder (*(Module*)module )
14601460 .makeSIMDExtract (SIMDExtractOp (op), (Expression*)vec, index);
14611461 if (tracing) {
14621462 traceExpression (ret, " BinaryenSIMDExtract" , op, vec, int (index));
@@ -1469,7 +1469,7 @@ BinaryenExpressionRef BinaryenSIMDReplace(BinaryenModuleRef module,
14691469 uint8_t index,
14701470 BinaryenExpressionRef value) {
14711471 auto * ret =
1472- Builder (*(( Module*)module ) )
1472+ Builder (*(Module*)module )
14731473 .makeSIMDReplace (
14741474 SIMDReplaceOp (op), (Expression*)vec, index, (Expression*)value);
14751475 if (tracing) {
@@ -1483,7 +1483,7 @@ BinaryenExpressionRef BinaryenSIMDShuffle(BinaryenModuleRef module,
14831483 const uint8_t mask_[16 ]) {
14841484 std::array<uint8_t , 16 > mask;
14851485 memcpy (mask.data (), mask_, 16 );
1486- auto * ret = Builder (*(( Module*)module ) )
1486+ auto * ret = Builder (*(Module*)module )
14871487 .makeSIMDShuffle ((Expression*)left, (Expression*)right, mask);
14881488 if (tracing) {
14891489 std::cout << " {\n " ;
@@ -1504,7 +1504,7 @@ BinaryenExpressionRef BinaryenSIMDBitselect(BinaryenModuleRef module,
15041504 BinaryenExpressionRef left,
15051505 BinaryenExpressionRef right,
15061506 BinaryenExpressionRef cond) {
1507- auto * ret = Builder (*(( Module*)module ) )
1507+ auto * ret = Builder (*(Module*)module )
15081508 .makeSIMDBitselect (
15091509 (Expression*)left, (Expression*)right, (Expression*)cond);
15101510 if (tracing) {
@@ -1517,7 +1517,7 @@ BinaryenExpressionRef BinaryenSIMDShift(BinaryenModuleRef module,
15171517 BinaryenExpressionRef vec,
15181518 BinaryenExpressionRef shift) {
15191519 auto * ret =
1520- Builder (*(( Module*)module ) )
1520+ Builder (*(Module*)module )
15211521 .makeSIMDShift (SIMDShiftOp (op), (Expression*)vec, (Expression*)shift);
15221522 if (tracing) {
15231523 traceExpression (ret, " BinaryenSIMDShift" , op, vec, shift);
@@ -1530,7 +1530,7 @@ BinaryenExpressionRef BinaryenMemoryInit(BinaryenModuleRef module,
15301530 BinaryenExpressionRef offset,
15311531 BinaryenExpressionRef size) {
15321532 auto * ret =
1533- Builder (*(( Module*)module ) )
1533+ Builder (*(Module*)module )
15341534 .makeMemoryInit (
15351535 segment, (Expression*)dest, (Expression*)offset, (Expression*)size);
15361536 if (tracing) {
@@ -1541,7 +1541,7 @@ BinaryenExpressionRef BinaryenMemoryInit(BinaryenModuleRef module,
15411541
15421542BinaryenExpressionRef BinaryenDataDrop (BinaryenModuleRef module ,
15431543 uint32_t segment) {
1544- auto * ret = Builder (*(( Module*)module ) ).makeDataDrop (segment);
1544+ auto * ret = Builder (*(Module*)module ).makeDataDrop (segment);
15451545 if (tracing) {
15461546 traceExpression (ret, " BinaryenDataDrop" , segment);
15471547 }
@@ -1552,7 +1552,7 @@ BinaryenExpressionRef BinaryenMemoryCopy(BinaryenModuleRef module,
15521552 BinaryenExpressionRef dest,
15531553 BinaryenExpressionRef source,
15541554 BinaryenExpressionRef size) {
1555- auto * ret = Builder (*(( Module*)module ) )
1555+ auto * ret = Builder (*(Module*)module )
15561556 .makeMemoryCopy (
15571557 (Expression*)dest, (Expression*)source, (Expression*)size);
15581558 if (tracing) {
@@ -1566,7 +1566,7 @@ BinaryenExpressionRef BinaryenMemoryFill(BinaryenModuleRef module,
15661566 BinaryenExpressionRef value,
15671567 BinaryenExpressionRef size) {
15681568 auto * ret =
1569- Builder (*(( Module*)module ) )
1569+ Builder (*(Module*)module )
15701570 .makeMemoryFill ((Expression*)dest, (Expression*)value, (Expression*)size);
15711571 if (tracing) {
15721572 traceExpression (ret, " BinaryenMemoryFill" , dest, value, size);
0 commit comments