From 0c0850ed5e2a2e82ad42f803894defcc53692ccd Mon Sep 17 00:00:00 2001 From: Derek Schuff Date: Wed, 9 Mar 2016 13:05:41 -0800 Subject: Implement rotates --- src/passes/Print.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/passes/Print.cpp') diff --git a/src/passes/Print.cpp b/src/passes/Print.cpp index 91c4040f6..b69f7a977 100644 --- a/src/passes/Print.cpp +++ b/src/passes/Print.cpp @@ -284,6 +284,8 @@ struct PrintSExpression : public WasmVisitor { case Shl: o << "shl"; break; case ShrU: o << "shr_u"; break; case ShrS: o << "shr_s"; break; + case RotL: o << "rotl"; break; + case RotR: o << "rotr"; break; case Div: o << "div"; break; case CopySign: o << "copysign"; break; case Min: o << "min"; break; -- cgit v1.2.3