aboutsummaryrefslogtreecommitdiffstats
path: root/libevmasm
diff options
context:
space:
mode:
authorOmar Boukli-Hacene <oboukli@users.noreply.github.com>2018-04-27 23:31:30 +0800
committerOmar Boukli-Hacene <oboukli@users.noreply.github.com>2018-04-27 23:31:30 +0800
commit090f9995f2ffc88e4d1b4f1011cbfd59f8c24a21 (patch)
treece093a242e532897c2b31ead67a5193fec0b3a3a /libevmasm
parentef2111a2fe89fef06a4d8e750d6a652b16358f4b (diff)
downloaddexon-solidity-090f9995f2ffc88e4d1b4f1011cbfd59f8c24a21.tar.gz
dexon-solidity-090f9995f2ffc88e4d1b4f1011cbfd59f8c24a21.tar.zst
dexon-solidity-090f9995f2ffc88e4d1b4f1011cbfd59f8c24a21.zip
Fix comment typos
Diffstat (limited to 'libevmasm')
-rw-r--r--libevmasm/Instruction.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/libevmasm/Instruction.h b/libevmasm/Instruction.h
index be788ddb..dc116f88 100644
--- a/libevmasm/Instruction.h
+++ b/libevmasm/Instruction.h
@@ -39,7 +39,7 @@ enum class Instruction: uint8_t
{
STOP = 0x00, ///< halts execution
ADD, ///< addition operation
- MUL, ///< mulitplication operation
+ MUL, ///< multiplication operation
SUB, ///< subtraction operation
DIV, ///< integer division operation
SDIV, ///< signed integer division operation
@@ -50,11 +50,11 @@ enum class Instruction: uint8_t
EXP, ///< exponential operation
SIGNEXTEND, ///< extend length of signed integer
- LT = 0x10, ///< less-than comparision
- GT, ///< greater-than comparision
- SLT, ///< signed less-than comparision
- SGT, ///< signed greater-than comparision
- EQ, ///< equality comparision
+ LT = 0x10, ///< less-than comparison
+ GT, ///< greater-than comparison
+ SLT, ///< signed less-than comparison
+ SGT, ///< signed greater-than comparison
+ EQ, ///< equality comparison
ISZERO, ///< simple not operator
AND, ///< bitwise AND operation
OR, ///< bitwise OR operation
@@ -293,7 +293,7 @@ struct InstructionInfo
/// Information on all the instructions.
InstructionInfo instructionInfo(Instruction _inst);
-/// check whether instructions exists
+/// check whether instructions exists.
bool isValidInstruction(Instruction _inst);
/// Convert from string mnemonic to Instruction type.