Commit 0d11b588 authored by iposva@chromium.org's avatar iposva@chromium.org

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
parent ff3433d0
......@@ -68,7 +68,7 @@ class Bootstrapper : public AllStatic {
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);
......
......@@ -461,9 +461,9 @@ void ShellThread::Run() {
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 @@ void ShellThread::Run() {
Handle<String> str = Shell::ReadFile(filename);
Shell::ExecuteString(str, String::New(filename), false, false);
}
thread_context.Dispose();
}
......
......@@ -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
......
......@@ -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()) {
......
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