Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion builder/cc1as.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ struct AssemblerInvocation {
EmitDwarfUnwindType EmitDwarfUnwind;

// Whether to emit compact-unwind for non-canonical entries.
// Note: maybe overriden by other constraints.
// Note: maybe overridden by other constraints.
LLVM_PREFERRED_TYPE(bool)
unsigned EmitCompactUnwindNonCanonical : 1;

Expand Down
2 changes: 1 addition & 1 deletion src/machine/machine_nrf.go
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ func handleSoftDeviceEvents() {
return // TODO: nrf51 etc
}
if result != 0 {
// Some error occured. The only possible error is
// Some error occurred. The only possible error is
// NRF_ERROR_NOT_FOUND, which means there are no more events.
return
}
Expand Down
2 changes: 1 addition & 1 deletion src/machine/machine_rp2_spi.go
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ func (spi *SPI) tx(tx []byte) error {

// Make sure the read buffer stays alive until this point (in the unlikely
// case the tx slice wasn't read after this function returns and a GC cycle
// happened inbetween).
// happened in the meantime).
keepAliveNoEscape(unsafe.Pointer(unsafe.SliceData(tx)))

// We didn't read any result values, which means the RX FIFO has likely
Expand Down
6 changes: 3 additions & 3 deletions src/runtime/float.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func fmaximumf(x, y float32) float32 {
return maximumFloat32(x, y)
}

// Create seperate copies of the function that are not exported.
// Create separate copies of the function that are not exported.
// This is necessary so that LLVM does not recognize them as builtins.
// If tests called the builtins, LLVM would just override them on most platforms.

Expand Down Expand Up @@ -114,7 +114,7 @@ func minimumFloat[T float, I floatInt](x, y T, minPosNaN, magMask I) T {
// We can turn a float into a signed-comparable value by reversing the comparison order of negative values.
// We can reverse the order by inverting the bits.
// This also ensures that positive zero compares greater than negative zero (as required by the spec).
// Negative NaN values will compare less than any other value, so they require no special handling to propogate.
// Negative NaN values will compare less than any other value, so they require no special handling to propagate.
if xBits < 0 {
xBits ^= magMask
}
Expand All @@ -138,7 +138,7 @@ func maximumFloat[T float, I floatInt](x, y T, minPosNaN, magMask I) T {
// We can turn a float into a signed-comparable value by reversing the comparison order of negative values.
// We can reverse the order by inverting the bits.
// This also ensures that positive zero compares greater than negative zero (as required by the spec).
// Positive NaN values will compare greater than any other value, so they require no special handling to propogate.
// Positive NaN values will compare greater than any other value, so they require no special handling to propagate.
if xBits < 0 {
xBits ^= magMask
}
Expand Down
2 changes: 1 addition & 1 deletion src/runtime/gc_precise.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func (layout gcLayout) scan(start, len uintptr) {
scanSimple(start, len, size*unsafe.Alignof(start), mask)

default:
// The layout is stored seperately in a global object.
// The layout is stored separately in a global object.
// Extract the size and bitmap.
layoutAddr := unsafe.Pointer(layout)
size := *(*uintptr)(layoutAddr)
Expand Down
2 changes: 1 addition & 1 deletion targets/rp2350.ld
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ MEMORY
/* RAM consists of 8 banks, SRAM0..SRAM7 with striped mapping. */
SRAM : ORIGIN = 0x20000000, LENGTH = 512k
/* Banks 8 and 9 use direct mapping which can be
specailized for applications where predictable access time is beneficial.
specialized for applications where predictable access time is beneficial.
i.e: Separate stacks for core0 and core1. */
SRAM4 : ORIGIN = 0x20080000, LENGTH = 4k
SRAM5 : ORIGIN = 0x20081000, LENGTH = 4k
Expand Down
Loading