Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |