Commit Graph

50 Commits

Author SHA1 Message Date
chriseth
73275e1825 Use only a single stack slot for storage references. 2015-07-14 11:58:16 +02:00
chriseth
46dde467e7 Flexible string literals, convertible to bytesX, bytes and string. 2015-07-09 17:10:58 +02:00
chriseth
aa6182ab87 Style and some assertion messages. 2015-07-03 18:15:05 +02:00
chriseth
cad3379306 Memory structs. 2015-07-03 17:25:29 +02:00
chriseth
109b4eafb9 Some fixes for calldata arrays. 2015-06-26 20:27:56 +02:00
chriseth
37e7f1f10d Do not copy reference types to memory in-place. 2015-06-26 19:15:00 +02:00
chriseth
2e5c52bfab Merge pull request #2276 from chriseth/sol_memoryArrays7
Copy routines for non-byte arrays.
2015-06-25 18:52:19 +02:00
chriseth
529ed468df Style. 2015-06-25 17:22:28 +02:00
chriseth
b5672d5ae0 Simplify static memory access functions. 2015-06-25 14:52:59 +02:00
chriseth
e5ae5955b9 Initialisation of memory types. 2015-06-24 19:34:43 +02:00
chriseth
1add48a652 Copy routines for non-byte arrays. 2015-06-24 12:18:19 +02:00
chriseth
fd1a01bbce Decoding for constructor. 2015-06-22 20:55:46 +02:00
chriseth
1ff8dbebab Accessors for strings. 2015-06-17 14:25:00 +02:00
chriseth
17efc42299 Type conversion specialities for storage references. 2015-06-16 17:20:41 +02:00
chriseth
a5664d0535 Style. 2015-06-16 11:28:35 +02:00
chriseth
8b402b5879 Copying between memory and memory.
Also fixed some encoding and padding issues with older copying code.
2015-06-15 19:47:44 +02:00
chriseth
02d5716944 Use dynamic memory for argument encoding. 2015-06-09 10:03:25 +02:00
chriseth
35ec81971a Dynamic memory. 2015-06-09 00:27:56 +02:00
chriseth
c2a9419e49 Improved "Stack too deep" error message.
Closes #2080.
2015-06-07 12:51:15 +02:00
chriseth
f4d1acc563 Ability to specify the storage location of a reference type. 2015-06-05 14:44:05 +02:00
chriseth
a6d08950c6 bytes parameters for events and sha3. 2015-04-22 11:43:49 +02:00
chriseth
5216a9bc67 Some cleanup concerning byte arrays. 2015-04-15 18:06:41 +02:00
Liana Husikyan
fb1cf35f3b added implementation to append code for State variable accessor
fixed tests
2015-04-08 15:56:35 +02:00
chriseth
02595abf6a Fetch and store packed values. 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
a16677dcfb Fix gas for builtin.
Fixes #1300
2015-03-13 17:31:56 +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
chriseth
d8b156ecbb Copying between calldata and storage. 2015-03-06 13:17:52 +01:00
chriseth
280df42463 Styling 2015-03-05 15:41:39 +01:00
Christian
b84cf62d6b Index access for calldata arrays. 2015-03-05 13:19:59 +01:00
Christian
87365f7612 Shortening of dynamic arrays. 2015-02-27 22:52:19 +01:00
Christian
5e32083179 Parsing of array types and basic implementation. 2015-02-21 15:10:01 +01:00
Christian
a33fa270f6 Calldata byte arrays stored on the stack. 2015-02-16 19:35:53 +01:00
Christian
d630a67812 loadFromMemoryDynamic 2015-02-16 19:25:27 +01:00
Christian
1f6e365136 Move code to loadFromMemory. 2015-02-16 19:25:27 +01:00
Christian
56c6eaf509 Copying calldata directly to memory. 2015-02-13 01:29:43 +01:00
Christian
5e40b79426 Bytes type cleanup. 2015-02-12 15:01:38 +01:00
Christian
9b8cf4af1d Moved copy code to CompilerUtils. 2015-02-12 11:33:10 +01:00
Christian
8a2879a603 Copy storage to storage. 2015-02-12 11:33:10 +01:00
Christian
adb434569c Dynamic copy to memory. 2015-02-12 11:33:10 +01:00
Christian
fe16922087 Padding for ABI types. 2015-01-09 18:20:51 +01:00
Lefteris Karapetsas
9cf1c066fc Adjustments to Solidity compiler code for Function Hash 2015-01-09 00:27:26 +01:00
Christian
5a1a83ff42 Assertions that throw InternalCompilerErrors. 2014-12-17 16:24:56 +01:00
Christian
a735228079 Support empty strings. 2014-12-11 14:19:11 +01:00
Christian
373f0da267 Helper functions to access memory. 2014-12-10 17:15:17 +01:00
Christian
da62403e79 Stylistic changes. 2014-12-10 14:33:30 +01:00
Christian
5edffeba19 Take variable stack size correctly into account for return value packer. 2014-12-10 12:51:26 +01:00
Christian
35d5b28fae Variable-size stack elements for expression compiler. 2014-12-08 22:26:22 +01:00
Christian
b7d856ed5f Changes in compiler to support variably sized stack elements. 2014-12-08 19:02:40 +01:00