Commit cabf441d authored by David Sanders's avatar David Sanders Committed by V8 LUCI CQ

Fix typos, intial* -> initial*

Change-Id: Ia5066069304ae2eee442cd3e224c0c0c0816fd75
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3543179Reviewed-by: 's avatarToon Verwaest <verwaest@chromium.org>
Commit-Queue: Toon Verwaest <verwaest@chromium.org>
Cr-Commit-Position: refs/heads/main@{#79574}
parent aca727f6
...@@ -94,6 +94,7 @@ Daniel Shelton <d1.shelton@samsung.com> ...@@ -94,6 +94,7 @@ Daniel Shelton <d1.shelton@samsung.com>
Darshan Sen <raisinten@gmail.com> Darshan Sen <raisinten@gmail.com>
David Carlier <devnexen@gmail.com> David Carlier <devnexen@gmail.com>
David Manouchehri <david@davidmanouchehri.com> David Manouchehri <david@davidmanouchehri.com>
David Sanders <dsanders11@ucsbalum.com>
Deepak Mohan <hop2deep@gmail.com> Deepak Mohan <hop2deep@gmail.com>
Deon Dior <diaoyuanjie@gmail.com> Deon Dior <diaoyuanjie@gmail.com>
Derek Tu <derek.t@rioslab.org> Derek Tu <derek.t@rioslab.org>
......
...@@ -4035,7 +4035,7 @@ void CodeGenerator::AssembleConstructFrame() { ...@@ -4035,7 +4035,7 @@ void CodeGenerator::AssembleConstructFrame() {
} else { } else {
StackFrame::Type type = info()->GetOutputStackFrameType(); StackFrame::Type type = info()->GetOutputStackFrameType();
// TODO(mbrandy): Detect cases where ip is the entrypoint (for // TODO(mbrandy): Detect cases where ip is the entrypoint (for
// efficient intialization of the constant pool pointer register). // efficient initialization of the constant pool pointer register).
__ StubPrologue(type); __ StubPrologue(type);
#if V8_ENABLE_WEBASSEMBLY #if V8_ENABLE_WEBASSEMBLY
if (call_descriptor->IsWasmFunctionCall() || if (call_descriptor->IsWasmFunctionCall() ||
......
...@@ -3400,7 +3400,7 @@ void CodeGenerator::AssembleConstructFrame() { ...@@ -3400,7 +3400,7 @@ void CodeGenerator::AssembleConstructFrame() {
} else { } else {
StackFrame::Type type = info()->GetOutputStackFrameType(); StackFrame::Type type = info()->GetOutputStackFrameType();
// TODO(mbrandy): Detect cases where ip is the entrypoint (for // TODO(mbrandy): Detect cases where ip is the entrypoint (for
// efficient intialization of the constant pool pointer register). // efficient initialization of the constant pool pointer register).
__ StubPrologue(type); __ StubPrologue(type);
#if V8_ENABLE_WEBASSEMBLY #if V8_ENABLE_WEBASSEMBLY
if (call_descriptor->IsWasmFunctionCall() || if (call_descriptor->IsWasmFunctionCall() ||
......
...@@ -69,7 +69,7 @@ void AdvanceStartupState(V8StartupState expected_next_state) { ...@@ -69,7 +69,7 @@ void AdvanceStartupState(V8StartupState expected_next_state) {
// isolate->Dispose(); // isolate->Dispose();
// v8::V8::Dispose(); // v8::V8::Dispose();
// v8::V8::DisposePlatform(); // v8::V8::DisposePlatform();
FATAL("Wrong intialization order: got %d expected %d!", FATAL("Wrong initialization order: got %d expected %d!",
static_cast<int>(current_state), static_cast<int>(next_state)); static_cast<int>(current_state), static_cast<int>(next_state));
} }
if (!v8_startup_state_.compare_exchange_strong(current_state, next_state)) { if (!v8_startup_state_.compare_exchange_strong(current_state, next_state)) {
......
...@@ -126,7 +126,7 @@ void CheckCalleeSavedRegisters(const RegisterState& register_state) { ...@@ -126,7 +126,7 @@ void CheckCalleeSavedRegisters(const RegisterState& register_state) {
static const void* fake_stack_base = nullptr; static const void* fake_stack_base = nullptr;
TEST(Unwind_BadState_Fail_CodePagesAPI) { TEST(Unwind_BadState_Fail_CodePagesAPI) {
JSEntryStubs entry_stubs; // Fields are intialized to nullptr. JSEntryStubs entry_stubs; // Fields are initialized to nullptr.
RegisterState register_state; RegisterState register_state;
size_t pages_length = 0; size_t pages_length = 0;
MemoryRange* code_pages = nullptr; MemoryRange* code_pages = nullptr;
......
...@@ -186,7 +186,7 @@ class TestingModuleBuilder { ...@@ -186,7 +186,7 @@ class TestingModuleBuilder {
memset(raw, 0, mem_size_); memset(raw, 0, mem_size_);
} }
// Pseudo-randomly intialize the memory. // Pseudo-randomly initialize the memory.
void RandomizeMemory(unsigned int seed = 88) { void RandomizeMemory(unsigned int seed = 88) {
byte* raw = raw_mem_start<byte>(); byte* raw = raw_mem_start<byte>();
byte* end = raw_mem_end<byte>(); byte* end = raw_mem_end<byte>();
......
...@@ -202,7 +202,7 @@ ...@@ -202,7 +202,7 @@
}()); }());
(function TestTDZInIntializers() { (function TestTDZInInitializers() {
'use strict'; 'use strict';
{ {
let {x, y = x} = {x : 42, y : 27}; let {x, y = x} = {x : 42, y : 27};
......
...@@ -434,7 +434,7 @@ function testShiftNonSmis() { ...@@ -434,7 +434,7 @@ function testShiftNonSmis() {
assertEquals(0x46536000, (neg_32 + neg_smi - 0.5) << 4); assertEquals(0x46536000, (neg_32 + neg_smi - 0.5) << 4);
assertEquals(-0x73594000, (neg_32 + neg_smi - 0.5) << 5); assertEquals(-0x73594000, (neg_32 + neg_smi - 0.5) << 5);
// End block A repeat 1 // End block A repeat 1
// Repeat block A with shift amounts in variables intialized with // Repeat block A with shift amounts in variables initialized with
// a constant. // a constant.
var zero = 0; var zero = 0;
var one = 1; var one = 1;
......
...@@ -443,7 +443,7 @@ function testShiftNonSmis() { ...@@ -443,7 +443,7 @@ function testShiftNonSmis() {
assertEquals(0x46536000, (neg_32 + neg_smi - 0.5) << 4); assertEquals(0x46536000, (neg_32 + neg_smi - 0.5) << 4);
assertEquals(-0x73594000, (neg_32 + neg_smi - 0.5) << 5); assertEquals(-0x73594000, (neg_32 + neg_smi - 0.5) << 5);
// End block A repeat 1 // End block A repeat 1
// Repeat block A with shift amounts in variables intialized with // Repeat block A with shift amounts in variables initialized with
// a constant. // a constant.
var zero = 0; var zero = 0;
var one = 1; var one = 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment