- 31 Aug, 2013 1 commit
-
-
Kenton Varda authored
Actually fix the bug, which was a doozy: OrphanBuilder::tag was sometimes initialized using WirePointer::setKindAndTarget(), but since the tag didn't live inside the target segment, this used illegal pointer arithmetic. The target is never read from an orphan tag anyway, so I thought it would be no big deal. But it turns out Clang actually optimizes under the assumption that pointer arithmetic returns a whole value. As a result, on 32-bit system where 64-bit values are only 32-bit aligned, the tag and target might not have been a whole number of words apart, and the extra bit actually found its way into the 'kind' bits, causing e.g. a struct pointer to become an invalid far pointer. Crash. The fix required refactoring to ensure that setKindAndOffset() is never used for orphan tags.
-
- 27 Aug, 2013 1 commit
-
-
Kenton Varda authored
-
- 25 Aug, 2013 1 commit
-
-
Kenton Varda authored
-
- 22 Aug, 2013 2 commits
-
-
Kenton Varda authored
Require a colon before 'group' or 'union' except for unnamed unions as well as the legacy case of a named union with an ordinal (where the colon is optional).
-
Kenton Varda authored
-
- 21 Aug, 2013 1 commit
-
-
Kenton Varda authored
-
- 16 Aug, 2013 1 commit
-
-
Kenton Varda authored
Generate usable code for groups, although making schemas work is still an open problem. I think I'm going to do the schema rewrite now.
-
- 15 Aug, 2013 4 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
Unnamed unions WIP. About to change MemberInfo format, which will require re-bootstrapping the code generator.
-
- 09 Aug, 2013 1 commit
-
-
Kenton Varda authored
Switch to the new compiler. All tests pass\! Need to submit bootstrap copies of the generated code used by the compiler itself. These bootstrap copies are still built by the old compiler at the moment.
-
- 13 Jul, 2013 1 commit
-
-
Kenton Varda authored
-
- 06 Jun, 2013 2 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
- 31 May, 2013 1 commit
-
-
Kenton Varda authored
-
- 17 May, 2013 1 commit
-
-
Kenton Varda authored
-
- 16 May, 2013 1 commit
-
-
Kenton Varda authored
-
- 15 May, 2013 1 commit
-
-
Kenton Varda authored
When an under-sized struct is found while traversing a builder, upgrade it to the expected size. This is needed to allow easy copying from readers to builders. Next, this will need to be implemented for lists as well.
-
- 14 May, 2013 1 commit
-
-
Kenton Varda authored
-
- 13 May, 2013 1 commit
-
-
Kenton Varda authored
-
- 08 May, 2013 1 commit
-
-
Kenton Varda authored
Restore ability to upgrade from List(Bool) to List(T) where T is a struct whose @0 field is of type Bool. I previously disallowed this to reduce complexity, but it turned out to actually increase complexity.
-
- 04 May, 2013 1 commit
-
-
Kenton Varda authored
Delete Code Friday: Inline structs/lists/data are too complicated for not enough benefit. There goes a week of my life that I'll never get back.
-
- 30 Apr, 2013 1 commit
-
-
Kenton Varda authored
-
- 29 Apr, 2013 2 commits
-
-
Kenton Varda authored
Implement 'Object' field type, which can be any pointer type. The caller specifies the type when calling the accessors.
-
Kenton Varda authored
-
- 27 Apr, 2013 1 commit
-
-
Kenton Varda authored
-
- 26 Apr, 2013 4 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
- 25 Apr, 2013 1 commit
-
-
Kenton Varda authored
-
- 20 Apr, 2013 2 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
- 19 Apr, 2013 1 commit
-
-
Kenton Varda authored
-
- 17 Apr, 2013 1 commit
-
-
Kenton Varda authored
Improve unions. Members of a union are now scoped within the union, although they share ordinal space with the parent struct.
-
- 15 Apr, 2013 1 commit
-
-
Kenton Varda authored
-
- 11 Apr, 2013 2 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
- 09 Apr, 2013 1 commit
-
-
Kenton Varda authored
-