chriseth
1a3d6904d7
Gas estimation for internal functions.
10 years ago
chriseth
2111cd4894
Move assembly related files to libevmasm and Params.h/.cpp to libevmcore.
10 years ago
Christian
7971f5e83d
JSON compiler.
10 years ago
Liana Husikyan
4ef9b70dd3
style fixes
10 years ago
Liana Husikyan
2a5a5a99f9
added asm-json flag to cl compiler
Conflicts:
libsolidity/CompilerStack.cpp
10 years ago
chriseth
0b36ca86d7
Fixed function overloads.
Added tests, disallowed non-calling usage of non-unique function
references.
10 years ago
Liana Husikyan
518daee546
some more tests
10 years ago
chriseth
925acfad80
Fetch and store packed values.
10 years ago
Liana Husikyan
035451db40
added brackets for printing in/out
cleaned up
10 years ago
Liana Husikyan
4323a0c655
added information about jump type for jump instructions
Conflicts:
libevmcore/Assembly.cpp
libsolidity/Compiler.cpp
10 years ago
chriseth
fb38209e91
Style fixes.
10 years ago
chriseth
cec5b3b60e
Fixed: Some instructions did not have source locations.
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
Liana Husikyan
df4746d5e7
Implemented passing arguments to the base constructor.
10 years ago
Lefteris Karapetsas
9f85e14ead
LocationSetter in some extra places during Compiling
- Also adjusted the test, and fixed its error reporting
10 years ago
Lefteris Karapetsas
72f9ecd526
Styling changes for SourceLocation and friends
10 years ago
Lefteris Karapetsas
45ef19046b
Reset CompilerContext's visited nodes at compile start
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
Christian
d417618dce
Stack height checks and fix.
10 years ago
Gav Wood
2c6b18f01b
Add EVMJIT.
10 years ago
Christian
c1572ea90b
Fixes for assigning and deleting structs containing byte arrays.
10 years ago
Christian
7dc695e840
Super keyword.
10 years ago
Lefteris Karapetsas
2fcfb45760
Various fixes pertaining to State Variable accessors
10 years ago
Lefteris Karapetsas
10da71f90e
Solidity EntryLabel now uses a generic declaration
- Instead of a FunctionDefinition
10 years ago
Lefteris Karapetsas
818742dac9
Work in progress for state variable accessors
- Changed the code so that a generic declaration with the combination of
a function type can be used wherer a function definition was used
before
- Since using an std::pair everywhere is really tiring with this commit
I am in the process of abstracting it into a function
10 years ago
Christian
14c5e37d55
Modifier overrides and callgraph analysis.
10 years ago
Christian
fdf791149d
Compilation of function modifiers.
10 years ago
Christian
df44090ae6
Inheritance in compiler.
10 years ago
Christian
9da6bb3629
More flexible access to stack during external function call.
10 years ago
arkpar
72628e8f32
fixed warnings for msvc build
10 years ago
Christian
7801b87ddb
Packing and unpacking of constructor arguments.
10 years ago
Christian
5026c5855d
Create contracts.
10 years ago
Christian
9bcd315e42
Changes in compiler to support variably sized stack elements.
10 years ago
Christian
e676cd21bc
Register variably-sized variables on stack.
10 years ago
Christian
27d20cd849
Magic variables.
10 years ago
Christian
ec2b010047
Mapping types.
10 years ago
Marek Kotewicz
6cc9e6952e
merge
10 years ago
Christian
a5542ba2de
State variables.
10 years ago
Christian
32d512b12e
Option to activate the optimizer for solidity.
10 years ago
Christian
99882a76a7
Moved instructions and assembly to new libevmcore.
10 years ago
Christian
adcf062367
Actual contract creator and add solidity to AlethZero interface.
10 years ago
Christian
4d654d4e78
Function selector and variable (un)packing.
10 years ago
Christian
6f3afc8583
Renamed file.
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