]> Cypherpunks.ru repositories - gostls13.git/blobdiff - src/internal/pkgbits/sync.go
[dev.unified] all: merge master (85d87b9) into dev.unified
[gostls13.git] / src / internal / pkgbits / sync.go
index 72f776af05dc184ae5990de0fe5c428f2d406137..1520b73afb9e960c166c587981bc934017ecbb74 100644 (file)
@@ -10,17 +10,6 @@ import (
        "strings"
 )
 
-// EnableSync controls whether sync markers are written into unified
-// IR's export data format and also whether they're expected when
-// reading them back in. They're inessential to the correct
-// functioning of unified IR, but are helpful during development to
-// detect mistakes.
-//
-// When sync is enabled, writer stack frames will also be included in
-// the export data. Currently, a fixed number of frames are included,
-// controlled by -d=syncframes (default 0).
-const EnableSync = true
-
 // fmtFrames formats a backtrace for reporting reader/writer desyncs.
 func fmtFrames(pcs ...uintptr) []string {
        res := make([]string, 0, len(pcs))
@@ -109,6 +98,7 @@ const (
        SyncExprs
        SyncExpr
        SyncExprType
+       SyncAssign
        SyncOp
        SyncFuncLit
        SyncCompLit
@@ -139,4 +129,8 @@ const (
        SyncStmtsEnd
        SyncLabel
        SyncOptLabel
+
+       SyncMultiExpr
+       SyncRType
+       SyncConvRTTI
 )