chriseth
925acfad80
Fetch and store packed values.
10 years ago
chriseth
fed44efdce
Enlarge storage references to two stack slots.
10 years ago
Lefteris Karapetsas
382a587886
Additional test for msg.sig
10 years ago
Lefteris Karapetsas
22b47689d5
Adding msg.sig Solidity Magic type
msg.sig will return a bytes4 with the function signature located in CALLDATALOAD
10 years ago
Liana Husikyan
304256b546
- added isPartOfExternalInterface to Declaration
- changed position for the constant specifier. now it goes after type: <type> <constant> <name> = <value>
- removed tests for constant functions, checkings for constant function doesn't belong to this story
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
Lefteris Karapetsas
9fa08d179b
Fixing byte array index access code generation
10 years ago
Lefteris Karapetsas
d9d792a055
Conversion changes after renaming Hash/String to Bytes.
- Almost all end to end tests pass. Still needs a little bit of work
10 years ago
Lefteris Karapetsas
bb205103c4
Most EndToEndTests are now compliant with the Bytes renaming
10 years ago
Lefteris Karapetsas
72f2397ebe
Replacing StaticStringType with FixedBytesType
10 years ago
Lefteris Karapetsas
4340d4867a
More changes towards getting rid of HashXX
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
4f852f473e
Global variable "now" (alias for block.timestamp).
10 years ago
chriseth
cec5b3b60e
Fixed: Some instructions did not have source locations.
10 years ago
chriseth
65ad62ff55
Fixed gas calculation for CALL.
10 years ago
chriseth
9ae0d30dbc
Copying between calldata and storage.
10 years ago
Gav Wood
e2f1bc4133
Add date/time language to solidity.
10 years ago
Gav Wood
2719aaf830
Add date/time language to solidity.
10 years ago
Christian
a3b95811d4
Index access for calldata arrays.
10 years ago
Gav Wood
d14df543ff
Add date/time language to solidity.
10 years ago
Gav Wood
e96942c3c7
Solidity STOPs in case of failed call.
10 years ago
Gav Wood
bfb9223528
Solidity STOPs in case of failed call.
10 years ago
Christian
43892601e3
Shortening of dynamic arrays.
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
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
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
Christian
32f0c4f8e6
Out-of-bounds checking.
10 years ago
Christian
de537d5de3
Index and length access for dynamic arrays.
10 years ago
Christian
d1d9b2856a
Implementation of index access.
10 years ago
Christian
92507f5bf0
Allow conversion to dynamic arrays and update grammar.
10 years ago
Christian
30bd6f271f
Parsing of array types and basic implementation.
10 years ago
Liana Husikyan
744ea7ac72
renamed local vaiable in fromDeclaration
added missing endvisit
10 years ago
Liana Husikyan
29290402b4
renamed fromIdentifier to fromStateVariable
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
Liana Husikyan
87e956729c
Inline member initialisation
renamed VariableDefinition class to VariableDeclarationStatement
added tests
10 years ago
Christian
c1572ea90b
Fixes for assigning and deleting structs containing byte arrays.
10 years ago
Christian
bed225c981
Calldata byte arrays stored on the stack.
10 years ago
Christian
9ba105a763
Move code to loadFromMemory.
10 years ago
Christian
ab9258d0a8
Forced cleanup for conversion to enum.
10 years ago
Christian
4b0a566e70
Some changes to enums.
10 years ago
Lefteris Karapetsas
58c598b8cb
Moving getMemberValue from EnumDefinition to EnumType
10 years ago
Lefteris Karapetsas
c3c1b5c63c
Addressing issues with Enums in Solidity
10 years ago
Lefteris Karapetsas
5c164fb42c
Enum Value member access should now work properly
- Also detection of duplicate enum values and tests for them have been
added
10 years ago
Lefteris Karapetsas
07886f42bb
Enum type conversion and member value access.
- Added tests for the type conversion part.
- Enum member value access still needs some work
10 years ago