chriseth
534cdce9a4
Fix clone with regards to value transfer.
10 years ago
chriseth
e892152ba8
Create and output clone contracts.
10 years ago
chriseth
766c3ee37b
Some fixes for calldata arrays.
10 years ago
chriseth
79375056db
Do not copy reference types to memory in-place.
10 years ago
Gav Wood
096662a692
Merge branch 'develop' of github.com:ethereum/cpp-ethereum into develop
10 years ago
chriseth
b5c2a28371
Initialisation of memory types.
10 years ago
chriseth
3246bb99ef
Copy only expected arguments for constructor if statically sized.
10 years ago
chriseth
9e36e8c4e1
Decoding for constructor.
10 years ago
chriseth
536bd36185
Accessors for strings.
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
7d09d87d16
Distinction between storage pointer and storage ref and type checking for conversion between storage and memory.
10 years ago
chriseth
6c45ac6ab1
Optimize RETURN x 0 to STOP.
10 years ago
chriseth
5eb31c2281
Added missing source locations for new memory management code.
10 years ago
chriseth
e66383994d
Dynamic memory.
10 years ago
chriseth
9db5fb5bb6
Improved "Stack too deep" error message.
Closes #2080 .
10 years ago
chriseth
b60da19241
Fallback takes constant amount of gas, and send to gas with send.
10 years ago
chriseth
3fc61e9087
Compute constants
10 years ago
Liana Husikyan
4f925169c1
fixed assertion
10 years ago
Liana Husikyan
2c0d9e9968
corrected the calculation of gas for send
10 years ago
chriseth
b81ae7d470
Do not put duplicate labels for accessor functions.
10 years ago
Liana Husikyan
0d55798adf
removed exception when function is not found
10 years ago
Liana Husikyan
10fe1b4cfe
added error jump instead of STOP instraction in case of exception
10 years ago
chriseth
1a3d6904d7
Gas estimation for internal functions.
10 years ago
chriseth
18e223e945
Reverse if and else body.
10 years ago
chriseth
37440f3a01
New ABI encoding for dynamic types.
10 years ago
chriseth
1e6ff441fe
Fix for broken continue in for loop.
Fixes #1789 .
10 years ago
chriseth
2111cd4894
Move assembly related files to libevmasm and Params.h/.cpp to libevmcore.
10 years ago
Lefteris Karapetsas
45117f53b0
Allowing abstract contracts constructor to have no args
- If a constructor is part of an abstract contract we can omit its
arguments
- IF a contract is abstract make sure to not create and/or request
Assembly code about it since it's not compiled
10 years ago
chriseth
0bec8d9fcd
Some cleanup concerning byte arrays.
10 years ago
chriseth
0b36ca86d7
Fixed function overloads.
Added tests, disallowed non-calling usage of non-unique function
references.
10 years ago
chriseth
2505b8ed90
Provide access to storage offsets via contract type.
10 years ago
chriseth
925acfad80
Fetch and store packed values.
10 years ago
Liana Husikyan
6f11b6a73f
added parsing for constant variables
10 years ago
chriseth
4d67fe39ac
Fix gas for builtin.
Fixes #1300
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
cec5b3b60e
Fixed: Some instructions did not have source locations.
10 years ago
Gav Wood
3fab9f2a73
Solidity fixes.
10 years ago
chriseth
9ae0d30dbc
Copying between calldata and storage.
10 years ago
Christian
a3b95811d4
Index access for calldata arrays.
10 years ago
Christian
6d4b77249e
Fixed arrays in ABI.
10 years ago
Liana Husikyan
df4746d5e7
Implemented passing arguments to the base constructor.
10 years ago
Christian
a03ead264e
LValue refactoring.
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
46fd746cd8
Changes after rebase on top of Array Parsing
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
Liana Husikyan
d66c448d82
corrected accept for variableDeclaration
changes after code review
10 years ago
Liana Husikyan
0a334cd7db
cosmetic changes
10 years ago