Reviewers: Mads Ager, Message: TBR=ager
Description: Fix white space issues. Please review this at http://codereview.chromium.org/18806 SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/bootstrapper.h M src/d8.cc M src/execution.cc M src/v8threads.cc Index: src/bootstrapper.h =================================================================== --- src/bootstrapper.h (revision 1161) +++ src/bootstrapper.h (working copy) @@ -68,7 +68,7 @@ class FixupFlagsIsPCRelative: public BitField<bool, 0, 1> {}; class FixupFlagsUseCodeObject: public BitField<bool, 1, 1> {}; class FixupFlagsArgumentsCount: public BitField<uint32_t, 2, 32-2> {}; - + // Support for thread preemption. static int ArchiveSpacePerThread(); static char* ArchiveState(char* to); Index: src/v8threads.cc =================================================================== --- src/v8threads.cc (revision 1161) +++ src/v8threads.cc (working copy) @@ -120,11 +120,11 @@ 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()) { Index: src/d8.cc =================================================================== --- src/d8.cc (revision 1161) +++ src/d8.cc (working copy) @@ -461,9 +461,9 @@ Persistent<Context> thread_context = Context::New(NULL, global_template); thread_context->SetSecurityToken(Undefined()); - + Context::Scope context_scope(thread_context); - + char* ptr = const_cast<char*>(files_.start()); while ((ptr != NULL) && (*ptr != '\0')) { // For each newline-separated line. @@ -478,7 +478,7 @@ Handle<String> str = Shell::ReadFile(filename); Shell::ExecuteString(str, String::New(filename), false, false); } - + thread_context.Dispose(); } Index: src/execution.cc =================================================================== --- src/execution.cc (revision 1161) +++ src/execution.cc (working copy) @@ -198,7 +198,7 @@ // 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 --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
