Commit Graph
6329 Commits
Author SHA1 Message Date
Yoichi Hirai df4b405f9c Add more optimization rules 2016-11-30 11:16:43 +00:00
chriseth 4ff89dda1d Update SolidityOptimizer.cpp 2016-11-30 11:16:43 +00:00
Alex Beregszaszi 8d0b80f944 Add test for SUB with 0 optimisation 2016-11-30 11:16:43 +00:00
Alex Beregszaszi 3fdef92911 Replace XOR with self with 0 2016-11-30 11:16:43 +00:00
Alex Beregszaszi b8bba66220 Replace XOR/ISZERO with EQ 2016-11-30 11:16:43 +00:00
Alex Beregszaszi 25160bfc26 Add optimiser rule for SUB with 0 2016-11-30 11:16:43 +00:00
chriseth f70f8cf06a Merge pull request #1445 from ethereum/doc-testing
Explain how to run soltest
2016-11-29 18:15:49 +01:00
chriseth 071cbc4a9d Merge pull request #1446 from ethereum/utf8-validate
Improve UTF8 validate
2016-11-29 15:14:10 +01:00
Alex Beregszaszi a9e92cb686 Rename dev::validate to dev::validateUTF8 2016-11-28 22:28:21 +00:00
Alex Beregszaszi c01426efec Make position optional in dev::validate 2016-11-28 22:27:55 +00:00
Alex Beregszaszi 83892399f0 Explain how to run soltest 2016-11-28 20:33:09 +00:00
chriseth dadb4818ba Merge pull request #1443 from ethereum/unimplemented
Use solUnimplemented wherever possible
2016-11-28 14:09:01 +01:00
Alex Beregszaszi f1bc979c0f Use solUnimplemented wherever possible 2016-11-28 09:51:02 +00:00
Alex Beregszaszi 4a67a2862c Merge pull request #1329 from ethereum/lll-lit-changes
LLL: improvements (and fixes) to the lit keyword
2016-11-26 15:22:14 +00:00
Alex Beregszaszi eee10f1af2 LLL: simplify the LIT parsing code 2016-11-26 14:41:15 +00:00
chriseth 9c2ed33e9a Merge pull request #1342 from ethereum/emscripten-codesize
Emscripten code size improvements [WIP TEST]
2016-11-25 18:07:10 +01:00
chriseth d7677826d4 Merge pull request #1395 from ethereum/grammar
Properly define the pragma directive in the grammar
2016-11-25 16:58:30 +01:00
chriseth 0933a4ff1a Merge pull request #1429 from ethereum/unreachablepeephole
Some dead code elimination
2016-11-25 16:57:59 +01:00
chriseth b179dfd101 Merge pull request #1438 from ethereum/docker
Docker documentation.
2016-11-25 16:57:29 +01:00
chriseth 3a8a0708ff Merge pull request #1381 from ethereum/overflown_enum_compared
Enum overflow checking before writing to storage
2016-11-25 16:22:12 +01:00
chriseth cf4e0549c3 Mention nightly. 2016-11-25 16:21:17 +01:00
chriseth f521624952 Integrate AddPop. 2016-11-25 16:10:57 +01:00
chriseth 8a78b19516 Changelog. 2016-11-25 16:10:24 +01:00
chriseth 612c1726d9 Templatize. 2016-11-25 16:10:02 +01:00
chriseth f2872bfa99 Peephole optimizer for unreacheable code. 2016-11-25 16:10:02 +01:00
chriseth 721b6a9696 Merge pull request #1439 from ethereum/utf
Disallow conversion of string literal into strings when the literal is not a valid UTF-8
2016-11-25 15:59:35 +01:00
Yoichi Hirai 0be5859503 codegen: cleanup values to fit in storage bytes 2016-11-25 15:50:46 +01:00
Yoichi Hirai 548b7ce42d codegen: storing of non-value types; add some assertions 2016-11-25 15:45:18 +01:00
Yoichi Hirai fa486f5b44 codegen: shorten the bit truncation 2016-11-25 15:45:18 +01:00
Yoichi Hirai 9d25b5601e codegen: merge type conversion and cleaning up 2016-11-25 15:45:18 +01:00
Yoichi Hirai 3fb9625127 codegen: document _chopSignBits parameter of convertType function 2016-11-25 15:45:17 +01:00
Yoichi Hirai ea628001d5 codegen: add an option to CovertType so that it can truncate sign bits 2016-11-25 15:45:16 +01:00
Yoichi Hirai 56d6641086 codegen: cleanup stored values in a more consistent way 2016-11-25 15:44:36 +01:00
chriseth d52f191fec Merge pull request #1431 from ethereum/doc-literals
docs: a bit more about literals
2016-11-25 15:33:08 +01:00
Yoichi Hirai a755805879 Update types.rst 2016-11-25 14:51:38 +01:00
chriseth da566b956e Indentation. 2016-11-25 14:36:44 +01:00
Yoichi Hirai df5d5edd1b test: add a test about explicitly converting a string literal to string 2016-11-25 13:54:13 +01:00
Yoichi Hirai e136ec8704 ast: string literals that are not valid UTF are not convertible to strings 2016-11-25 13:36:06 +01:00
Yoichi Hirai aaf58a8c4e test: add a test case converting an invalid UTF-8 into a string 2016-11-25 13:13:47 +01:00
Yoichi Hirai ba94b0ae1b Merge pull request #1428 from ethereum/doc-parameters
Document input/output parameters
2016-11-25 11:32:47 +01:00
Yoichi Hirai a747f1d2c3 docs: clarify how many number literal types are there 2016-11-25 10:54:40 +01:00
Yoichi Hirai 76dd85edfa docs: a bit more about literals 2016-11-25 10:47:09 +01:00
Yoichi Hirai fed50403ff docs: cleaning references to C; smoothing parameter syntax description 2016-11-25 10:43:05 +01:00
Yoichi Hirai 0599a14954 docs: cross-reference returning multiple values 2016-11-25 10:43:05 +01:00
Yoichi Hirai 936bade46f doc: add a section about input parameters and output parameters 2016-11-25 10:43:05 +01:00
chriseth 6b95303998 Docker documentation. 2016-11-24 23:46:52 +01:00
chriseth 27ed2b70cc Merge pull request #1437 from ethereum/docker
Alpine base docker file.
2016-11-24 23:40:49 +01:00
chriseth 5c662022a7 Alpine base docker file. 2016-11-24 21:48:16 +01:00
chriseth 9e7b608e78 Merge pull request #1392 from ethereum/check_warning_contents
Check warning text in tests
2016-11-24 21:22:17 +01:00
chriseth a87ed2895a Remove declaration 2016-11-24 20:55:33 +01:00