Commit Graph

7753 Commits

Author SHA1 Message Date
Alex Beregszaszi
ae6251effd Use inline assembly directly and not via AsmStack 2017-06-09 11:43:40 +01:00
Alex Beregszaszi
76667fed4f Merge pull request #2304 from ethereum/evm15asm
Implementation of EVM 1.5 backend
2017-06-09 11:23:40 +01:00
Alex Beregszaszi
80227af08a Add test for two functions calling eachother 2017-06-09 10:46:13 +01:00
chriseth
6b3e7f79cf Comments and consistent variable names. 2017-06-09 10:45:36 +01:00
chriseth
40cb14cdef Fix compiler warning. 2017-06-08 15:52:45 +02:00
chriseth
308a726ad1 Fix: Copy resolver. 2017-06-08 15:52:45 +02:00
chriseth
b32d5e4cc0 Visitor bugfix. 2017-06-08 15:52:45 +02:00
chriseth
893e6f4ec2 Missing stack height check for variable declaration. 2017-06-08 15:52:45 +02:00
chriseth
ef3d5874fe Remove error reporter from code generation phase. 2017-06-08 15:52:45 +02:00
chriseth
19f707aeaa Some more comments. 2017-06-08 15:52:45 +02:00
chriseth
b098b363b5 Test for embedded functions. 2017-06-08 15:52:45 +02:00
chriseth
0185f3cbf6 Correct stack height adjustment after returnsub. 2017-06-08 15:52:45 +02:00
chriseth
ba5ee71b7f Generate only single error in inline assembly. 2017-06-08 15:52:45 +02:00
chriseth
b75c7b5775 Move inline assembly to new abstraction and test both backends. 2017-06-08 15:52:45 +02:00
chriseth
fefd3b866d Introduce machine-dependent stack adjustment. 2017-06-08 15:52:45 +02:00
chriseth
64ddb176bb Test for accessing outer inline assembly scope. 2017-06-08 15:52:45 +02:00
chriseth
97cc968a13 Initial EVM1.5 assembly implementation. 2017-06-08 15:52:44 +02:00
chriseth
21e0b69dcb Merge pull request #2348 from ethereum/asmstack-analyze
Add analyze() to AssemblyStack
2017-06-08 15:45:41 +02:00
Yoichi Hirai
51fcfbcf3f Merge pull request #2351 from AndreMiras/patch-1
Update installing-solidity.rst on Gentoo Linux
2017-06-08 11:48:10 +02:00
AndreMiras
997eb68956 Update installing-solidity.rst on Gentoo Linux
Gentoo Linux solidity install instructions.
2017-06-08 00:20:15 +02:00
djudjuu
83f0e00900 tests for non-legacy mode 2017-06-07 15:52:44 +02:00
Alex Beregszaszi
aa310f9fec Refactor AssemblyStack 2017-06-07 14:42:22 +01:00
Alex Beregszaszi
502304f30b Add analyze(block) to AssemblyStack 2017-06-07 14:42:22 +01:00
Alex Beregszaszi
937c208320 Reset error list in parseAndAnalyze 2017-06-07 14:41:44 +01:00
djudjuu
ebdebc7c12 new test case and indentation fix 2017-06-06 15:47:30 +02:00
chriseth
1fba984966 Merge pull request #2332 from ethereum/fixLiteralPrint
fix Literalprint
2017-06-06 15:09:48 +02:00
chriseth
243e389fd7 Merge pull request #2341 from ethernomad/patch-3
for free => automatically
2017-06-06 15:02:34 +02:00
chriseth
60f9fee40b Merge pull request #2342 from roadriverrail/ignore_qtcreator_settings
Ignore qtcreator settings
2017-06-06 15:01:34 +02:00
chriseth
1c30a71c4a Merge pull request #2345 from ethereum/logo
Include logo in documentation
2017-06-06 15:01:10 +02:00
djudjuu
62eafdd010 adjusted testcase and renaming 2017-06-06 13:26:23 +02:00
Alex Beregszaszi
766df192b9 Include logo in intro 2017-06-05 11:25:48 +01:00
Alex Beregszaszi
5f4df5651b Import logo from browser-solidity#16e74469 2017-06-05 11:20:35 +01:00
Rhett Aultman
964dc31fa5 Ignore the CMakeLists.txt.user qtcreator makes
qtcreator stores its settings in the file CMakeLists.txt.user,
and it should be ignored like the other IDE files
2017-06-03 07:48:12 -07:00
Jonathan Brown
8595bc7122 for free => automatically
Getters still use gas when called from another contract, so they are not free.
2017-06-03 14:12:33 +07:00
chriseth
b4ae188a0f Merge pull request #2336 from ethereum/expectExpression
Refactor to use expectExpression in analyzer.
2017-06-01 15:57:28 +02:00
chriseth
d5408f78ad Add comma. 2017-06-01 15:56:49 +02:00
chriseth
96de7a8326 Merge pull request #2335 from ethereum/compilerstack-cleanup
Remove obsolete CompilerStack methods
2017-06-01 15:33:35 +02:00
chriseth
40f3e4413b Improved error message. 2017-06-01 15:31:07 +02:00
Alex Beregszaszi
998ca552b8 Fix state after CompilerStack.reset() 2017-06-01 13:44:08 +01:00
chriseth
05004253ba Refactor to use expectExpression in analyzer. 2017-06-01 14:28:39 +02:00
Alex Beregszaszi
c212d7c2e6 Remove unused functions from CompilerStack 2017-06-01 13:28:05 +01:00
djudjuu
597bf8a43d fix Literalprint 2017-05-30 19:53:32 +02:00
chriseth
d4a57d81ba Merge pull request #2317 from ethereum/keccak256
Use keccak256 in tests and replace the SHA3 instruction in assembly
2017-05-30 19:34:28 +02:00
djudjuu
b011ddfae3 adjusted test-cases 2017-05-30 19:25:54 +02:00
djudjuu
2e7190534b documentation field added to ContractDefinition-Node 2017-05-30 18:52:43 +02:00
chriseth
254b55728f Merge pull request #2264 from roadriverrail/refactor_error_log
Refactor error reporting
2017-05-30 16:45:36 +02:00
Rhett Aultman
89b60ffbd4 Refactor error reporting
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
2017-05-30 07:28:31 -07:00
Alex Beregszaszi
dcb7c51920 Add inline assembly test for sha3/keccak256 2017-05-30 13:57:44 +01:00
Alex Beregszaszi
524a52660d Document keccak256 in assembly 2017-05-30 12:33:04 +01:00
Alex Beregszaszi
59d3a9d169 Add changelog entry for keccak256 2017-05-30 12:33:04 +01:00