Scott Olson
|
28ccc2bf65
|
Implement the __rust_allocate C ABI function.
|
2016-03-20 18:41:39 -06:00 |
|
Scott Olson
|
6a000b37cc
|
Simplify Misc casts (still incorrect).
|
2016-03-19 11:07:19 -06:00 |
|
Scott Olson
|
20f152296a
|
Implement min_align_of and a hacky mul_with_overflow.
|
2016-03-19 11:01:33 -06:00 |
|
Scott Olson
|
6c6cea28bd
|
Write intrinsic result to correct lvalue.
|
2016-03-19 10:01:53 -06:00 |
|
Scott Olson
|
1eb66b6701
|
Handle "offset" intrinsic on integer pointers.
|
2016-03-19 09:09:13 -06:00 |
|
Scott Olson
|
668f2b6fd4
|
Implement bytestring literals.
|
2016-03-18 23:20:59 -06:00 |
|
Scott Olson
|
26c4772f51
|
Implement string literals.
|
2016-03-18 23:19:39 -06:00 |
|
Scott Olson
|
5d4a804100
|
Implement the dummy 'assume' intrinsic.
|
2016-03-18 23:04:07 -06:00 |
|
Scott Olson
|
dbc9913b7d
|
Implement pointer primvals and comparison ops on them.
|
2016-03-18 23:03:46 -06:00 |
|
Scott Olson
|
81f49ed1c0
|
Implement transmute.
|
2016-03-18 12:42:09 -06:00 |
|
Scott Olson
|
de10839f96
|
Avoid an integer underflow error.
|
2016-03-18 12:11:57 -06:00 |
|
Scott Olson
|
e910d40e6a
|
Add error message for missing MIR.
|
2016-03-18 12:11:39 -06:00 |
|
Scott Olson
|
31b8c17770
|
Reformat for consistency.
|
2016-03-18 11:53:24 -06:00 |
|
Scott Olson
|
b1af71e217
|
Implement more intrinsics.
|
2016-03-18 11:52:28 -06:00 |
|
Scott Olson
|
ee47ce3978
|
Normalize associated types when monomorphizing.
|
2016-03-18 11:52:13 -06:00 |
|
Scott Olson
|
27ff9ab914
|
Add initial support for closures.
|
2016-03-18 10:48:31 -06:00 |
|
Scott Olson
|
f8f31ea549
|
Remove some TODOs.
|
2016-03-17 08:01:34 -06:00 |
|
Scott Olson
|
12457607c3
|
Choose pointer size dynamically.
|
2016-03-17 07:53:26 -06:00 |
|
Scott Olson
|
0b37be71c2
|
Change invalid pointer read panic into Err.
|
2016-03-17 07:24:10 -06:00 |
|
Scott Olson
|
6477a5c694
|
Fix boolean tests and clean up code.
|
2016-03-17 06:39:29 -06:00 |
|
Scott Olson
|
0a8491b985
|
Simplify integer reading/writing.
|
2016-03-17 06:26:37 -06:00 |
|
Scott Olson
|
961137c018
|
Remove fn_ty argument from call_intrinsic for now.
|
2016-03-17 06:04:24 -06:00 |
|
Scott Olson
|
36dfde50f4
|
Extract intrinsic function handling.
|
2016-03-17 06:00:27 -06:00 |
|
Scott Olson
|
e057a156f2
|
Shorten ty_to_repr(ty).size() to ty_size(ty).
|
2016-03-17 05:49:16 -06:00 |
|
Scott Olson
|
49a26b93ca
|
whitespace.
|
2016-03-17 05:40:56 -06:00 |
|
Scott Olson
|
20da5cacc6
|
Cached those outputs.
|
2016-03-17 05:40:27 -06:00 |
|
Scott Olson
|
19bf6eec6b
|
Arena allocate and cache type representations.
|
2016-03-17 05:32:00 -06:00 |
|
Scott Olson
|
432619ea5e
|
Use total size instead of max variant size in aggregates.
|
2016-03-17 04:57:50 -06:00 |
|
Scott Olson
|
573c11cef5
|
Simplify make_aggregate_repr.
|
2016-03-17 04:55:12 -06:00 |
|
Scott Olson
|
3ebf5063a4
|
Merge sum and product representations.
|
2016-03-17 04:38:46 -06:00 |
|
Scott Olson
|
71ed952465
|
Simplify primitive type reprs.
|
2016-03-17 03:36:06 -06:00 |
|
Scott Olson
|
c55d4b07fd
|
Fix typo.
|
2016-03-17 03:20:49 -06:00 |
|
Scott Olson
|
7698a85d01
|
Simplify Repr::Array's elem size.
|
2016-03-17 03:19:13 -06:00 |
|
Scott Olson
|
4704bdca8d
|
Simplify PrimVals.
|
2016-03-17 03:12:15 -06:00 |
|
Scott Olson
|
abd235837a
|
Simplify FieldRepr sizes.
|
2016-03-17 03:11:40 -06:00 |
|
Scott Olson
|
a1fc284559
|
Simplify some Repr code.
|
2016-03-17 02:53:03 -06:00 |
|
Scott Olson
|
aa791a4085
|
Add fixmes to horrible casting code.
|
2016-03-17 01:11:06 -06:00 |
|
Scott Olson
|
d3b47c418f
|
WIP: Support array indexing including a get_unchecked test.
Required supporting:
* Trait method lookup
* The `offset` intrinsic
* Fat pointers
* Unsizing coercions and some raw pointer and integer casts
|
2016-03-16 23:28:49 -06:00 |
|
Scott Olson
|
59cf49baf4
|
Create a pointer-only version of eval_operand. Fix pointer offset.
|
2016-03-16 23:28:09 -06:00 |
|
Scott Olson
|
3ab619c5c3
|
Update for changes in rustc master.
|
2016-03-15 16:09:08 -06:00 |
|
Scott Olson
|
c18e7a68fb
|
Split Repr creation out of eval_lvalue.
|
2016-03-15 07:13:31 -06:00 |
|
Scott Olson
|
8f84d3abc6
|
Implement fixed-sized arrays.
|
2016-03-15 05:51:02 -06:00 |
|
Scott Olson
|
40462d64ef
|
Implement the size_of intrinsic.
|
2016-03-15 00:45:25 -06:00 |
|
Scott Olson
|
7eddb4e92a
|
Test the unstable box syntax.
|
2016-03-14 23:25:13 -06:00 |
|
Scott Olson
|
9d1d96ce07
|
Add unsigned integers.
|
2016-03-14 23:03:31 -06:00 |
|
Scott Olson
|
9e1bb9841e
|
Fix substs in nested generic function calls.
|
2016-03-14 22:26:39 -06:00 |
|
Scott Olson
|
fbb9dd260d
|
Clarify output allocations.
|
2016-03-14 22:08:38 -06:00 |
|
Scott Olson
|
b1475e5cd4
|
Implement Rvalue::Box allocations.
|
2016-03-14 22:05:50 -06:00 |
|
Scott Olson
|
a7c7764c93
|
Reorganize and simplify.
|
2016-03-14 21:48:00 -06:00 |
|
Scott Olson
|
f74d1dc7f1
|
Improve execution trace logging.
|
2016-03-14 21:29:25 -06:00 |
|