still change if *1

This commit is contained in:
Adam
2015-09-13 19:40:08 -04:00
parent 98e3b7ec9e
commit 0b1d2be4a1
2 changed files with 3 additions and 3 deletions

View File

@@ -42,7 +42,7 @@ public class IMul extends Instruction
// 'one' is encrypted and we want to decrypt it by dividing by one.encryption
if (other != 1 && other != 0)
//if (other != 1 && other != 0)
{
int o = other * DMath.modInverse(one.encryption);
@@ -56,7 +56,7 @@ public class IMul extends Instruction
PushConstantInstruction pci = (PushConstantInstruction) one.getPushed().getInstruction();
int other = (int) pci.getConstant().getObject();
if (other != 1 && other != 0)
//if (other != 1 && other != 0)
{
int o = other * DMath.modInverse(two.encryption);

View File

@@ -86,7 +86,7 @@ public class PutStatic extends Instruction implements SetFieldInstruction
if (encryption.hasChange(pci))
return true;
if (value != 0 && value != 1)
//if (value != 0 && value != 1)
{
value = value * pair.getter;