Commits

llvm: simplify control flow lowering structs

ace5a5e3cc • Andrew Kelley • Jun 11, 2023

wasm: fix error union constant lowering

63dc0447fc • Andrew Kelley • Jun 11, 2023

TypedValue: implement more prints

abded5cbb0 • Jacob Young • Jun 11, 2023

InternPool: fix more crashes

f2c716187c • Jacob Young • Jun 11, 2023

AIR: eliminate the `values` array

66c4396854 • Andrew Kelley • Jun 11, 2023

InternPool: fix enough crashes to run `build-obj` on a simple program

9afa974183 • Jacob Young • Jun 11, 2023

Module: intern the values of decls when they are marked alive

9a738c0be5 • Jacob Young • Jun 11, 2023

Sema: inferred allocations no longer abuse type/value system

f37c0a4593 • Andrew Kelley • Jun 11, 2023

Sema: fix some issues with the inferred alloc tag change

5d0d5893fd • Jacob Young • Jun 11, 2023

Air: remove constant tag

70cc68e999 • Jacob Young • Jun 11, 2023

InternPool: fix crashes up to in progress comptime mutation

72e4ea3821 • Jacob Young • Jun 11, 2023

InternPool: remove more legacy values

1a4626d2cf • Jacob Young • Jun 11, 2023

InternPool: port most of value tags

6e0de1d116 • Jacob Young • Jun 11, 2023

InternPool: support int->comptime_int in getCoerced

5555bdca04 • Andrew Kelley • Jun 11, 2023

Sema: update zirSliceLength to avoid resolveInst(.none)

2052260039 • Andrew Kelley • Jun 11, 2023

Sema: improve the types_to_resolve mechanism

01ca841f12 • Andrew Kelley • Jun 11, 2023

remove the kludges from std.builtin

1b64eed107 • Andrew Kelley • Jun 11, 2023

llvm: fix incorrect slice lowering

484c3e8cbc • Jacob Young • Jun 11, 2023

InternPool: add lldb pretty printing for indices

a7c3ca3531 • Jacob Young • Jun 11, 2023

Value: remove legacy type values

a6fcf469fc • Jacob Young • Jun 11, 2023

TypedValue: fix debug print crashes

84099e50fc • Jacob Young • Jun 11, 2023

InternPool: add missing logic

be1b231206 • Jacob Young • Jun 11, 2023

InternPool: fix logic bugs

9584feae5f • Jacob Young • Jun 11, 2023

InternPool: add more pointer values

dfd91abfe1 • Jacob Young • Jun 11, 2023

InternPool: fix coersion issues

cbf304d8c3 • Jacob Young • Jun 11, 2023

Type: hack around `isNoReturn` queries for the remaining legacy tags

25cd4bb3c9 • Jacob Young • Jun 11, 2023

InternPool: add missing ensureCapacity call with enums

e4d498cd3a • Andrew Kelley • Jun 11, 2023

Sema: move `inferred_alloc_const/mut_type` to InternPool

7e19c95668 • Andrew Kelley • Jun 11, 2023

Module: remove tmp_hack_arena

65d65f5dda • Andrew Kelley • Jun 11, 2023

compiler: remove var_args_param_type from SimpleType

dfb3521160 • Andrew Kelley • Jun 11, 2023

Value: add `intern` and `unintern` to facilitate code conversion

115c089562 • Jacob Young • Jun 11, 2023

Sema: port Value.decl_ptr to InternPool

be78a12d7d • Jacob Young • Jun 11, 2023

Sema: port reify struct access to use InternPool

c473594114 • Jacob Young • Jun 11, 2023

Sema: add coerceTupleToStruct result to the InternPool

f8b6eb63d5 • Jacob Young • Jun 11, 2023

InternPool: add repeated aggregate storage

d28fc5bacb • Jacob Young • Jun 11, 2023

compiler: move error union types and error set types to InternPool

9ff514b6a3 • Andrew Kelley • Jun 11, 2023

compiler: eliminate legacy Type.Tag.pointer

7bf91fc79a • Andrew Kelley • Jun 11, 2023

compiler: eliminate legacy Type.Tag.optional

607737d841 • Andrew Kelley • Jun 11, 2023

compiler: move `anyframe->T` to InternPool

f21ca3da19 • Andrew Kelley • Jun 11, 2023

stage2: move function types to InternPool

17882162b3 • Andrew Kelley • Jun 11, 2023

stage2: encode one-possible-value tuple specially

6a9a918fbe • Andrew Kelley • Jun 11, 2023

stage2: move anon tuples and anon structs to InternPool

d18881de1b • Andrew Kelley • Jun 11, 2023

stage2: move enum tag values into the InternPool

88dbd62bcb • Andrew Kelley • Jun 11, 2023

stage2: remove legacy Type array and array_sentinel

d89807efbb • Andrew Kelley • Jun 11, 2023

InternPool: transition float values

466328d1ca • mlugg • Jun 11, 2023

stage2: move enum types into the InternPool

5881a2d637 • Andrew Kelley • Jun 11, 2023

InternPool: fix deinit leaking inner maps

404cbc36c5 • Andrew Kelley • Jun 11, 2023

InternPool: ability to encode enums

50bebb9e21 • Andrew Kelley • Jun 11, 2023

add std.hash.uint32

1c7095cb7d • Andrew Kelley • Jun 11, 2023

stage2: move union types and values to InternPool

3ba099bfba • Andrew Kelley • Jun 11, 2023

stage2: move struct types and aggregate values to InternPool

8297f28546 • Andrew Kelley • Jun 11, 2023

stage2: move opaque types to InternPool

275652f620 • Andrew Kelley • Jun 11, 2023

InternPool: add optional values

e94a81c951 • Andrew Kelley • Jun 11, 2023

InternPool: add ptr-to-int value

68b95a39b1 • Andrew Kelley • Jun 11, 2023

InternPool: add indexToKey for empty struct types

fd674d95be • Andrew Kelley • Jun 11, 2023

Sema: introduce Value.enum_field_0

ad06b249b6 • Andrew Kelley • Jun 11, 2023

stage2: more InternPool related fixes

8587e510e4 • Andrew Kelley • Jun 11, 2023

stage2: move empty struct type and value to InternPool

3116477dcc • Andrew Kelley • Jun 11, 2023

InternPool: add an int_u8 value encoding

2f9b7dc102 • Andrew Kelley • Jun 11, 2023

stage2: more InternPool-related fixes

4fe0c583be • Andrew Kelley • Jun 11, 2023

stage2: implement intTagType logic

4d88f825bc • Andrew Kelley • Jun 11, 2023

stage2: bug fixes related to Type/Value/InternPool

a5fb169594 • Andrew Kelley • Jun 11, 2023

InternPool: fix UAF in getCoercedInt and add u16 int value encoding

8699cdc3df • Andrew Kelley • Jun 11, 2023

Replace uses of Value.zero, Value.one, Value.negative_one

2ffef605c7 • mlugg • Jun 11, 2023

InternPool: add getCoercedInt to avoid copy in Sema

4c3c605e5f • Andrew Kelley • Jun 11, 2023

wip: progress towards compiling tests

c1ca16d779 • mlugg • Jun 11, 2023

InternPool: implement indexToKey and equality for int values

9d9e1a2991 • Andrew Kelley • Jun 11, 2023

InternPool: add an encoding for arrays with sentinels

6c713b40f7 • Andrew Kelley • Jun 11, 2023

stage2: move integer values to InternPool

75900ec1b5 • Andrew Kelley • Jun 11, 2023

Sema: update onePossibleValue for InternPool

73720b6975 • Andrew Kelley • Jun 11, 2023

LLVM backend: update integer constant lowering for InternPool

f7bd42785b • Andrew Kelley • Jun 11, 2023

stage2: fix interned integer value printing

27d641eb35 • Andrew Kelley • Jun 11, 2023

InternPool: fix bug in addLimbsExtraAssumeCapacity

6350aabf9d • Andrew Kelley • Jun 11, 2023

Sema: add typeHasOnePossibleValue logic for InternPool

9626811725 • Andrew Kelley • Jun 11, 2023

InternPool: add a slice encoding

31aee50c1a • Andrew Kelley • Jun 11, 2023

stage2: add missing comptimeOnly logic for InternPool

08e9763951 • Andrew Kelley • Jun 11, 2023

fix AIR printing of interned constants

80bf5af345 • Andrew Kelley • Jun 11, 2023

stage2: add tmp_hack_arena for the InternPool transition

3e6dd0da7a • Andrew Kelley • Jun 11, 2023

fill out more InternPool Type methods

ce3cffbd5a • Andrew Kelley • Jun 11, 2023

InternPool: add a dump function

0471638734 • Andrew Kelley • Jun 11, 2023

stage2: migrate many pointer types to the InternPool

9ec0017f46 • Andrew Kelley • Jun 11, 2023

std.builtin.AddressSpace: allocate one more bit to this enum

70a4b76aca • Andrew Kelley • Jun 11, 2023

Sema: update core comptime detection logic to be InternPool aware

2f05b1482a • Andrew Kelley • Jun 11, 2023

InternPool: enhance integer values

ac07ddadeb • Andrew Kelley • Jun 11, 2023

std.mem.alignForwardGeneric: manually inline the assertions

75cf06c187 • Andrew Kelley • Jun 11, 2023

stage2: add a few more Value checks for InternPool

41cdcd5486 • Andrew Kelley • Jun 11, 2023

stage2: move undef, unreach, null values to InternPool

6ab8b6f8b2 • Andrew Kelley • Jun 11, 2023

InternPool: add the missing pointer data

773fabf361 • Andrew Kelley • Jun 11, 2023

stage2: move many Type encodings to InternPool

5e636643d2 • Andrew Kelley • Jun 11, 2023

stage2: move all integer types to InternPool

9d422bff18 • Andrew Kelley • Jun 11, 2023

Type.isSlice: make it InternPool aware

85c69c5194 • Andrew Kelley • Jun 11, 2023

Type: update to use InternPool for some methods

fb16ad3add • Andrew Kelley • Jun 11, 2023

stage2: move most simple values to InternPool

ca3cf93b21 • Andrew Kelley • Jun 11, 2023

stage2: move most simple types to InternPool

836d8a1f64 • Andrew Kelley • Jun 11, 2023

stage2: move named int types to InternPool

bcd4bb8afb • Andrew Kelley • Jun 11, 2023

stage2: move float types to InternPool

4cd8a40b3b • Andrew Kelley • Jun 11, 2023

InternPool: implement isSinglePointer

aa1bb5517d • Andrew Kelley • Jun 11, 2023

InternPool: implement typePtrOrOptionalPtrTy

e77dede87e • Andrew Kelley • Jun 11, 2023

InternPool: implement resolveTypeFields

264292f430 • Andrew Kelley • Jun 11, 2023

InternPool: implement hasWellDefinedLayout for simple_type

cdf6acba96 • Andrew Kelley • Jun 11, 2023