From 0d11b5885ad732c150d386b7d443695fa4807735 Mon Sep 17 00:00:00 2001 From: "iposva@chromium.org" Date: Mon, 26 Jan 2009 18:23:01 +0000 Subject: [PATCH] Fix white space issues. Review URL: http://codereview.chromium.org/18806 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1163 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/bootstrapper.h | 2 +- src/d8.cc | 6 +++--- src/execution.cc | 2 +- src/v8threads.cc | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/bootstrapper.h b/src/bootstrapper.h index ac4dd8d19..e2883dc0f 100644 --- a/src/bootstrapper.h +++ b/src/bootstrapper.h @@ -68,7 +68,7 @@ class Bootstrapper : public AllStatic { class FixupFlagsIsPCRelative: public BitField {}; class FixupFlagsUseCodeObject: public BitField {}; class FixupFlagsArgumentsCount: public BitField {}; - + // Support for thread preemption. static int ArchiveSpacePerThread(); static char* ArchiveState(char* to); diff --git a/src/d8.cc b/src/d8.cc index 8407e7a9f..e026d28f6 100644 --- a/src/d8.cc +++ b/src/d8.cc @@ -461,9 +461,9 @@ void ShellThread::Run() { Persistent thread_context = Context::New(NULL, global_template); thread_context->SetSecurityToken(Undefined()); - + Context::Scope context_scope(thread_context); - + char* ptr = const_cast(files_.start()); while ((ptr != NULL) && (*ptr != '\0')) { // For each newline-separated line. @@ -478,7 +478,7 @@ void ShellThread::Run() { Handle str = Shell::ReadFile(filename); Shell::ExecuteString(str, String::New(filename), false, false); } - + thread_context.Dispose(); } diff --git a/src/execution.cc b/src/execution.cc index 95f781e79..f721cbd68 100644 --- a/src/execution.cc +++ b/src/execution.cc @@ -198,7 +198,7 @@ StackGuard::StackGuard() { // Initial StackGuard is being set. We will set the stack limits based on // the current stack pointer allowing the stack to grow kLimitSize from // here. - + // Ensure that either the stack limits are unset (kIllegalLimit) or that // they indicate a pending interruption. The interrupt limit will be // temporarily reset through the code below and reestablished if the diff --git a/src/v8threads.cc b/src/v8threads.cc index dd36c43ac..df0095d8e 100644 --- a/src/v8threads.cc +++ b/src/v8threads.cc @@ -120,11 +120,11 @@ bool ThreadManager::RestoreThread() { Thread::SetThreadLocal(thread_state_key, NULL); return true; } - + // Make sure that the preemption thread cannot modify the thread state while // it is being archived or restored. ExecutionAccess access; - + // If there is another thread that was lazily archived then we have to really // archive it now. if (lazily_archived_thread_.IsValid()) { -- 2.34.1