Commit Graph

42 Commits

Author SHA1 Message Date
Christian
83cc8dfe00 JSON compiler. 2015-04-22 11:33:25 +02:00
chriseth
7a467bbf07 Merge remote-tracking branch 'ethereum/develop' into sol_overloadingFunctions
Conflicts:
	libsolidity/AST.cpp
	libsolidity/AST.h
2015-04-20 14:55:58 +02:00
Liana Husikyan
1cfa964990 style fixes 2015-04-17 17:41:50 +02:00
Liana Husikyan
f829dad7e3 added asm-json flag to cl compiler
Conflicts:
	libsolidity/CompilerStack.cpp
2015-04-17 17:41:41 +02:00
chriseth
c7b428fdb1 Merge remote-tracking branch 'ethereum/develop' into sol_overloadingFunctions
Conflicts:
	libsolidity/Types.cpp
2015-04-15 17:43:23 +02:00
chriseth
0c69d5fdcd Fixed function overloads.
Added tests, disallowed non-calling usage of non-unique function
references.
2015-04-15 17:40:50 +02:00
Liana Husikyan
df3ce3ad8f some more tests 2015-04-08 15:56:35 +02:00
chriseth
02595abf6a Fetch and store packed values. 2015-03-16 18:07:14 +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
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
Liana Husikyan
e32bf97e87 to include source lines in output stream AssemblyItem's appropriate function is now receiving the map of fileNames to sourceCodes as argument. 2015-03-05 12:08:43 +01:00
Liana Husikyan
e9238e15b4 Implemented passing arguments to the base constructor. 2015-03-02 14:28:08 +01:00
Lefteris Karapetsas
71b0d8107a LocationSetter in some extra places during Compiling
- Also adjusted the test, and fixed its error reporting
2015-02-25 10:40:14 +01:00
Lefteris Karapetsas
54121a0d78 Styling changes for SourceLocation and friends 2015-02-25 09:53:28 +01:00
Lefteris Karapetsas
3e5c9a74b2 Reset CompilerContext's visited nodes at compile start 2015-02-24 17:16:22 +01:00
Lefteris Karapetsas
38cb123a82 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.
2015-02-24 17:16:22 +01:00
Christian
e7528c6af8 Stack height checks and fix. 2015-02-22 19:16:40 +01:00
Christian
197b184d25 Fixes for assigning and deleting structs containing byte arrays. 2015-02-18 00:15:32 +01:00
Christian
ae5a6a235c Super keyword. 2015-01-29 00:29:43 +01:00
Lefteris Karapetsas
b5a786dda1 Various fixes pertaining to State Variable accessors 2015-01-28 21:46:17 +01:00
Lefteris Karapetsas
b95048768d Solidity EntryLabel now uses a generic declaration
- Instead of a FunctionDefinition
2015-01-28 21:46:16 +01:00
Lefteris Karapetsas
3cc0492301 Work in progress for state variable accessors
- Changed the code so that a generic declaration with the combination of
  a function type can be used wherer a function definition was used
  before

- Since using an std::pair everywhere is really tiring with this commit
  I am in the process of abstracting it into a function
2015-01-28 21:46:16 +01:00
Christian
fd5899d038 Modifier overrides and callgraph analysis. 2015-01-26 10:23:39 +01:00
Christian
7ded95c776 Compilation of function modifiers. 2015-01-26 10:23:39 +01:00
Christian
4d833bc86b Inheritance in compiler. 2015-01-19 23:35:04 +01:00
Christian
1ba38c9c02 More flexible access to stack during external function call. 2015-01-14 11:57:22 +01:00
arkpar
80eec8b308 fixed warnings for msvc build 2015-01-13 11:18:08 +01:00
Christian
40f7c32e57 Packing and unpacking of constructor arguments. 2014-12-15 13:05:18 +01:00
Christian
2f64c56ef3 Create contracts. 2014-12-15 13:05:18 +01:00
Christian
b7d856ed5f Changes in compiler to support variably sized stack elements. 2014-12-08 19:02:40 +01:00
Christian
cd5f495861 Register variably-sized variables on stack. 2014-12-08 16:56:41 +01:00
Christian
583a315d3d Magic variables. 2014-11-23 21:28:45 +01:00
Christian
46dd629820 Mapping types. 2014-11-14 14:08:14 +01:00
Christian
a0c72065fe Merge remote-tracking branch 'ethereum/develop' into sol_optimizer
Conflicts:
	libevmcore/Instruction.cpp
2014-11-10 13:30:59 +01:00
Christian
64a4d77c8b State variables. 2014-11-07 20:02:57 +01:00
Christian
225fc8e1b3 Option to activate the optimizer for solidity. 2014-11-06 22:55:42 +01:00
Christian
8a0fff83f1 Moved instructions and assembly to new libevmcore. 2014-11-06 14:50:18 +01:00
Christian
a36db1f241 Actual contract creator and add solidity to AlethZero interface. 2014-10-31 14:37:23 +01:00
Christian
cb9cb48dc7 Function selector and variable (un)packing. 2014-10-30 21:21:25 +01:00
Christian
a5f3602738 Renamed file. 2014-10-30 21:21:25 +01:00