on master help sign in
Update the bitwise op inlining for new names
commitf71c9d40f0a4e7e53c10b193a58b1f8cd00aae00 authorEvan Czaplicki <evancz@users.noreply.github.com> dateThu 29 Sep 2016, 18:26 (10 years ago) parent2372433
1 file changed+3−3
src/Generate/JavaScript/Expression.hs+3−3
src/Generate/JavaScript/Expression.hs+3−3
@@ -338,9 +338,9 @@ getBinaryOp (Var.Canonical home name) =
338338 "and" -> Just OpBAnd
339339 "or" -> Just OpBOr
340340 "xor" -> Just OpBXor
341− "shiftLeft" -> Just OpLShift
342− "shiftRight" -> Just OpSpRShift
343− "shiftRightLogical" -> Just OpZfRShift
341+ "leftShift" -> Just OpLShift
342+ "rightShift" -> Just OpSpRShift
343+ "logicalRightShift" -> Just OpZfRShift
344344 _ -> Nothing
345345
346346