Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Removing extra default cases to force compile time error, instead of runtime. | Anurag Dashputre | 2018-09-30 | 1 | -9/+0 |
| | |||||
* | Split IntegerType into IntegerType and AddressType. | Daniel Kirchner | 2018-09-05 | 1 | -7/+20 |
| | |||||
* | Remove remaining instances of ``fillRight`` left over from tuple wildcards ↵ | Daniel Kirchner | 2018-08-08 | 1 | -10/+2 |
| | | | | assignments. | ||||
* | Isolate determining the encoding type into its own function. | chriseth | 2018-08-01 | 1 | -12/+5 |
| | |||||
* | Merge pull request #4083 from ethereum/variable_stack_slot | chriseth | 2018-07-12 | 1 | -0/+9 |
|\ | | | | | [BREAKING] Allocate local variables according to their scope | ||||
| * | Add more tests and assertions | Leonardo Alt | 2018-07-11 | 1 | -0/+1 |
| | | |||||
| * | Added tests and review suggestions | Leonardo Alt | 2018-07-11 | 1 | -0/+8 |
| | | |||||
* | | Code, Changelog, ReleaseChecklist: Fix typos. | Cryptomental | 2018-07-11 | 1 | -2/+2 |
|/ | | | | Refs: #4442 | ||||
* | Fix allocation of byte arrays. | chriseth | 2018-07-05 | 1 | -1/+1 |
| | |||||
* | Revert if calldata is too short or points out of bounds | Leonardo Alt | 2018-06-26 | 1 | -46/+32 |
| | |||||
* | Change comments | Alex Beregszaszi | 2018-06-14 | 1 | -2/+2 |
| | |||||
* | Fix revert with reason coming from a string variable | Alex Beregszaszi | 2018-05-09 | 1 | -1/+0 |
| | |||||
* | fixed grammar in error in CompilerUtils.cpp line 399, 'less variables.' ↵ | njwest | 2018-05-07 | 1 | -3/+3 |
| | | | | should be 'fewer variables.' | ||||
* | Change bytes to unsigned in FixedBytesType | daniel | 2018-05-04 | 1 | -2/+2 |
| | |||||
* | Removed signed shift right from the utilities. | chriseth | 2018-05-01 | 1 | -9/+9 |
| | |||||
* | Do not use SAR instead of SDIV in shifts because it rounds differently | Alex Beregszaszi | 2018-05-01 | 1 | -2/+3 |
| | |||||
* | Use native shift instructions on Constantinople | Alex Beregszaszi | 2018-05-01 | 1 | -2/+8 |
| | |||||
* | Properly force-clean for shortening bytesXX conversions. | chriseth | 2018-04-16 | 1 | -10/+9 |
| | |||||
* | Use error signature for revert data. | chriseth | 2018-04-12 | 1 | -0/+14 |
| | |||||
* | Bubble up error messages. | chriseth | 2018-04-12 | 1 | -0/+1 |
| | |||||
* | Create empty dynamic memory arrays more efficiently. | chriseth | 2018-04-04 | 1 | -8/+22 |
| | |||||
* | Optimize across MLOAD if MSIZE is not used. | chriseth | 2018-04-03 | 1 | -8/+28 |
| | |||||
* | Prevent encoding of weird types and support packed encoding of external ↵ | chriseth | 2018-03-29 | 1 | -1/+0 |
| | | | | function types. | ||||
* | Add runtimeOnly option to pushCombinedFunctionEntryLabel | Alex Beregszaszi | 2018-03-27 | 1 | -4/+5 |
| | |||||
* | Decode dynamic data. | chriseth | 2018-03-21 | 1 | -2/+2 |
| | |||||
* | Simple size check for old ABI decoder. | chriseth | 2018-03-21 | 1 | -29/+88 |
| | |||||
* | Move the old ABI decoder code. | chriseth | 2018-03-20 | 1 | -0/+99 |
| | |||||
* | ABI decoder. | chriseth | 2017-11-30 | 1 | -0/+17 |
| | |||||
* | Add explanation to unimplemented assertions | Alex Beregszaszi | 2017-11-16 | 1 | -1/+1 |
| | |||||
* | Split encodeToMemory to packedEncode and abiEncode | Alex Beregszaszi | 2017-09-27 | 1 | -2/+2 |
| | |||||
* | Ensure that address types are always declared as 160bit | Alex Beregszaszi | 2017-09-27 | 1 | -1/+1 |
| | |||||
* | Simplify switch statements by refactoring internal break statements | Alex Beregszaszi | 2017-09-25 | 1 | -6/+6 |
| | |||||
* | Avoid switch fallthrough in CompilerUtils | Alex Beregszaszi | 2017-09-25 | 1 | -6/+3 |
| | |||||
* | Implement struct encoder. | chriseth | 2017-09-16 | 1 | -1/+1 |
| | |||||
* | Move ABI encoder into its own function. | chriseth | 2017-09-16 | 1 | -12/+7 |
| | |||||
* | Named assembly labels. | chriseth | 2017-09-16 | 1 | -1/+1 |
| | |||||
* | Mark to places fall-through | Alex Beregszaszi | 2017-08-25 | 1 | -0/+1 |
| | |||||
* | Experimental feature switch for ABI encoder. | chriseth | 2017-08-14 | 1 | -2/+5 |
| | |||||
* | Interface for new ABI encoder. | chriseth | 2017-08-14 | 1 | -0/+32 |
| | |||||
* | Change fixed point types to have digit count | VoR0220 | 2017-07-20 | 1 | -1/+1 |
| | | | | Signed-off-by: VoR0220 <rj@erisindustries.com> | ||||
* | Add assert to shift helper | Alex Beregszaszi | 2017-07-03 | 1 | -0/+2 |
| | |||||
* | More uses of shift helper | Alex Beregszaszi | 2017-07-03 | 1 | -6/+10 |
| | |||||
* | Change shiftNumberOnStack to bits | Alex Beregszaszi | 2017-07-03 | 1 | -9/+9 |
| | |||||
* | Use shift helper | Alex Beregszaszi | 2017-07-03 | 1 | -6/+6 |
| | |||||
* | Add shift helper to CompilerUtils | Alex Beregszaszi | 2017-07-03 | 1 | -0/+10 |
| | |||||
* | Abort early if there is nothing to encode or decode. | chriseth | 2017-06-30 | 1 | -0/+3 |
| | |||||
* | Reformat. | chriseth | 2017-06-26 | 1 | -6/+9 |
| | |||||
* | Use for loop for assembly memcopy. | chriseth | 2017-06-26 | 1 | -23/+15 |
| | |||||
* | Change invalid opcode to revert for input validation. | chriseth | 2017-06-24 | 1 | -3/+12 |
| | |||||
* | Fix ABI encoding of empty string literal. | chriseth | 2017-06-22 | 1 | -1/+1 |
| | |||||
* | Rename the SHA3 assembly instruction to KECCAK256 | Alex Beregszaszi | 2017-05-30 | 1 | -1/+1 |
| | |||||
* | Remove error label / invalid jump label. | chriseth | 2017-04-28 | 1 | -19/+0 |
| | |||||
* | Change references to FunctionType::Location | Alex Beregszaszi | 2017-03-16 | 1 | -4/+4 |
| | |||||
* | Warn early when exhausting stack | Alex Beregszaszi | 2017-02-02 | 1 | -0/+1 |
| | |||||
* | Only capture function type to address conversion | Alex Beregszaszi | 2017-02-01 | 1 | -8/+10 |
| | |||||
* | Support explicit conversion of external function type to address | Alex Beregszaszi | 2017-02-01 | 1 | -0/+12 |
| | |||||
* | Uninitialized internal function should call INVALID. | chriseth | 2017-01-26 | 1 | -1/+3 |
| | |||||
* | Change translation of implicit throws (issue #1589). | Valentin Wüstholz | 2017-01-26 | 1 | -3/+3 |
| | | | | | | | This adds a new invalid instruction that is used for encoding implicit throws that are emitted by the compiler. This makes it possible to distinguish such runtime errors from user-provided, explicit throws. | ||||
* | Move some util functions to low-level functions. | chriseth | 2017-01-24 | 1 | -29/+38 |
| | |||||
* | Renamed padToWordBoundaries -> padToWords | chriseth | 2016-12-13 | 1 | -5/+5 |
| | |||||
* | Split memcopy into three functions. | chriseth | 2016-12-12 | 1 | -51/+63 |
| | |||||
* | Implement identity call in inline assembly | Alex Beregszaszi | 2016-12-12 | 1 | -14/+21 |
| | |||||
* | Implement CompilerUtils::memoryCopy using inline assembly | Alex Beregszaszi | 2016-12-12 | 1 | -1/+26 |
| | |||||
* | Add usingIdentity option to CompilerUtils::memoryCopy | Alex Beregszaszi | 2016-12-12 | 1 | -1/+8 |
| | |||||
* | Merge pull request #1351 from ethereum/truncate_bit | chriseth | 2016-12-08 | 1 | -1/+4 |
|\ | | | | | Truncate a boolean from calldata into one bit | ||||
| * | codegen: clean not only booleans but all types before storing them into memory | Yoichi Hirai | 2016-12-01 | 1 | -3/+2 |
| | | |||||
| * | codegen: clean any data from the input | Yoichi Hirai | 2016-12-01 | 1 | -2/+2 |
| | | |||||
| * | codegen: cleanup booleans before storing them into memory | Yoichi Hirai | 2016-12-01 | 1 | -0/+2 |
| | | |||||
| * | codegen: truncate a boolean calldata down to one bit | Yoichi Hirai | 2016-12-01 | 1 | -0/+2 |
| | | |||||
* | | Throw if calling the identity precompile (memoryCopy) failed | Alex Beregszaszi | 2016-12-02 | 1 | -1/+2 |
|/ | |||||
* | codegen: cleanup values to fit in storage bytes | Yoichi Hirai | 2016-11-25 | 1 | -0/+4 |
| | |||||
* | codegen: shorten the bit truncation | Yoichi Hirai | 2016-11-25 | 1 | -5/+2 |
| | |||||
* | codegen: add an option to CovertType so that it can truncate sign bits | Yoichi Hirai | 2016-11-25 | 1 | -1/+19 |
| | |||||
* | Fix licensing headers | VoR0220 | 2016-11-23 | 1 | -4/+4 |
| | | | | Signed-off-by: VoR0220 <rj@erisindustries.com> | ||||
* | Some more assertions and style changes. | chriseth | 2016-11-16 | 1 | -1/+1 |
| | |||||
* | Change encoding to address-funid and add "function" as ABI type. | chriseth | 2016-11-16 | 1 | -13/+18 |
| | |||||
* | Stored combined creation and runtime tags. | chriseth | 2016-11-16 | 1 | -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. | chriseth | 2016-11-16 | 1 | -23/+35 |
| | |||||
* | External functions in storage. | chriseth | 2016-11-16 | 1 | -11/+17 |
| | |||||
* | Code generator for function types. | chriseth | 2016-11-16 | 1 | -1/+33 |
| | |||||
* | Unimplemented features moved to their own exception (#1361) | Rhett Aultman | 2016-11-15 | 1 | -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_ret | chriseth | 2016-11-15 | 1 | -2/+2 |
|\ | | | | | Invalid enum as external ret | ||||
| * | codegen: overflow checking also during conversion from enums | Yoichi Hirai | 2016-11-15 | 1 | -2/+2 |
| | | |||||
* | | codegen: add a missing `break;` | Yoichi Hirai | 2016-11-14 | 1 | -0/+1 |
|/ | |||||
* | codegen: move the enum overflow checking closer to the conversion into enums | Yoichi Hirai | 2016-11-14 | 1 | -8/+16 |
| | |||||
* | ast, codegen: disallow conversion between different enum types | Yoichi Hirai | 2016-11-12 | 1 | -1/+1 |
| | |||||
* | codegen: shorten the overflow checking when converting into enums | Yoichi Hirai | 2016-11-12 | 1 | -1/+2 |
| | |||||
* | codegen: check the value range after converting something to an enum element | Yoichi Hirai | 2016-11-12 | 1 | -0/+8 |
| | |||||
* | More checks for missing mobile type. | chriseth | 2016-10-24 | 1 | -0/+3 |
| | |||||
* | Improve error message. | chriseth | 2016-09-05 | 1 | -1/+1 |
| | |||||
* | Guard encoding crashes with assertions. | chriseth | 2016-09-02 | 1 | -0/+8 |
| | |||||
* | Fix identity precompile gas calculation | Alex Beregszaszi | 2016-08-06 | 1 | -2/+2 |
| | |||||
* | Fixes for invalid cleanups for small types. | chriseth | 2016-05-20 | 1 | -7/+10 |
| | |||||
* | Remove unused tests and add asserts for not implemented parts in code ↵ | chriseth | 2016-05-11 | 1 | -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 Resolution | VoR0220 | 2016-05-10 | 1 | -1/+1 |
| | | | | | | minor fixes current attempts at binary fixup | ||||
* | changed names for Rational Constants and categories | VoR0220 | 2016-05-10 | 1 | -5/+5 |
| | |||||
* | got exponents up and working with their inverse, changed a few of the ↵ | RJ Catalano | 2016-05-10 | 1 | -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 Catalano | 2016-05-10 | 1 | -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:: namespace | Dimitry | 2016-04-04 | 1 | -74/+74 |
| | |||||
* | rename namespace for instruction.h/cpp in libevmasm | Dimitry | 2016-04-02 | 1 | -74/+74 |
| | |||||
* | move libevmcore to solidity | Dimitry | 2016-04-02 | 1 | -1/+1 |
| | |||||
* | Simplify and optimise stack rotation. | chriseth | 2015-12-01 | 1 | -8/+21 |
| | |||||
* | Make members context-sensitive. | chriseth | 2015-11-26 | 1 | -2/+2 |
| | |||||
* | Code generation for creating arrays. | chriseth | 2015-11-26 | 1 | -9/+15 |
| | |||||
* | Fixed string inside struct allocation bug. | chriseth | 2015-11-24 | 1 | -1/+1 |
| | |||||
* | Fix up for new API from EIP-1.1. | Gav Wood | 2015-11-21 | 1 | -1/+0 |
| | |||||
* | Minor API change - must provide SealEngine to Executive now. | Gav Wood | 2015-11-19 | 1 | -2/+4 |
| | |||||
* | Bugfix: Returning literal strings in tuples. | chriseth | 2015-11-01 | 1 | -1/+1 |
| | |||||
* | File reorganisation. | chriseth | 2015-10-21 | 1 | -0/+802 |