chriseth
79375056db
Do not copy reference types to memory in-place.
10 years ago
chriseth
b5c2a28371
Initialisation of memory types.
10 years ago
chriseth
e0c101ca3b
Copying between memory and memory.
Also fixed some encoding and padding issues with older copying code.
10 years ago
chriseth
e66a5ca0b5
Use dynamic memory for argument encoding.
10 years ago
Liana Husikyan
0d55798adf
removed exception when function is not found
10 years ago
Liana Husikyan
a723fb7e81
special handle of send
10 years ago
chriseth
4c69ecf16b
Bare callcode for addresses and contracts.
10 years ago
chriseth
2111cd4894
Move assembly related files to libevmasm and Params.h/.cpp to libevmcore.
10 years ago
chriseth
e480c7012c
bytes parameters for events and sha3.
10 years ago
Gav Wood
d71bec193f
Clean up some code redundancy.
Merge branch 'develop' of github.com:ethereum/cpp-ethereum into develop
10 years ago
Lefteris Karapetsas
a00c76944e
Removing string as a token.
- The string keyword is reserved for future use but should not be a
token in the code since it can cause trigger internal compiler
assertions.
- fixes #1384
10 years ago
chriseth
fed44efdce
Enlarge storage references to two stack slots.
10 years ago
Christian
0d6e69ef53
Stylistic changes.
10 years ago
Christian
21b9bafee2
Removed code duplication.
10 years ago
Christian
a03ead264e
LValue refactoring.
10 years ago
Lefteris Karapetsas
a157ccae4d
Move SourceLocation to evmcore
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
Christian
30bd6f271f
Parsing of array types and basic implementation.
10 years ago
Liana Husikyan
29290402b4
renamed fromIdentifier to fromStateVariable
10 years ago
Liana Husikyan
0a334cd7db
cosmetic changes
10 years ago
Liana Husikyan
87e956729c
Inline member initialisation
renamed VariableDefinition class to VariableDeclarationStatement
added tests
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
02f2070ddb
Copying structs.
10 years ago
Christian
390097db53
Moved copy code to CompilerUtils.
10 years ago
Christian
9be8307f22
Dynamic copy to memory.
10 years ago
Christian
f9d853fe90
Simple copy of bytes to storage.
10 years ago
Christian
8b3dec6773
Arbitrary parameters for call() and all hash functions.
10 years ago
chriseth
1e1c4501dd
Typo fix.
10 years ago
Lefteris Karapetsas
368cc8ffea
LValueType of Expression Compiler is now CamelCase
10 years ago
Lefteris Karapetsas
830f0ec52a
ExpressionCompiler's enums to CamelCase
10 years ago
Christian
16bda2824b
Some cleanup in "move to memory" functions.
10 years ago
Lefteris Karapetsas
8d239921e9
SHA3 of string literals now should work
10 years ago
Lefteris Karapetsas
bbede4c31c
appendArgumentsCopyToMemory() has more complicated logic now
- Plus other fixes.
10 years ago
Lefteris Karapetsas
d3f9c89ee0
Fixes after rebase
10 years ago
Lefteris Karapetsas
5b1adccf6d
Renaming a function for clarity
10 years ago
Lefteris Karapetsas
04aa0cc9ba
Solidity SHA3 can now take multiple arguments
10 years ago
Lefteris Karapetsas
6441a1d93d
Simple mapping accessors working
10 years ago
Lefteris Karapetsas
4795991f2a
Code generation for mapping state variable accessor
- Work in progress
10 years ago
Christian
c38dd9765b
Whitespace and error messages.
10 years ago
Christian
f57dc81889
Code generation for events.
10 years ago
Lefteris Karapetsas
51fb3b6f75
No longer exposing retrieveValueFromStorage() as a public function
- plus small fix in EndToEndTests
10 years ago
Lefteris Karapetsas
2fcfb45760
Various fixes pertaining to State Variable accessors
10 years ago
Lefteris Karapetsas
309ffb8948
EVM Code for simple accessor function is properly generated
10 years ago
Lefteris Karapetsas
50a4b6055b
Fixes after rebasing on develop
10 years ago
Lefteris Karapetsas
85e4b29260
Work on ExpressionCompiler preparing for Accessors from storage
10 years ago
liana
3e166f15fc
- added functionality to set values to 0 when deleting structure(not for mapping)
- added unit test
Made some changes after Christian`s review on pull request
- remove/edit comments
- BoolType and ContractType return VoidType after delete
- fixed constructor_arguments test
- fixed set to 0 when deleting variable from stack
- changed test case to test that
10 years ago
Christian
de3e6a09db
Specify value for contract creation.
10 years ago
Christian
1b36ff453b
Modify gas and value for external function call.
10 years ago
Christian
de77918d05
Padding for ABI types.
10 years ago