Skip to content

Commit b97dc3a

Browse files
committed
spelling: address
Signed-off-by: Josh Soref <[email protected]>
1 parent 91ff295 commit b97dc3a

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

runtime/vm/os_thread.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ void OSThread::SetName(const char* name) {
9696
set_name(name);
9797
}
9898

99-
// Disable AdressSanitizer and SafeStack transformation on this function. In
99+
// Disable AddressSanitizer and SafeStack transformation on this function. In
100100
// particular, taking the address of a local gives an address on the stack
101101
// instead of an address in the shadow memory (AddressSanitizer) or the safe
102102
// stack (SafeStack).

runtime/vm/stack_frame_arm.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ COMPILE_ASSERT(kAbiPreservedFpuRegCount == 4);
6262
// For FFI native -> Dart callbacks, the number of stack slots between arguments
6363
// passed on stack and arguments saved in callback prologue.
6464
//
65-
// 2 = return adddress (1) + saved frame pointer (1).
65+
// 2 = return address (1) + saved frame pointer (1).
6666
//
6767
// If NativeCallbackTrampolines::Enabled(), then
6868
// kNativeCallbackTrampolineStackDelta must be added as well.

runtime/vm/stack_frame_arm64.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ COMPILE_ASSERT(kAbiPreservedFpuRegCount == 8);
6161
// For FFI native -> Dart callbacks, this is the number of stack slots between
6262
// arguments passed on stack and arguments saved in callback prologue.
6363
//
64-
// 2 = return adddress (1) + saved frame pointer (1).
64+
// 2 = return address (1) + saved frame pointer (1).
6565
//
6666
// If NativeCallbackTrampolines::Enabled(), then
6767
// kNativeCallbackTrampolineStackDelta must be added as well.

runtime/vm/stack_frame_riscv.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ COMPILE_ASSERT(kAbiPreservedFpuRegCount == 12);
6060
// For FFI native -> Dart callbacks, this is the number of stack slots between
6161
// arguments passed on stack and arguments saved in callback prologue.
6262
//
63-
// 2 = return adddress (1) + saved frame pointer (1).
63+
// 2 = return address (1) + saved frame pointer (1).
6464
//
6565
// If NativeCallbackTrampolines::Enabled(), then
6666
// kNativeCallbackTrampolineStackDelta must be added as well.

runtime/vm/stack_frame_x64.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ static const int kExitLinkSlotFromEntryFp = -11;
5959
#endif // defined(DART_TARGET_OS_WINDOWS)
6060

6161
// For FFI native -> Dart callbacks, the number of stack slots between arguments
62-
// passed on stack and arguments saved in callback prologue. 2 = return adddress
62+
// passed on stack and arguments saved in callback prologue. 2 = return address
6363
// (1) + saved frame pointer (1). Also add slots for the shadow space, if
6464
// present.
6565
//

0 commit comments

Comments
 (0)