Skip to content

Commit

Permalink
spelling: address
Browse files Browse the repository at this point in the history
Signed-off-by: Josh Soref <[email protected]>
  • Loading branch information
jsoref committed Dec 16, 2022
1 parent 91ff295 commit b97dc3a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion runtime/vm/os_thread.cc
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ void OSThread::SetName(const char* name) {
set_name(name);
}

// Disable AdressSanitizer and SafeStack transformation on this function. In
// Disable AddressSanitizer and SafeStack transformation on this function. In
// particular, taking the address of a local gives an address on the stack
// instead of an address in the shadow memory (AddressSanitizer) or the safe
// stack (SafeStack).
Expand Down
2 changes: 1 addition & 1 deletion runtime/vm/stack_frame_arm.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ COMPILE_ASSERT(kAbiPreservedFpuRegCount == 4);
// For FFI native -> Dart callbacks, the number of stack slots between arguments
// passed on stack and arguments saved in callback prologue.
//
// 2 = return adddress (1) + saved frame pointer (1).
// 2 = return address (1) + saved frame pointer (1).
//
// If NativeCallbackTrampolines::Enabled(), then
// kNativeCallbackTrampolineStackDelta must be added as well.
Expand Down
2 changes: 1 addition & 1 deletion runtime/vm/stack_frame_arm64.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ COMPILE_ASSERT(kAbiPreservedFpuRegCount == 8);
// For FFI native -> Dart callbacks, this is the number of stack slots between
// arguments passed on stack and arguments saved in callback prologue.
//
// 2 = return adddress (1) + saved frame pointer (1).
// 2 = return address (1) + saved frame pointer (1).
//
// If NativeCallbackTrampolines::Enabled(), then
// kNativeCallbackTrampolineStackDelta must be added as well.
Expand Down
2 changes: 1 addition & 1 deletion runtime/vm/stack_frame_riscv.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ COMPILE_ASSERT(kAbiPreservedFpuRegCount == 12);
// For FFI native -> Dart callbacks, this is the number of stack slots between
// arguments passed on stack and arguments saved in callback prologue.
//
// 2 = return adddress (1) + saved frame pointer (1).
// 2 = return address (1) + saved frame pointer (1).
//
// If NativeCallbackTrampolines::Enabled(), then
// kNativeCallbackTrampolineStackDelta must be added as well.
Expand Down
2 changes: 1 addition & 1 deletion runtime/vm/stack_frame_x64.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ static const int kExitLinkSlotFromEntryFp = -11;
#endif // defined(DART_TARGET_OS_WINDOWS)

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

0 comments on commit b97dc3a

Please sign in to comment.