diff options
Diffstat (limited to 'src/binaryen-c.cpp')
-rw-r--r-- | src/binaryen-c.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/binaryen-c.cpp b/src/binaryen-c.cpp index 8d7f9b0bc..53daef977 100644 --- a/src/binaryen-c.cpp +++ b/src/binaryen-c.cpp @@ -271,6 +271,11 @@ BinaryenOp BinaryenTruncUFloat64ToInt32(void) { return TruncUFloat64ToInt32; } BinaryenOp BinaryenTruncUFloat64ToInt64(void) { return TruncUFloat64ToInt64; } BinaryenOp BinaryenReinterpretFloat32(void) { return ReinterpretFloat32; } BinaryenOp BinaryenReinterpretFloat64(void) { return ReinterpretFloat64; } +BinaryenOp BinaryenExtendS8Int32(void) { return ExtendS8Int32; } +BinaryenOp BinaryenExtendS16Int32(void) { return ExtendS16Int32; } +BinaryenOp BinaryenExtendS8Int64(void) { return ExtendS8Int64; } +BinaryenOp BinaryenExtendS16Int64(void) { return ExtendS16Int64; } +BinaryenOp BinaryenExtendS32Int64(void) { return ExtendS32Int64; } BinaryenOp BinaryenConvertSInt32ToFloat32(void) { return ConvertSInt32ToFloat32; } BinaryenOp BinaryenConvertSInt32ToFloat64(void) { return ConvertSInt32ToFloat64; } BinaryenOp BinaryenConvertUInt32ToFloat32(void) { return ConvertUInt32ToFloat32; } @@ -835,7 +840,7 @@ BinaryenExpressionId BinaryenExpressionGetId(BinaryenExpressionRef expr) { if (tracing) { std::cout << " BinaryenExpressionGetId(expressions[" << expressions[expr] << "]);\n"; } - + return ((Expression*)expr)->_id; } BinaryenType BinaryenExpressionGetType(BinaryenExpressionRef expr) { |