aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiacomo Tazzari <giacomo.tazzari@gmail.com>2014-08-11 17:20:11 +0800
committerGiacomo Tazzari <giacomo.tazzari@gmail.com>2014-08-11 17:20:11 +0800
commit905df780a32370725ea5e28f97724a496d816d0a (patch)
treef157ff3b7aeb9a8e36febfab52a932151c4eae54
parent17cb91aa35e3048723ac449b48d26038e6956de7 (diff)
downloaddexon-solidity-905df780a32370725ea5e28f97724a496d816d0a.tar.gz
dexon-solidity-905df780a32370725ea5e28f97724a496d816d0a.tar.zst
dexon-solidity-905df780a32370725ea5e28f97724a496d816d0a.zip
Code indentation fix
-rw-r--r--Assembly.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Assembly.cpp b/Assembly.cpp
index 550f5c89..491d3812 100644
--- a/Assembly.cpp
+++ b/Assembly.cpp
@@ -227,14 +227,14 @@ Assembly& Assembly::optimise(bool _enable)
{
{ Instruction::SUB, [](u256 a, u256 b)->u256{return a - b;} },
{ Instruction::DIV, [](u256 a, u256 b)->u256{return a / b;} },
- { Instruction::SDIV, [](u256 a, u256 b)->u256{return s2u(u2s(a) / u2s(b));} },
+ { Instruction::SDIV, [](u256 a, u256 b)->u256{return s2u(u2s(a) / u2s(b));} },
{ Instruction::MOD, [](u256 a, u256 b)->u256{return a % b;} },
- { Instruction::SMOD, [](u256 a, u256 b)->u256{return s2u(u2s(a) % u2s(b));} },
+ { Instruction::SMOD, [](u256 a, u256 b)->u256{return s2u(u2s(a) % u2s(b));} },
{ Instruction::EXP, [](u256 a, u256 b)->u256{return (u256)boost::multiprecision::powm((bigint)a, (bigint)b, bigint(2) << 256);} },
{ Instruction::LT, [](u256 a, u256 b)->u256{return a < b ? 1 : 0;} },
{ Instruction::GT, [](u256 a, u256 b)->u256{return a > b ? 1 : 0;} },
- { Instruction::SLT, [](u256 a, u256 b)->u256{return u2s(a) < u2s(b) ? 1 : 0;} },
- { Instruction::SGT, [](u256 a, u256 b)->u256{return u2s(a) > u2s(b) ? 1 : 0;} },
+ { Instruction::SLT, [](u256 a, u256 b)->u256{return u2s(a) < u2s(b) ? 1 : 0;} },
+ { Instruction::SGT, [](u256 a, u256 b)->u256{return u2s(a) > u2s(b) ? 1 : 0;} },
{ Instruction::EQ, [](u256 a, u256 b)->u256{return a == b ? 1 : 0;} },
};
map<Instruction, function<u256(u256, u256)>> c_associative =