Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/hack-pad/go
The Go programming language
https://github.com/hack-pad/go
When doing a tail call the link register is live as the callee
will directly return to the calle...
Change-Id: Ie802ff27b611ed248d7b14f6e972e6300c181f43
Reviewed-on: https://go-review.googlesource...
In preparation for capturing the implicit interface bit in export data,
thread through the IsImp...
Now that we've removed the necessity for subscripts in importers, we can
effectively eliminate t...
The Content-Length was incorrectly set to 0 for ill-formed and invalid
values. In these cases, r...
CL 357649 fixes inlining labeled FOR/RANGE loops,
we should do same translation for inlined SWIT...
When running benchmarks with high -count and no tests (either at all or
filtered with -run), the...
- change _TypeSet.hasTerms() to report if a type set has actual types
(excluding a "universe" ...
This updates the testing package documentation to reference the
specification for the benchmark ...
The existing DrawMask method is generic and is therefore calling the At().RGBA() method for ever...
fcd2d9cd75e6307b5b72fed2201044e231bef40a authored about 3 years ago by Olivier Wulveryck <[email protected]>
CL 358117 fixed a bug that Phi's argument wasn't updated correctly after
removing a predecessor ...
It's only used in two places:
- The one in regalloc.go can be replaced with v.resetArgs()
- T...
removePred and removeArg do different things. removePred moves the last
predecessor to index k, ...
Change-Id: Ib51bcdf023910d244739ec176880a16e700851e7
Reviewed-on: https://go-review.googlesource...
Change-Id: Ib9bd08ab6153129aaf8b77b41fc6ea302d0c1589
Reviewed-on: https://go-review.googlesource...
This generalizes range clauses. Removed some dead code and cleaned
up the surrounding bits.
Cha...
c526cf8c1ea535de6a30fc8c553c377bda4d6781 authored about 3 years ago by Robert Griesemer <[email protected]>
This generalizes make the same way copy was generalized and eliminates
a use of optype.
Change-...
2d205ebb96460b500480d144b99d2d5f5d4c06ed authored about 3 years ago by Robert Griesemer <[email protected]>
Implement singleUnder[String] which determines a single underlying type
for a given type: either...
TBR=iant
Change-Id: Ic72af52e5ff8d28f8102c07b03e4930df61445ca
Reviewed-on: https://go-review.go...
Since CL 282892, functions are always compiled before closures. To do
that, when walking the clo...
Updates #40592
Change-Id: If66629e47ca9859128ee3ad8fb584e022d7a6982
Reviewed-on: https://go-rev...
The -asan option causes the linker to link against the runtime/asan
package in order to use the ...
- slightly refactor convertibleTo and convertibleToImpl
- provide ability to return a conversion...
There's no need to say "type parameter" for a type parameter. The
name is sufficient (they are a...
Change-Id: I5b1dfeeb0ae5ac32667633151ef83bcf4654c43f
Reviewed-on: https://go-review.googlesource...
CL 356254 fixed crawling of embeddable types during inline. However, we
are too agressive, since...
Same as CL 350153 did for Value.Elem to panic on bad notinheap pointers.
While at it, also add m...
Add a new interface method, MarkImplicit, to allow marking interfaces as
implicit from outside t...
This introduces a number of new classifications which will make it
easier to generate functions ...
There is already a mechanism using inlgen to rename labels insided
inlined functions so that the...
Currently gcPaceScavenger is called by gcControllerState.commit, but it
manipulates global state...
Currently gcController.gcPercent is read non-atomically by
gcControllerState.revise and gcTrigge...
Optype should never return a defined type.
Change-Id: I37b29e0c958e127e75e834e71d6392ea80827773...
8151b56c5d1de8f654a6e6789a0e607b55845c1e authored about 3 years ago by Robert Findley <[email protected]>
Change-Id: Id71f3d8d7c1ef7910d5d9497167dc677f2f0a2ef
Reviewed-on: https://go-review.googlesource...
Change-Id: I61011b75128478aa50308d84f4cba23b3e241b3f
Reviewed-on: https://go-review.googlesource...
Fixes: #49081
Change-Id: Ie6742f1e7a60c2d92ce1283bcfaa3eac521440a1
Reviewed-on: https://go-revie...
Modified condition in the ASM implementation of indexbody to
determine if separator length cross...
This adds a few rules to PPC64 to eliminate some instructions:
- when an isel is used to generat...
Updated test/codegen/comparison.go to verify memequal is inlined
as implemented in CL 328291.
C...
8b9c0d1a79251969e46731e46e72e4e8f8998817 authored about 3 years ago by Archana R <[email protected]>This is port of CL 357229 for types2 to go/types.
Change-Id: I35ed6b784969210a00ea5b36238df7d6b...
fca46d0b36c10250713ec0f4c9bf13d626f358d1 authored about 3 years ago by Cuong Manh Le <[email protected]>
Change-Id: I43e5bb778fbba1398c8006b1644524a9885157db
GitHub-Last-Rev: fa76473ab8b207b8cfc350ca8a...
[git-generate]
cd src/runtime
mv export_test.go export.go
GOROOT=$(dirname $(dirname $PWD)) rf '...
[git-generate]
cd src/runtime
mv export_test.go export.go
GOROOT=$(dirname $(dirname $PWD)) rf '...
[git-generate]
cd src/runtime
mv export_test.go export.go
GOROOT=$(dirname $(dirname $PWD)) rf '...
[git-generate]
cd src/runtime
mv export_test.go export.go
GOROOT=$(dirname $(dirname $PWD)) rf '...
[git-generate]
cd src/runtime
mv export_test.go export.go
GOROOT=$(dirname $(dirname $PWD)) rf '...
Change-Id: Ie7f09a7c9545ef9dd1860b1e332c4edbcbf8165e
Reviewed-on: https://go-review.googlesource...
Change-Id: I74f365316484feb819c31c77fbffd78fadfe32a9
Reviewed-on: https://go-review.googlesource...
Iterate through the actual, possibly defined types of constraints
when type-checking generic con...
This is a clean port of CL 357291 from x/tools.
For #46586
Change-Id: Ib22087ae7fe8477d368acd2...
4320949f36f5f523a08ce8da6bdcd35ef51b8941 authored about 3 years ago by Robert Findley <[email protected]>
In CL 327872, there's a fix for crawling of embeddable types directly
reached by the user, so al...
Remove a bit of dead code from the Go object file reader (io.ReaderAt
no longer needed in goobj....
Minor leftover from CL 74851.
Change-Id: I1b56afcde3c505ba77a0f79e8ae9b01000362298
GitHub-Last-...
Fixes #48861
Change-Id: I3f55bfbdc4f2cf5b33d1ab2d76e01335bb497c6f
GitHub-Last-Rev: 0ecd790b87dd...
When invoking check.binary for assignment operation, the expression will
be nil, thus for printi...
Fixes #47150.
Change-Id: I7531ca5917d4e52ca0b9211d6f2114495b19ba09
Reviewed-on: https://go-revi...
Change-Id: I2fca7a801c85ed93c002c23bfcb0cf9593f1bdf4
Reviewed-on: https://go-review.googlesource...
The "" stand-in for the current package needs to be substituted
in more places when importing, b...
This makes it easier to run tests on existing generic code that is
not using the `.go2` ending c...
This is the port of CL 356809 for Value.Pointer to fix the mismatch of
methodValueCall code poin...
CL 350691 added Value.UnsafePointer and make Value.Pointer call it
internally. It has a downside...
GOWORK will be set to the go.work file's path, if in workspace mode
or will be empty otherwise.
...
Add support for replace directives in the go.work file. If there are
conflicting replaces in go....
errors.Is internally unwraps the error until the error matches the
target. Because of this, a us...
This change adds support for the reg ABI to the Index and Count
functions for ppc64/ppc64le.
Mo...
6c3cd5d2eb7149c9c1ced7d70c3f4157f27c1588 authored about 3 years ago by Archana R <[email protected]>
uint64 is guaranteed by the compiler to be aligned on 64-bit archs.
By using uint64+uint32 inste...
This change also does some refactors around how
we prevent many (*F) methods from being called
i...
crypto/tls briefly used GODEBUG. That usage was removed in CL 191999.
Change-Id: I759b6f1b02db8...
404f84d417ceed0f47e51d2c4f933a6dee96dca5 authored about 3 years ago by Benjamin Peterson <[email protected]>This is a clean port of CL 356533 from go/types to types2.
Fixes #49043.
Change-Id: If389b94ec...
99fad12e4788fdf67e49dadd16571238f935b408 authored about 3 years ago by Robert Griesemer <[email protected]>This is a clean port of CL 356490 from go/types to types2.
Fixes #48703.
Fixes #48974.
Change-...
a73c6cf762560b458eb938e4461cd8debc479fd9 authored about 3 years ago by Robert Griesemer <[email protected]>
This is an essentially clean port of CL 356489 from go/types to types2,
with minor adjustments d...
This CL addresses the 2nd part of the issue below.
- For types2, now use the same error message...
254c497e5c5628be115b966808d6e76d335313a3 authored about 3 years ago by Robert Griesemer <[email protected]>
CL 322350 changed how to take address of assembly functions, using
abi.FuncPCABI0 intrinsic. But...
In CL 354670, I copied some existing rules for convenience but forgot
to update the last rule wh...
Fixes #48709
Change-Id: Ia6376a2f792946498d6565a53605b3e6c985ea7c
Reviewed-on: https://go-revie...
(Temporarily, until they can be fixed.)
For #49046
For #49047
Change-Id: Ib580a5e45a0955aabdfc...
6294207a1c79e318124850155c7b6c23997c8c13 authored about 3 years ago by Bryan C. Mills <[email protected]>
On riscv64, the JAL instruction is only capable of reaching +/-1MB. In the case where
a single f...
This reverts CL 354670.
Reason for revert: broke make.bash with GOAMD64=v3.
Fixes #49061.
Cha...
b0351bfd7d5f0d367c27aa07789b2e6317442ece authored about 3 years ago by Daniel Martí <[email protected]>Fixes #37595
Change-Id: I83e5f6105748a0a9238322a4f7ec4b0bbf61a263
Reviewed-on: https://go-revie...
ticks might be same after tick division, although the real cputicks
is linear growth
Fixes #467...
ee92daae25029882979eb694bd7246491e364d3c authored about 3 years ago by Meng Zhuo <[email protected]>
The branch test only takes a few seconds so enable it in short mode. Also fix a
typo that curren...
Even after type-checking the RHS of a type declaration, we may not yet
be able to expand, if the...
Rather than using Checker.later in newNamed, add a Checker.defTypes
field to track named types t...
Add constraint type inference for type instances, to be consistent with
inference of function va...
The URLs for RFC 3986 have been changed from:
http://tools.ietf.org/html/rfc3986
to:
https:/...
When (*bufio.Writer).ReadFrom is called with a partially filled buffer,
fill out and flush the b...
It was noticed through some other investigation that BitLen32
was not generating the best code a...
This change removes the js.Wrapper interface for performance reasons.
See proposal #44006 for de...
This changes Go, to remove this unused field on the `Tree` struct. Which seems to replaced by th...
267abbe3ba9dda96a8694e8aad8892e3ba2be60e authored about 3 years ago by Gusted <[email protected]>Fixes #49027
Change-Id: I4520b5c754027bfffbc5cd92c9c27002b248c99a
Reviewed-on: https://go-revie...
Allowing eliminates a class of possible misuse of unsafe.Pointer, and
allow callers to migrate f...
Updates #40592
Change-Id: I16252dd57aceb5c49ddc11d8c12c601ca87ca902
Reviewed-on: https://go-rev...
The doc mentions that "UnsafeAddr returns a _pointer_ to v's data", but
it returns a uintptr ins...
Fixes test breakage caused by CL 355691.
Change-Id: I85fcb1491dc39c45342f4cae91fdfda6aedecd1a
R...
encoding/binary benchmark on my laptop:
name old time/op new time/op ...
The compiler refuses to do spectre mitigation on 386, but the
assembler doesn't. Fix that.
Fixe...
c091767d87b7a6ef6016286bc0fae8add59b92de authored about 3 years ago by Keith Randall <[email protected]>
After CL 349012 and CL 350911, we can fully handle these
labeled statements, so we can allow the...
This CL avoids a useless follow-on error (that gets reported before the
actual error due to sour...
The respective issue was fixed in types2 with CL 356189;
and the problem didn't exist in go/type...
Make sure that an embedded field like "MyStruct[T]" works and can be
referenced via the name MyS...