Declare intrinsic rem operator for primitives
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2010-2015 JetBrains s.r.o.
|
||||
* Copyright 2010-2016 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -106,6 +106,7 @@ public class IntrinsicMethods {
|
||||
declareBinaryOp("times", IMUL);
|
||||
declareBinaryOp("div", IDIV);
|
||||
declareBinaryOp("mod", IREM);
|
||||
declareBinaryOp("rem", IREM);
|
||||
declareBinaryOp("shl", ISHL);
|
||||
declareBinaryOp("shr", ISHR);
|
||||
declareBinaryOp("ushr", IUSHR);
|
||||
|
||||
+1
@@ -107,6 +107,7 @@ public class IntrinsicMethods {
|
||||
declareBinaryOp("times", IMUL);
|
||||
declareBinaryOp("div", IDIV);
|
||||
declareBinaryOp("mod", IREM);
|
||||
declareBinaryOp("rem", IREM);
|
||||
declareBinaryOp("shl", ISHL);
|
||||
declareBinaryOp("shr", ISHR);
|
||||
declareBinaryOp("ushr", IUSHR);
|
||||
|
||||
Reference in New Issue
Block a user