From 48f239e087d5f082b20b9980e6a2de2ef58562d3 Mon Sep 17 00:00:00 2001 From: "erik.corry@gmail.com" Date: Mon, 16 Jan 2012 09:46:21 +0000 Subject: [PATCH] Spellling mistakes. Review URL: http://codereview.chromium.org/9123031 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10403 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/api.cc | 2 +- src/arm/code-stubs-arm.cc | 6 +++--- src/compiler.cc | 2 +- src/debug.cc | 2 +- src/execution.cc | 4 ++-- src/execution.h | 2 +- src/jsregexp.cc | 2 +- src/mips/code-stubs-mips.cc | 6 +++--- src/platform.h | 2 +- 9 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/api.cc b/src/api.cc index a07cc840f..bac306930 100644 --- a/src/api.cc +++ b/src/api.cc @@ -5560,7 +5560,7 @@ void Debug::DisableAgent() { void Debug::ProcessDebugMessages() { - i::Execution::ProcessDebugMesssages(true); + i::Execution::ProcessDebugMessages(true); } Local Debug::GetDebugContext() { diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc index ff1f29dac..15ef9bcf9 100644 --- a/src/arm/code-stubs-arm.cc +++ b/src/arm/code-stubs-arm.cc @@ -717,7 +717,7 @@ void FloatingPointHelper::ConvertIntToDouble(MacroAssembler* masm, // Get the absolute value of the object (as an unsigned integer). __ rsb(int_scratch, int_scratch, Operand::Zero(), SetCC, mi); - // Get mantisssa[51:20]. + // Get mantissa[51:20]. // Get the position of the first set bit. __ CountLeadingZeros(dst1, int_scratch, scratch2); @@ -951,7 +951,7 @@ void FloatingPointHelper::DoubleIs32BitInteger(MacroAssembler* masm, // non zero bits left. So we need the (30 - exponent) last bits of the // 31 higher bits of the mantissa to be null. // Because bits [21:0] are null, we can check instead that the - // (32 - exponent) last bits of the 32 higher bits of the mantisssa are null. + // (32 - exponent) last bits of the 32 higher bits of the mantissa are null. // Get the 32 higher bits of the mantissa in dst. __ Ubfx(dst, @@ -4510,7 +4510,7 @@ void ArgumentsAccessStub::GenerateNewNonStrictFast(MacroAssembler* masm) { __ Ret(); // Do the runtime call to allocate the arguments object. - // r2 = argument count (taggged) + // r2 = argument count (tagged) __ bind(&runtime); __ str(r2, MemOperand(sp, 0 * kPointerSize)); // Patch argument count. __ TailCallRuntime(Runtime::kNewArgumentsFast, 3, 1); diff --git a/src/compiler.cc b/src/compiler.cc index d2a4a0bfd..362273e27 100644 --- a/src/compiler.cc +++ b/src/compiler.cc @@ -628,7 +628,7 @@ bool Compiler::CompileLazy(CompilationInfo* info) { // scope info. Please note, that the order of the shared function // info initialization is important since set_scope_info might // trigger a GC, causing the ASSERT below to be invalid if the code - // was flushed. By settting the code object last we avoid this. + // was flushed. By setting the code object last we avoid this. Handle scope_info = ScopeInfo::Create(info->scope()); shared->set_scope_info(*scope_info); shared->set_code(*code); diff --git a/src/debug.cc b/src/debug.cc index 7ac834647..ffba7821c 100644 --- a/src/debug.cc +++ b/src/debug.cc @@ -2855,7 +2855,7 @@ void Debugger::NotifyMessageHandler(v8::DebugEvent event, command.Dispose(); // Return from debug event processing if either the VM is put into the - // runnning state (through a continue command) or auto continue is active + // running state (through a continue command) or auto continue is active // and there are no more commands queued. if (running && !HasCommands()) { return; diff --git a/src/execution.cc b/src/execution.cc index b16e7396a..125241cee 100644 --- a/src/execution.cc +++ b/src/execution.cc @@ -845,13 +845,13 @@ Object* Execution::DebugBreakHelper() { // Clear the debug break request flag. isolate->stack_guard()->Continue(DEBUGBREAK); - ProcessDebugMesssages(debug_command_only); + ProcessDebugMessages(debug_command_only); // Return to continue execution. return isolate->heap()->undefined_value(); } -void Execution::ProcessDebugMesssages(bool debug_command_only) { +void Execution::ProcessDebugMessages(bool debug_command_only) { Isolate* isolate = Isolate::Current(); // Clear the debug command request flag. isolate->stack_guard()->Continue(DEBUGCOMMAND); diff --git a/src/execution.h b/src/execution.h index f2d17d079..014736ee8 100644 --- a/src/execution.h +++ b/src/execution.h @@ -136,7 +136,7 @@ class Execution : public AllStatic { Handle is_global); #ifdef ENABLE_DEBUGGER_SUPPORT static Object* DebugBreakHelper(); - static void ProcessDebugMesssages(bool debug_command_only); + static void ProcessDebugMessages(bool debug_command_only); #endif // If the stack guard is triggered, but it is not an actual diff --git a/src/jsregexp.cc b/src/jsregexp.cc index 18ff2570e..15b80d92c 100644 --- a/src/jsregexp.cc +++ b/src/jsregexp.cc @@ -2636,7 +2636,7 @@ void TextNode::MakeCaseIndependent(bool is_ascii) { TextElement elm = elms_->at(i); if (elm.type == TextElement::CHAR_CLASS) { RegExpCharacterClass* cc = elm.data.u_char_class; - // None of the standard character classses is different in the case + // None of the standard character classes is different in the case // independent case and it slows us down if we don't know that. if (cc->is_standard()) continue; ZoneList* ranges = cc->ranges(); diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc index f021d166e..57091ef60 100644 --- a/src/mips/code-stubs-mips.cc +++ b/src/mips/code-stubs-mips.cc @@ -726,7 +726,7 @@ void FloatingPointHelper::ConvertIntToDouble(MacroAssembler* masm, __ Subu(int_scratch, zero_reg, int_scratch); __ bind(&skip_sub); - // Get mantisssa[51:20]. + // Get mantissa[51:20]. // Get the position of the first set bit. __ clz(dst1, int_scratch); @@ -971,7 +971,7 @@ void FloatingPointHelper::DoubleIs32BitInteger(MacroAssembler* masm, // non zero bits left. So we need the (30 - exponent) last bits of the // 31 higher bits of the mantissa to be null. // Because bits [21:0] are null, we can check instead that the - // (32 - exponent) last bits of the 32 higher bits of the mantisssa are null. + // (32 - exponent) last bits of the 32 higher bits of the mantissa are null. // Get the 32 higher bits of the mantissa in dst. __ Ext(dst, @@ -4699,7 +4699,7 @@ void ArgumentsAccessStub::GenerateNewNonStrictFast(MacroAssembler* masm) { __ Ret(); // Do the runtime call to allocate the arguments object. - // a2 = argument count (taggged) + // a2 = argument count (tagged) __ bind(&runtime); __ sw(a2, MemOperand(sp, 0 * kPointerSize)); // Patch argument count. __ TailCallRuntime(Runtime::kNewArgumentsFast, 3, 1); diff --git a/src/platform.h b/src/platform.h index e93a0543e..fc12df2d7 100644 --- a/src/platform.h +++ b/src/platform.h @@ -553,7 +553,7 @@ class Semaphore { virtual void Wait() = 0; // Suspends the calling thread until the counter is non zero or the timeout - // time has passsed. If timeout happens the return value is false and the + // time has passed. If timeout happens the return value is false and the // counter is unchanged. Otherwise the semaphore counter is decremented and // true is returned. The timeout value is specified in microseconds. virtual bool Wait(int timeout) = 0; -- 2.34.1