Liana Husikyan
d89589febc
style fixes
10 years ago
Liana Husikyan
10fe1b4cfe
added error jump instead of STOP instraction in case of exception
10 years ago
chriseth
2111cd4894
Move assembly related files to libevmasm and Params.h/.cpp to libevmcore.
10 years ago
Liana Husikyan
254c845490
removed unused parameter from streamAsmJson
10 years ago
Liana Husikyan
78bb6deadb
style fixes
10 years ago
Liana Husikyan
a89b7ee911
fixed push #[$] and push [$]
10 years ago
Liana Husikyan
95e161bfc9
style fixes
10 years ago
Liana Husikyan
3482c4dfc2
fixed extension of file json format
changed value for PUSH to hex
10 years ago
Liana Husikyan
c6652616ae
reordered output
Conflicts:
libevmcore/Assembly.cpp
10 years ago
Liana Husikyan
9fa9190f1d
code refactoring
10 years ago
Liana Husikyan
4ef9b70dd3
style fixes
10 years ago
Liana Husikyan
1305502fc9
initial output for asm-json flag.
Conflicts:
libevmcore/Assembly.cpp
10 years ago
Liana Husikyan
2a5a5a99f9
added asm-json flag to cl compiler
Conflicts:
libsolidity/CompilerStack.cpp
10 years ago
Liana Husikyan
37086e60e2
removed friendship for Assembly and AssemblyItem
added set functions for type and data members of AssemblyItem
10 years ago
chriseth
49712025fd
Pattern matching for expression simplification.
10 years ago
chriseth
79fb35fd69
Exception-throwing assert.
10 years ago
chriseth
f1a2c9dfef
Streaming operator for single AssemblyItem.
10 years ago
chriseth
aaba229fce
Method to retrieve instruction from AssemblyItem.
10 years ago
chriseth
0ed6724f0b
Remove NoOptimizeBegin/End again.
10 years ago
chriseth
182fba57b2
Initialize jump type.
10 years ago
Liana Husikyan
035451db40
added brackets for printing in/out
cleaned up
10 years ago
Liana Husikyan
97350c88ed
Added JumpType indicator to AssemblyItem.
10 years ago
chriseth
1e47758cbe
Make subroutine id non-random.
10 years ago
chriseth
cec5b3b60e
Fixed: Some instructions did not have source locations.
10 years ago
Liana Husikyan
1b2efc5bf2
one more style fix
10 years ago
Liana Husikyan
18176ea3e4
added source code printing for each output line.
some changes after pr review
10 years ago
Liana Husikyan
369abf4294
to include source lines in output stream AssemblyItem's appropriate function is now receiving the map of fileNames to sourceCodes as argument.
10 years ago
Lefteris Karapetsas
a157ccae4d
Move SourceLocation to evmcore
10 years ago
Lefteris Karapetsas
72f9ecd526
Styling changes for SourceLocation and friends
10 years ago
Lefteris Karapetsas
bc71f71035
Simple Assembly Locations test
- Also adding some helper functions to SourceLocation
10 years ago
Lefteris Karapetsas
f85aee0826
Moving Source Location libdevcore
- Big plus is we now remove the useless header libsolibity/BaseTypes.h
10 years ago
Lefteris Karapetsas
4c6bf04b87
Adding location information to assembly items
- In order to facilitate this addition we also now have a ScopeGuard
object used in the Compiler to set the currently visited node.
10 years ago
Gav Wood
2c6b18f01b
Add EVMJIT.
10 years ago
Gav Wood
4323c987b7
cppcheck fixes.
10 years ago
Lu Guanqun
77a15f749f
change typedef to using according to preferred coding style
10 years ago
Christian
7801b87ddb
Packing and unpacking of constructor arguments.
10 years ago
Lu Guanqun
960f62b05a
update to the correct file name
10 years ago
Christian
e9972a551c
Optimizer for literals and identity operations.
10 years ago
Marek Kotewicz
6cc9e6952e
merge
10 years ago
Christian
57d25f7a54
Prevent optimizer from changing certain parts of the code.
10 years ago
Christian
99882a76a7
Moved instructions and assembly to new libevmcore.
10 years ago
Christian
b813038c3c
assert and exception corrections in solidity-external files.
10 years ago
Christian
ea6d58a0d1
Contract compiler and also add ExpressionStatement to AST.
ExpressionStatement functions as glue between Statements and Expressions.
This way it is possible to detect when the border between statements and
expressions is crossed while walking the AST. Note that ExpressionStatement is
not the only border, almost every statement can contains expressions.
10 years ago
Gav Wood
2c193627ed
Draft of new LOG/bloom/headers/block format.
10 years ago
Christoph Jentzsch
fb876453ca
Restructured exceptions. Boost::exception is now used primarily.
10 years ago
Gav Wood
515a1c22a9
Split ethcore off into devcrypto ready for Whisper's crypto and repot namespace.
Rename ethential to devcore.
10 years ago
Gav Wood
4cb7993655
Project-wide reorganisation of namespaces.
10 years ago
Gav Wood
49e42ac241
Rename assembly again.
11 years ago
Gav Wood
2ee1cda66e
Avoid _asm from MSVC.
11 years ago
Gav Wood
f550217449
Updates to assembler - see the sub-codes.
11 years ago