Skip to content

Commit 6426bf7

Browse files
dgryskiaykevl
authored andcommitted
make spellfix (+ manual tweak)
1 parent aed8116 commit 6426bf7

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

builder/cc1as.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ struct AssemblerInvocation {
107107
EmitDwarfUnwindType EmitDwarfUnwind;
108108

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

src/machine/machine_nrf.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ func handleSoftDeviceEvents() {
551551
return // TODO: nrf51 etc
552552
}
553553
if result != 0 {
554-
// Some error occured. The only possible error is
554+
// Some error occurred. The only possible error is
555555
// NRF_ERROR_NOT_FOUND, which means there are no more events.
556556
return
557557
}

src/machine/machine_rp2_spi.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ func (spi *SPI) tx(tx []byte) error {
309309

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

315315
// We didn't read any result values, which means the RX FIFO has likely

src/runtime/float.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ func fmaximumf(x, y float32) float32 {
7676
return maximumFloat32(x, y)
7777
}
7878

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

@@ -114,7 +114,7 @@ func minimumFloat[T float, I floatInt](x, y T, minPosNaN, magMask I) T {
114114
// We can turn a float into a signed-comparable value by reversing the comparison order of negative values.
115115
// We can reverse the order by inverting the bits.
116116
// This also ensures that positive zero compares greater than negative zero (as required by the spec).
117-
// Negative NaN values will compare less than any other value, so they require no special handling to propogate.
117+
// Negative NaN values will compare less than any other value, so they require no special handling to propagate.
118118
if xBits < 0 {
119119
xBits ^= magMask
120120
}
@@ -138,7 +138,7 @@ func maximumFloat[T float, I floatInt](x, y T, minPosNaN, magMask I) T {
138138
// We can turn a float into a signed-comparable value by reversing the comparison order of negative values.
139139
// We can reverse the order by inverting the bits.
140140
// This also ensures that positive zero compares greater than negative zero (as required by the spec).
141-
// Positive NaN values will compare greater than any other value, so they require no special handling to propogate.
141+
// Positive NaN values will compare greater than any other value, so they require no special handling to propagate.
142142
if xBits < 0 {
143143
xBits ^= magMask
144144
}

src/runtime/gc_precise.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ func (layout gcLayout) scan(start, len uintptr) {
9292
scanSimple(start, len, size*unsafe.Alignof(start), mask)
9393

9494
default:
95-
// The layout is stored seperately in a global object.
95+
// The layout is stored separately in a global object.
9696
// Extract the size and bitmap.
9797
layoutAddr := unsafe.Pointer(layout)
9898
size := *(*uintptr)(layoutAddr)

targets/rp2350.ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ MEMORY
66
/* RAM consists of 8 banks, SRAM0..SRAM7 with striped mapping. */
77
SRAM : ORIGIN = 0x20000000, LENGTH = 512k
88
/* Banks 8 and 9 use direct mapping which can be
9-
specailized for applications where predictable access time is beneficial.
9+
specialized for applications where predictable access time is beneficial.
1010
i.e: Separate stacks for core0 and core1. */
1111
SRAM4 : ORIGIN = 0x20080000, LENGTH = 4k
1212
SRAM5 : ORIGIN = 0x20081000, LENGTH = 4k

0 commit comments

Comments
 (0)