From b97dc3a9d54fb4c30d26e1ef0354fbe957f94e4c Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 12 Dec 2022 22:47:18 -0500 Subject: [PATCH] spelling: address Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- runtime/vm/os_thread.cc | 2 +- runtime/vm/stack_frame_arm.h | 2 +- runtime/vm/stack_frame_arm64.h | 2 +- runtime/vm/stack_frame_riscv.h | 2 +- runtime/vm/stack_frame_x64.h | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/runtime/vm/os_thread.cc b/runtime/vm/os_thread.cc index d190c80eff7e..21cc195283fe 100644 --- a/runtime/vm/os_thread.cc +++ b/runtime/vm/os_thread.cc @@ -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). diff --git a/runtime/vm/stack_frame_arm.h b/runtime/vm/stack_frame_arm.h index 8b5a5d36132e..afdc95167d79 100644 --- a/runtime/vm/stack_frame_arm.h +++ b/runtime/vm/stack_frame_arm.h @@ -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. diff --git a/runtime/vm/stack_frame_arm64.h b/runtime/vm/stack_frame_arm64.h index a6d1e9d8e9d2..276a2b949ca1 100644 --- a/runtime/vm/stack_frame_arm64.h +++ b/runtime/vm/stack_frame_arm64.h @@ -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. diff --git a/runtime/vm/stack_frame_riscv.h b/runtime/vm/stack_frame_riscv.h index 58b31a69b0c0..ed0a084d461f 100644 --- a/runtime/vm/stack_frame_riscv.h +++ b/runtime/vm/stack_frame_riscv.h @@ -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. diff --git a/runtime/vm/stack_frame_x64.h b/runtime/vm/stack_frame_x64.h index d924db1ccd37..ba71cedb6056 100644 --- a/runtime/vm/stack_frame_x64.h +++ b/runtime/vm/stack_frame_x64.h @@ -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. //