aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/codegen/CompilerUtils.cpp
Commit message (Collapse)AuthorAgeFilesLines
* codegen: cleanup values to fit in storage bytesYoichi Hirai2016-11-251-0/+4
|
* codegen: shorten the bit truncationYoichi Hirai2016-11-251-5/+2
|
* codegen: add an option to CovertType so that it can truncate sign bitsYoichi Hirai2016-11-251-1/+19
|
* Fix licensing headersVoR02202016-11-231-4/+4
| | | | Signed-off-by: VoR0220 <rj@erisindustries.com>
* Some more assertions and style changes.chriseth2016-11-161-1/+1
|
* Change encoding to address-funid and add "function" as ABI type.chriseth2016-11-161-13/+18
|
* Stored combined creation and runtime tags.chriseth2016-11-161-0/+13
| | | | | | | Includes a change to Assembly to allow tags from sub-assemblies to be used. Sorry, this get a bit bigger than I thought.
* Change alignment.chriseth2016-11-161-23/+35
|
* External functions in storage.chriseth2016-11-161-11/+17
|
* Code generator for function types.chriseth2016-11-161-1/+33
|
* Unimplemented features moved to their own exception (#1361)Rhett Aultman2016-11-151-5/+5
| | | | | | | | | | | | | | | | | | 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 #1372 from ethereum/invalid_enum_as_external_retchriseth2016-11-151-2/+2
|\ | | | | Invalid enum as external ret
| * codegen: overflow checking also during conversion from enumsYoichi Hirai2016-11-151-2/+2
| |
* | codegen: add a missing `break;`Yoichi Hirai2016-11-141-0/+1
|/
* codegen: move the enum overflow checking closer to the conversion into enumsYoichi Hirai2016-11-141-8/+16
|
* ast, codegen: disallow conversion between different enum typesYoichi Hirai2016-11-121-1/+1
|
* codegen: shorten the overflow checking when converting into enumsYoichi Hirai2016-11-121-1/+2
|
* codegen: check the value range after converting something to an enum elementYoichi Hirai2016-11-121-0/+8
|
* More checks for missing mobile type.chriseth2016-10-241-0/+3
|
* Improve error message.chriseth2016-09-051-1/+1
|
* Guard encoding crashes with assertions.chriseth2016-09-021-0/+8
|
* Fix identity precompile gas calculationAlex Beregszaszi2016-08-061-2/+2
|
* Fixes for invalid cleanups for small types.chriseth2016-05-201-7/+10
|
* Remove unused tests and add asserts for not implemented parts in code ↵chriseth2016-05-111-3/+4
| | | | | | | | | | | | 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
* fixing modulus and Solidity Name and Type ResolutionVoR02202016-05-101-1/+1
| | | | | | minor fixes current attempts at binary fixup
* changed names for Rational Constants and categoriesVoR02202016-05-101-5/+5
|
* got exponents up and working with their inverse, changed a few of the ↵RJ Catalano2016-05-101-13/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 infinite loop still happening but it's somewhere in the fixedPoint methodd fractional bits needed algo improved! Eliminated 2 errors Corrected problems with the previous commit. No infinite loops. Actually appear to have corrected an error
* initial work for fixed types...potentially needing a constant literal type ↵RJ Catalano2016-05-101-4/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* reduce unnecessary solidity:: namespaceDimitry2016-04-041-74/+74
|
* rename namespace for instruction.h/cpp in libevmasmDimitry2016-04-021-74/+74
|
* move libevmcore to solidityDimitry2016-04-021-1/+1
|
* Simplify and optimise stack rotation.chriseth2015-12-011-8/+21
|
* Make members context-sensitive.chriseth2015-11-261-2/+2
|
* Code generation for creating arrays.chriseth2015-11-261-9/+15
|
* Fixed string inside struct allocation bug.chriseth2015-11-241-1/+1
|
* Fix up for new API from EIP-1.1.Gav Wood2015-11-211-1/+0
|
* Minor API change - must provide SealEngine to Executive now.Gav Wood2015-11-191-2/+4
|
* Bugfix: Returning literal strings in tuples.chriseth2015-11-011-1/+1
|
* File reorganisation.chriseth2015-10-211-0/+802