Author: [email protected]
Date: Mon Jan 26 10:23:01 2009
New Revision: 1163
Modified:
branches/bleeding_edge/src/bootstrapper.h
branches/bleeding_edge/src/d8.cc
branches/bleeding_edge/src/execution.cc
branches/bleeding_edge/src/v8threads.cc
Log:
Fix white space issues.
Review URL: http://codereview.chromium.org/18806
Modified: branches/bleeding_edge/src/bootstrapper.h
==============================================================================
--- branches/bleeding_edge/src/bootstrapper.h (original)
+++ branches/bleeding_edge/src/bootstrapper.h Mon Jan 26 10:23:01 2009
@@ -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);
Modified: branches/bleeding_edge/src/d8.cc
==============================================================================
--- branches/bleeding_edge/src/d8.cc (original)
+++ branches/bleeding_edge/src/d8.cc Mon Jan 26 10:23:01 2009
@@ -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();
}
Modified: branches/bleeding_edge/src/execution.cc
==============================================================================
--- branches/bleeding_edge/src/execution.cc (original)
+++ branches/bleeding_edge/src/execution.cc Mon Jan 26 10:23:01 2009
@@ -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
Modified: branches/bleeding_edge/src/v8threads.cc
==============================================================================
--- branches/bleeding_edge/src/v8threads.cc (original)
+++ branches/bleeding_edge/src/v8threads.cc Mon Jan 26 10:23:01 2009
@@ -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()) {
--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---