aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/codegen/ExpressionCompiler.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Use solUnimplemented wherever possibleAlex Beregszaszi2016-11-281-2/+2
|
* Fix licensing headersVoR02202016-11-231-4/+4
| | | | Signed-off-by: VoR0220 <rj@erisindustries.com>
* Converted sub assembly to smart pointer.chriseth2016-11-161-1/+4
|
* Stored combined creation and runtime tags.chriseth2016-11-161-7/+24
| | | | | | | Includes a change to Assembly to allow tags from sub-assemblies to be used. Sorry, this get a bit bigger than I thought.
* Unimplemented features moved to their own exception (#1361)Rhett Aultman2016-11-151-7/+7
| | | | | | | | | | | | | | | | | | Unimplemented features moved to their own exception InternalCompilerError is an exception that really should be reserved for actual internal errors of the compiler. Unimplemented features can now use either solUnimplemented( ) or, if it should be conditional, then solUnimplementedAssert( ). * Revert some unimplemented exceptions, add handlers The jsonCompiler and CommandLineInterface needed handlers for the new UnimplementedFeatureException, and some cases I had moved on to the new exception were better treated as real internal compiler errors. * Standardize on "Unimplemented feature" message
* Merge pull request #1264 from ethereum/988chriseth2016-10-251-9/+14
|\ | | | | State variable under contract's name
| * codegen: refactor common codeYoichi Hirai2016-10-241-20/+13
| |
| * codegen: if a member access has been resolved as a variable, follow thatYoichi Hirai2016-10-241-0/+12
| | | | | | | | This fixes at least the first example in #988
* | More checks for missing mobile type.chriseth2016-10-241-5/+13
|/
* codegen: skip contract L for L.Foo where Foo is a typeYoichi Hirai2016-10-241-1/+6
| | | | Fixes #1116
* Rename dev::sha3 to dev::keccak256Alex Beregszaszi2016-10-061-1/+1
|
* Access output memory area so that we do not pay for resize during call.chriseth2016-09-171-4/+13
|
* Provide gas stipend manually for send(0).chriseth2016-09-061-1/+6
|
* Merge pull request #665 from axic/feature/accept-etherchriseth2016-09-061-0/+2
|\ | | | | BREAKING: Add payable modifier
| * Change function type to include and propagate payable and constant modifier.chriseth2016-09-061-0/+2
| |
* | Do not pay new account gas.chriseth2016-09-051-1/+3
|/ | | | | If we checked that the target contract exists, we do not have to pay the "new account gas".
* Merge pull request #839 from chriseth/checkcodechriseth2016-08-171-0/+7
|\ | | | | BREAKING: Make function calls throw if target does not have code.
| * Make function calls throw if target does not have code.chriseth2016-08-171-0/+7
| | | | | | | | | | Low-level calls still just execute and will actually report "success". This allows `x.call.value(y)()` for x being a non-contract account.
* | Throw on division by zero.chriseth2016-08-171-3/+10
|/
* Merge pull request #838 from chriseth/ecrecoverchriseth2016-08-171-5/+38
|\ | | | | Make ecrecover return zero for malformed input.
| * Actually better to return zero on error.chriseth2016-08-161-2/+0
| |
| * Make ecrecover throw for malformed input.chriseth2016-08-161-5/+40
| |
* | Provide inline assembly to the code generator. (#840)chriseth2016-08-161-0/+1
| | | | | | | | | | | | * Directly usable inline assembly. * Add missing header.
* | Throw if contract creation fails.chriseth2016-08-161-0/+3
|/
* Remove After from ExpressionCompilerDenton Liu2016-08-111-3/+0
|
* Bugfix: Allocate empty array.chriseth2016-07-281-3/+6
|
* Include SHR case in ExpressionCompiler::appendShiftOperatorCodeAlex Beregszaszi2016-06-081-0/+2
|
* Fixes for invalid cleanups for small types.chriseth2016-05-201-2/+5
|
* Remove unused tests and add asserts for not implemented parts in code ↵chriseth2016-05-111-4/+3
| | | | | | | | | | | | generation. quick fix on christian's rational change so that ubuntu will stop yelling be more specific with rational declaration for Windows sake rational in namespace correction for windows
* changed names for Rational Constants and categoriesVoR02202016-05-101-4/+4
|
* initial work for fixed types...potentially needing a constant literal type ↵RJ Catalano2016-05-101-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for this notation Rational implemented...trying to figure out exponential fix for token bug, also quick fix for the wei and seconds fixed problem with var...probably a conversion problem for fixed in size capabilities adding fixed type tests Removing bitshift and regrouping fixed type tests together size capabilities functioning properly for fixed types got exponents up and working with their inverse, changed a few of the tests....something is working that likely shouldn't be slight changes to how to flip the rational negative around...still trying to figure it out tests added updated tests odd differences in trying soltest from solc binary, let me know if you can replicate test not working for odd reason fixed test problem with fixed literals...still need a way to log this error broken up the tests, added some, changed some things in types and began compiler work moar tests and prepping for rebuilding much of the types.cpp file further fixing initial work for fixed types...potentially needing a constant literal type for this
* Allow calling internal functions of libraries.chriseth2016-05-041-32/+68
| | | | | | | | | | | | Internal functions of libraries can be called as if the library were a base contract of the calling contract. As the calling convention for internal functions is to not create a new call context, the code of these functions will be pulled into the context of the caller, duplicating their code. This might pull in code of further internal or even private functions. The use case for such functions is to allow libraries which can operate on memory types such that these types can also be modified in place.
* Make solidity independent from ethcore.chriseth2016-04-071-7/+4
|
* reduce unnecessary solidity:: namespaceDimitry2016-04-041-121/+121
|
* rename namespace for instruction.h/cpp in libevmasmDimitry2016-04-021-121/+121
|
* Correctly clean higher order bits for index access.chriseth2016-03-311-0/+2
|
* Fixed Windows warningsBob Summerwill2016-03-181-1/+2
|
* BREAKING: Implement delegatecall and make default for library calls.chriseth2016-03-121-11/+18
|
* Index access for bytesXX.chriseth2016-02-101-0/+26
|
* [cond-expr] fixup according to code reviewLu Guanqun2016-01-231-1/+3
|
* [cond-expr] make the codegen one instruction lessLu Guanqun2016-01-231-5/+4
|
* [cond-expr] generate assembly for _ ? _ : _Lu Guanqun2016-01-231-0/+15
|
* Detect library name clashes.chriseth2016-01-141-2/+0
|
* final changes to typechecker, the expression compiler, and a couple more ↵RJ Catalano2016-01-121-8/+7
| | | | tests for good measure
* Update ExpressionCompiler.cppRJ2016-01-111-14/+16
|
* Update ExpressionCompiler.cppRJ2016-01-111-4/+2
|
* Update ExpressionCompiler.cppRJ2016-01-101-17/+39
|
* support decayed tuple expression as left valueLu Guanqun2016-01-041-1/+6
|
* Add structs and enums to contract types.chriseth2015-12-181-7/+9
|
* Fix: Segfaults connected to paramater types.chriseth2015-12-101-2/+2
| | | | parameterTypes does not return by const reference anymore.
* Code generation for calling bound methods.chriseth2015-12-011-4/+37
|
* Merge pull request #251 from chriseth/bind2chriseth2015-11-301-1/+1
|\ | | | | Bind library functions to types.
| * Add bound functions to types.chriseth2015-11-291-1/+1
| |
* | Introduce selfdestruct alias for suicide.chriseth2015-11-291-1/+1
|/
* Make members context-sensitive.chriseth2015-11-261-6/+2
|
* Code generation for creating arrays.chriseth2015-11-261-0/+47
|
* Fixed string inside struct allocation bug.chriseth2015-11-241-1/+1
|
* Merge pull request #236 from ethereum/hot_gavGav Wood2015-11-231-5/+7
|\ | | | | Fix up for new API from EIP-1.1.
| * Fix up for new API from EIP-1.1.Gav Wood2015-11-211-5/+7
| |
* | Addmod and mulmod.chriseth2015-11-191-0/+14
| |
* | Fix dynamic indexed event arguments - applies sha3.chriseth2015-11-171-5/+18
|/
* File reorganisation.chriseth2015-10-211-0/+1370