Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Issue 6014 - rt_finalize Segmentation fault , dmd 2.053 on linux & fr…
Browse files Browse the repository at this point in the history
…eebsd
  • Loading branch information
complexmath committed Sep 14, 2011
1 parent 9b87e62 commit 7189e90
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/core/memory.d
Original file line number Diff line number Diff line change
Expand Up @@ -118,19 +118,19 @@ struct GC
*/
enum BlkAttr : uint
{
NONE = 0b0000_0000, /// No attributes set.
FINALIZE = 0b0000_0001, /// Finalize the data in this block on collect.
NO_SCAN = 0b0000_0010, /// Do not scan through this block on collect.
NO_MOVE = 0b0000_0100, /// Do not move this memory block on collect.
APPENDABLE = 0b0000_1000, /// This block contains the info to allow appending.

/**
This block is guaranteed to have a pointer to its base while it's
alive. Interior pointers can be safely ignored. This attribute
is useful for eliminating false pointers in very large data structures
This block is guaranteed to have a pointer to its base while it is
alive. Interior pointers can be safely ignored. This attribute is
useful for eliminating false pointers in very large data structures
and is only implemented for data structures at least a page in size.
*/
NO_INTERIOR = 0b0001_0000

NO_INTERIOR = 0b0001_0000,
}


Expand Down

0 comments on commit 7189e90

Please sign in to comment.