Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bubble up error messages. | chriseth | 2018-04-12 | 1 | -0/+2 |
| | |||||
* | Error when using no parentheses in modifier-style constructor calls. | Daniel Kirchner | 2018-04-10 | 1 | -3/+6 |
| | |||||
* | Move constructor argument override check to TypeChecker and reuse ↵ | Daniel Kirchner | 2018-04-09 | 1 | -27/+12 |
| | | | | annotations in ContractCompiler. | ||||
* | Error when using empty parenthesis for base class constructors that require ↵ | Daniel Kirchner | 2018-04-05 | 1 | -2/+2 |
| | | | | arguments. | ||||
* | Fix: Treat empty base constructor argument list as not provided. | chriseth | 2018-04-03 | 1 | -3/+5 |
| | |||||
* | Simple size check for old ABI decoder. | chriseth | 2018-03-21 | 1 | -0/+2 |
| | |||||
* | Move the old ABI decoder code. | chriseth | 2018-03-20 | 1 | -101/+2 |
| | |||||
* | Bugfix in virtual lookup for modifiers in libraries. | chriseth | 2018-03-13 | 1 | -1/+4 |
| | |||||
* | Use EVM version in gas meter and optimizer. | chriseth | 2018-03-05 | 1 | -2/+2 |
| | |||||
* | Introduce emit statement. | chriseth | 2018-02-22 | 1 | -0/+9 |
| | |||||
* | Prevent libraries from being called. | chriseth | 2018-01-19 | 1 | -3/+68 |
| | |||||
* | Cleanup and overflow checks for data pointers. | chriseth | 2017-11-30 | 1 | -1/+0 |
| | |||||
* | ABI decoder. | chriseth | 2017-11-30 | 1 | -0/+10 |
| | |||||
* | Do not accept truncated function selectors. | chriseth | 2017-10-18 | 1 | -7/+4 |
| | |||||
* | Split encodeToMemory to packedEncode and abiEncode | Alex Beregszaszi | 2017-09-27 | 1 | -1/+1 |
| | |||||
* | Update tests and error messages. | chriseth | 2017-09-16 | 1 | -1/+1 |
| | |||||
* | Move ABI encoder into its own function. | chriseth | 2017-09-16 | 1 | -0/+5 |
| | |||||
* | Move all file specific globals to anonymous namespace | Alex Beregszaszi | 2017-08-29 | 1 | -0/+5 |
| | |||||
* | Mark appropriate constructors explicit | Alex Beregszaszi | 2017-08-22 | 1 | -1/+1 |
| | |||||
* | Experimental feature switch for ABI encoder. | chriseth | 2017-08-14 | 1 | -0/+1 |
| | |||||
* | Remove the need of jumping out of the fallback | Alex Beregszaszi | 2017-07-28 | 1 | -8/+4 |
| | |||||
* | Fix internal "variable already present" error. | chriseth | 2017-07-05 | 1 | -0/+3 |
| | |||||
* | Abort early if there is nothing to encode or decode. | chriseth | 2017-06-30 | 1 | -3/+6 |
| | |||||
* | Document appendFunctionSelector | Alex Beregszaszi | 2017-06-29 | 1 | -0/+4 |
| | |||||
* | Stack adjustment and code generation for fallback function. | chriseth | 2017-06-29 | 1 | -4/+6 |
| | | | | This assumes that the fallback function does not have return parameters. | ||||
* | Fix negative stack size checks. | chriseth | 2017-06-28 | 1 | -0/+10 |
| | |||||
* | Merge pull request #2460 from ethereum/disallowMultiModifier | Alex Beregszaszi | 2017-06-26 | 1 | -0/+4 |
|\ | | | | | Disallow invoking the same modifier multiple times. | ||||
| * | Disallow invoking the same modifier multiple times. | chriseth | 2017-06-24 | 1 | -0/+4 |
| | | |||||
* | | Change invalid opcode to revert for input validation. | chriseth | 2017-06-24 | 1 | -5/+4 |
|/ | |||||
* | Remove error reporter from code generation phase. | chriseth | 2017-06-08 | 1 | -5/+1 |
| | |||||
* | Initial EVM1.5 assembly implementation. | chriseth | 2017-06-08 | 1 | -6/+11 |
| | |||||
* | Refactor error reporting | Rhett Aultman | 2017-05-30 | 1 | -2/+3 |
| | | | | | | | | | This commit introduces ErrorReporter, a utility class which consolidates all of the error logging functionality into a common set of functions. It also replaces all direct interactions with an ErrorList with calls to an ErrorReporter. This commit resolves issue #2209 | ||||
* | Adapt EVM codegen to new namespace. | chriseth | 2017-05-26 | 1 | -4/+4 |
| | |||||
* | Refactor to abstract assembly to JULIA. | chriseth | 2017-05-20 | 1 | -16/+20 |
| | |||||
* | Refactor to combined scope and stack height info. | chriseth | 2017-04-26 | 1 | -1/+2 |
| | |||||
* | Special case for storage types with offset zero. | chriseth | 2017-04-25 | 1 | -3/+18 |
| | |||||
* | Build fix. | chriseth | 2017-04-25 | 1 | -1/+1 |
| | |||||
* | Storage access from inline assembly. | chriseth | 2017-04-25 | 1 | -10/+35 |
| | |||||
* | Move analysis out of code generator. | chriseth | 2017-04-25 | 1 | -1/+3 |
| | |||||
* | Only allow access to local variables and only if they have a stack size of one. | chriseth | 2017-04-25 | 1 | -34/+14 |
| | |||||
* | Review comments. | chriseth | 2017-04-25 | 1 | -0/+2 |
| | |||||
* | Review comments and cleanup. | chriseth | 2017-04-25 | 1 | -2/+5 |
| | |||||
* | Split external identifier access into resolving and code generation. | chriseth | 2017-04-25 | 1 | -72/+80 |
| | |||||
* | Use the REVERT opcode for throw; | Alex Beregszaszi | 2017-02-11 | 1 | -1/+3 |
| | |||||
* | Be more verbose on the stack-mismatch errors | Alex Beregszaszi | 2017-02-01 | 1 | -1/+1 |
| | |||||
* | Support explicit conversion of external function type to address | Alex Beregszaszi | 2017-02-01 | 1 | -1/+1 |
| | |||||
* | Changelog and review suggestions. | chriseth | 2017-01-27 | 1 | -1/+1 |
| | |||||
* | Address feedback from code review. | Valentin Wüstholz | 2017-01-26 | 1 | -3/+3 |
| | |||||
* | Change translation of implicit throws (issue #1589). | Valentin Wüstholz | 2017-01-26 | 1 | -3/+5 |
| | | | | | | | 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 | -0/+1 |
| | |||||
* | Report source location on "stack too deep" errors. | chriseth | 2017-01-21 | 1 | -1/+8 |
| | |||||
* | Use fully-qualified names for linking, too | Rhett Aultman | 2017-01-17 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | Using libraries leaves behind a library link reference in the binary which the linker must later resolve. These link references were still being generated by name and not by fully-qualified name. This would lead to a link-time collision between two libraries having the same name but in different source units. This change changes linker symbols over to fully-qualified names, which resolves that issue. This does potentially introduce a new problem, which is that linker symbols appear to be limited to 36 characters and are truncated. Storing paths extends the average symbol size, and it would be great if truncation was from the tail rather than the head. | ||||
* | Merge pull request #1462 from ethereum/fix-incorrect-assertion | chriseth | 2016-12-01 | 1 | -1/+1 |
|\ | | | | | codegen: assertion did not assert non-nullness | ||||
| * | codegen: assertion did not assert non-nullness | Yoichi Hirai | 2016-12-01 | 1 | -1/+1 |
| | | | | | | | | | | This commit strengthens an assertion so that it makes sure that a pointer is not null. Moreover, `isLocalVariable(variable)` is now positively asserted, following the error message. | ||||
* | | codegen: this commit removes one of duplicate assignments | Yoichi Hirai | 2016-12-01 | 1 | -2/+0 |
|/ | |||||
* | Fix licensing headers | VoR0220 | 2016-11-23 | 1 | -4/+4 |
| | | | | Signed-off-by: VoR0220 <rj@erisindustries.com> | ||||
* | Add appendCallValueCheck | Alex Beregszaszi | 2016-11-18 | 1 | -20/+13 |
| | |||||
* | Add payable check for constructor in codegen | Alex Beregszaszi | 2016-11-18 | 1 | -0/+12 |
| | |||||
* | Converted sub assembly to smart pointer. | chriseth | 2016-11-16 | 1 | -8/+7 |
| | |||||
* | Stored combined creation and runtime tags. | chriseth | 2016-11-16 | 1 | -11/+32 |
| | | | | | | | Includes a change to Assembly to allow tags from sub-assemblies to be used. Sorry, this get a bit bigger than I thought. | ||||
* | Code generator for function types. | chriseth | 2016-11-16 | 1 | -0/+1 |
| | |||||
* | Unimplemented features moved to their own exception (#1361) | Rhett Aultman | 2016-11-15 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | 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 | ||||
* | Add support for do/while loops | Rhett Aultman | 2016-11-10 | 1 | -3/+16 |
| | | | | | | | This commit adds support for a standard do <statement> while <expr>; form of statement. While loops were already being supported; supporting a do/while loop mostly involves reusing code from while loops but putting the conditional checking last. | ||||
* | Allow warnings for inline assembly block | Alex Beregszaszi | 2016-10-20 | 1 | -1/+1 |
| | |||||
* | Allow value transfer to library functions. | chriseth | 2016-09-17 | 1 | -1/+3 |
| | |||||
* | Change function type to include and propagate payable and constant modifier. | chriseth | 2016-09-06 | 1 | -0/+6 |
| | |||||
* | Merged in changes from chriseth/payable | Alex Beregszaszi | 2016-09-06 | 1 | -11/+2 |
| | |||||
* | Support payable keyword for functions | Alex Beregszaszi | 2016-09-06 | 1 | -0/+17 |
| | |||||
* | Make fallback function throw by default. | chriseth | 2016-08-30 | 1 | -4/+1 |
| | |||||
* | BREAKING: return only exits current function/modifier | chriseth | 2016-08-17 | 1 | -31/+42 |
| | |||||
* | Disallow implementation of abstract function by constructor of derived class. | chriseth | 2016-06-07 | 1 | -0/+3 |
| | |||||
* | Refactor compiler to avoid weird swap of contexts | chriseth | 2016-05-20 | 1 | -0/+853 |