diff options
| author | Corey Richardson <corey@octayn.net> | 2013-08-09 20:05:24 -0400 |
|---|---|---|
| committer | Corey Richardson <corey@octayn.net> | 2013-09-16 12:40:32 -0400 |
| commit | 9ea295b7df26c954cbb4f5f3c0dc669b14a2389d (patch) | |
| tree | d4daf06d228daef6c91cd2f894c6b187a10d2b2b /src/rustllvm/RustWrapper.cpp | |
| parent | 507a7f093d51829ccde225542bda2a805be32ba2 (diff) | |
| download | rust-9ea295b7df26c954cbb4f5f3c0dc669b14a2389d.tar.gz rust-9ea295b7df26c954cbb4f5f3c0dc669b14a2389d.zip | |
extra::json: use a different encoding for enums.
It now uses `{"type": VariantName, "fields": [...]}`, which, according to
@Seldaek, since all enums will have the same "shape" rather than being a weird
ad-hoc array, will optimize better in javascript JITs. It also looks prettier,
and makes more sense.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
