Gav Wood
212bff1643
Merge pull request #1178 from imapp-pl/pr/evmjit-v0.3
...
EVM JIT 0.3 (PoC-9)
2015-03-18 19:39:37 +01:00
chriseth
d1f9e14476
Exception-throwing assert.
2015-03-18 15:32:17 +01:00
Lefteris Karapetsas
8e0f4c7db9
Explicit conversion between bytes and int of any size
...
- Allowing aforementioned conversion and adding tests for it
2015-03-18 10:57:24 +01:00
chriseth
90c519d08f
Disallowed special case of bytes0 arrays.
2015-03-17 18:34:57 +01:00
chriseth
2cde4f3404
Packing for arrays.
2015-03-17 18:13:28 +01:00
chriseth
895c08342c
Provide access to storage offsets via contract type.
2015-03-17 18:13:27 +01:00
Liana Husikyan
ed757ba5bf
added test to check anonymous events with user specified topics
...
added initial value for m_anonymous of EventDefinition
2015-03-17 14:25:23 +01:00
Liana Husikyan
46cbb5525c
added anonymous to ABI
2015-03-17 14:25:23 +01:00
Liana Husikyan
5a5577f5a5
changed the position of 'anonymous' keyword: event <name>() anonymous.
...
- style changes
2015-03-17 14:25:13 +01:00
Liana Husikyan
2986ecbd75
Added anonymous flag to event.
...
added test
2015-03-17 10:51:03 +01:00
chriseth
fc0bdc3d81
Fix static variables.
2015-03-16 19:28:31 +01:00
chriseth
c284408e7a
Add move assignment operator manually.
2015-03-16 19:00:45 +01:00
chriseth
9b2a255c1b
Move memberlist to avoid unique_ptr copy.
2015-03-16 18:09:56 +01:00
chriseth
02595abf6a
Fetch and store packed values.
2015-03-16 18:07:14 +01:00
chriseth
7f64584b7f
Compute packing offsets.
2015-03-16 18:07:14 +01:00
chriseth
fff3f98f58
Enlarge storage references to two stack slots.
2015-03-16 18:07:14 +01:00
chriseth
c34e1da6db
Merge pull request #1325 from LefterisJP/sol_MsgSig
...
Adding msg.sig Solidity Magic type
2015-03-16 17:30:18 +01:00
Lefteris Karapetsas
bb5364dd66
Additional test for msg.sig
2015-03-16 16:42:56 +01:00
Liana Husikyan
27a89a36e1
restyleing
...
removed unnecessary check
2015-03-16 14:45:11 +01:00
Lefteris Karapetsas
d7ffba1504
Adding msg.sig Solidity Magic type
...
msg.sig will return a bytes4 with the function signature located in CALLDATALOAD
2015-03-16 12:59:56 +01:00
Paweł Bylica
0be8fa49f0
Merge remote-tracking branch 'upstream/develop' into evmjit
2015-03-16 12:01:47 +01:00
Liana Husikyan
ebb4d5e298
- added more tests to check constant specifier implementation
...
- deny use of const for local variables
- deny unitialized const variables
- only int, fixed strings, and enums can be declaired as const
2015-03-16 10:46:46 +01:00
Liana Husikyan
7d6357ae53
- 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
2015-03-16 10:46:46 +01:00
Liana Husikyan
67cd3a7180
added parsing for constant variables
2015-03-16 10:46:46 +01:00
chriseth
a16677dcfb
Fix gas for builtin.
...
Fixes #1300
2015-03-13 17:31:56 +01:00
Lefteris Karapetsas
039b133c18
Small FixedBytes type fixes
...
- Integer Constant is explicitly convertible to FixedBytes, so using
that in the tests
2015-03-12 17:31:39 +01:00
Paweł Bylica
8181792a6a
Merge remote-tracking branch 'upstream/develop' into evmjit
2015-03-12 13:39:40 +01:00
Lefteris Karapetsas
a62d3fa240
Some fixes on Types.cpp for FixedBytesType
2015-03-12 13:39:12 +01:00
Lefteris Karapetsas
3b54583d38
Style fixes and some additional hash to bytes32 renaming
2015-03-12 12:53:01 +01:00
Lefteris Karapetsas
c81b498953
Style fixes in Types[cpp/h]
2015-03-12 12:53:00 +01:00
Lefteris Karapetsas
b8cede371d
byte is now an alias for byte1
2015-03-12 12:53:00 +01:00
Lefteris Karapetsas
cd3e8c1756
Fixing byte array index access code generation
2015-03-12 12:53:00 +01:00
Lefteris Karapetsas
b2fadf6b93
Conversion changes after renaming Hash/String to Bytes.
...
- Almost all end to end tests pass. Still needs a little bit of work
2015-03-12 12:53:00 +01:00
Lefteris Karapetsas
73ce24ae75
Most EndToEndTests are now compliant with the Bytes renaming
2015-03-12 12:53:00 +01:00
Lefteris Karapetsas
2bddebc3d5
Bytes Tokens properly named and NameAndTypeResolution tests work
2015-03-12 12:53:00 +01:00
Lefteris Karapetsas
3ca37caddd
Fixes after rebasing on top of develop
2015-03-12 12:53:00 +01:00
Lefteris Karapetsas
7d7f37bd5e
Replacing StaticStringType with FixedBytesType
2015-03-12 12:53:00 +01:00
Lefteris Karapetsas
bede2f2ad7
More changes towards getting rid of HashXX
2015-03-12 12:53:00 +01:00
Lefteris Karapetsas
36fe571576
start of cleanup
2015-03-12 12:53:00 +01:00
Gav Wood
51258f3002
Merge pull request #1268 from chriseth/sol_checkerFixes
...
Fixed some checker warnings.
2015-03-10 18:44:34 +00:00
chriseth
d41c51a810
Fixed some checker warnings.
2015-03-10 15:11:13 +01:00
Liana Husikyan
d5cbb2acd2
added brackets for printing in/out
...
cleaned up
2015-03-10 12:02:48 +01:00
Liana Husikyan
74a01826ee
added information about jump type for jump instructions
...
Conflicts:
libevmcore/Assembly.cpp
libsolidity/Compiler.cpp
2015-03-10 12:02:48 +01:00
chriseth
9c82cbeddf
Global variable "now" (alias for block.timestamp).
2015-03-09 19:22:43 +01:00
Paweł Bylica
5ae0a975b3
Merge remote-tracking branch 'upstream/develop' into evmjit
2015-03-09 15:05:22 +01:00
chriseth
cd8a0ab65d
Style fixes.
2015-03-09 13:28:29 +01:00
chriseth
94c51caf89
Fixed: Some instructions did not have source locations.
2015-03-09 13:28:29 +01:00
Lu Guanqun
ff4d2cc7dc
fix rebase errors
2015-03-08 17:26:36 -05:00
Lu Guanqun
5dcee599f1
add the location of a duplicated function
2015-03-08 09:50:54 -05:00
Lu Guanqun
4033615464
make it work for var x = f;
2015-03-08 09:50:54 -05:00