diff options
author | Derek Schuff <dschuff@chromium.org> | 2016-03-09 13:05:41 -0800 |
---|---|---|
committer | Derek Schuff <dschuff@chromium.org> | 2016-03-09 13:05:41 -0800 |
commit | 0c0850ed5e2a2e82ad42f803894defcc53692ccd (patch) | |
tree | c7225399210801476deaf21f093a865fbf5b54ef /src/passes/Print.cpp | |
parent | 1b45938aadd6e03e9210d88436be9c393623fb42 (diff) | |
download | binaryen-0c0850ed5e2a2e82ad42f803894defcc53692ccd.tar.gz binaryen-0c0850ed5e2a2e82ad42f803894defcc53692ccd.tar.bz2 binaryen-0c0850ed5e2a2e82ad42f803894defcc53692ccd.zip |
Implement rotates
Diffstat (limited to 'src/passes/Print.cpp')
-rw-r--r-- | src/passes/Print.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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<PrintSExpression, void> { 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; |