File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff 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).
Original file line number Diff line number Diff 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.
Original file line number Diff line number Diff 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.
Original file line number Diff line number Diff 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.
Original file line number Diff line number Diff 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//
You can’t perform that action at this time.
0 commit comments