rust/src/libsyntax
Simonas Kazlauskas b0e55a83a8 Such large. Very 128. Much bits.
This commit introduces 128-bit integers. Stage 2 builds and produces a working compiler which
understands and supports 128-bit integers throughout.

The general strategy used is to have rustc_i128 module which provides aliases for iu128, equal to
iu64 in stage9 and iu128 later. Since nowhere in rustc we rely on large numbers being supported,
this strategy is good enough to get past the first bootstrap stages to end up with a fully working
128-bit capable compiler.

In order for this strategy to work, number of locations had to be changed to use associated
max_value/min_value instead of MAX/MIN constants as well as the min_value (or was it max_value?)
had to be changed to use xor instead of shift so both 64-bit and 128-bit based consteval works
(former not necessarily producing the right results in stage1).

This commit includes manual merge conflict resolution changes from a rebase by @est31.
2016-12-30 15:15:44 +01:00
..
diagnostics Use Symbol instead of InternedString in the AST, HIR, and various other places. 2016-11-21 09:00:55 +00:00
ext Such large. Very 128. Much bits. 2016-12-30 15:15:44 +01:00
parse Such large. Very 128. Much bits. 2016-12-30 15:15:44 +01:00
print Such large. Very 128. Much bits. 2016-12-30 15:15:44 +01:00
util annotate stricter lifetimes on LateLintPass methods to allow them to forward to a Visitor 2016-12-06 11:28:51 +01:00
abi.rs PTX support 2016-12-26 21:06:23 -05:00
ast.rs Such large. Very 128. Much bits. 2016-12-30 15:15:44 +01:00
attr.rs Such large. Very 128. Much bits. 2016-12-30 15:15:44 +01:00
Cargo.toml Such large. Very 128. Much bits. 2016-12-30 15:15:44 +01:00
codemap.rs rustc: use Span's allow_internal_unstable instead of hir::BlockCheckMode. 2016-11-28 04:18:10 +02:00
config.rs Move MetaItemKind's Name to a field of MetaItem. 2016-11-20 12:36:30 +00:00
diagnostic_list.rs Implement RFC#1559: allow all literals in attributes. 2016-08-25 13:25:22 -07:00
entry.rs Cleanup InternedString. 2016-11-21 09:00:56 +00:00
feature_gate.rs PTX support 2016-12-26 21:06:23 -05:00
fold.rs Auto merge of #38566 - jseyfried:fix_import_resolution_bug, r=eddyb 2016-12-25 13:14:12 +00:00
json.rs Allow supplying an error destination via the compiler driver 2016-09-28 16:20:30 +13:00
lib.rs Such large. Very 128. Much bits. 2016-12-30 15:15:44 +01:00
ptr.rs Documentation for default types modified 2016-09-11 22:58:01 +05:30
show_span.rs annotate stricter lifetimes on LateLintPass methods to allow them to forward to a Visitor 2016-12-06 11:28:51 +01:00
std_inject.rs Refactor how global paths are represented (for both ast and hir). 2016-12-22 06:14:35 +00:00
str.rs syntax: Copy unstable str::char_at into libsyntax 2015-04-21 10:23:53 -07:00
symbol.rs Refactor how global paths are represented (for both ast and hir). 2016-12-22 06:14:35 +00:00
test.rs Refactor how global paths are represented (for both ast and hir). 2016-12-22 06:14:35 +00:00
test_snippet.rs review comments 2016-11-23 23:44:17 -08:00
tokenstream.rs macros: fix the expected paths for a non-inline module matched by an item fragment. 2016-12-07 10:56:55 +00:00
visit.rs Optimize ast::PathSegment. 2016-12-19 20:57:00 +00:00