Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(158)

Side by Side Diff: src/isolate.cc

Issue 2461002: - Begin removing [static] qualifier from methods in Bootstrapper. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/isolates/
Patch Set: Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/heap.cc ('k') | src/v8.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2006-2010 the V8 project authors. All rights reserved. 1 // Copyright 2006-2010 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 StackGuard::InitThread(lock); 113 StackGuard::InitThread(lock);
114 } 114 }
115 115
116 // Setup the object heap 116 // Setup the object heap
117 ASSERT(!Heap::HasBeenSetup()); 117 ASSERT(!Heap::HasBeenSetup());
118 if (!Heap::Setup(create_heap_objects)) { 118 if (!Heap::Setup(create_heap_objects)) {
119 V8::SetFatalError(); 119 V8::SetFatalError();
120 return false; 120 return false;
121 } 121 }
122 122
123 Bootstrapper::Initialize(create_heap_objects); 123 bootstrapper_->Initialize(create_heap_objects);
124 Builtins::Setup(create_heap_objects); 124 Builtins::Setup(create_heap_objects);
125 Top::Initialize(); 125 Top::Initialize();
126 126
127 if (FLAG_preemption) { 127 if (FLAG_preemption) {
128 v8::Locker locker; 128 v8::Locker locker;
129 v8::Locker::StartPreemption(100); 129 v8::Locker::StartPreemption(100);
130 } 130 }
131 131
132 #ifdef ENABLE_DEBUGGER_SUPPORT 132 #ifdef ENABLE_DEBUGGER_SUPPORT
133 Debug::Setup(create_heap_objects); 133 Debug::Setup(create_heap_objects);
(...skipping 23 matching lines...) Expand all
157 HandleScope scope; 157 HandleScope scope;
158 LOG(LogCodeObjects()); 158 LOG(LogCodeObjects());
159 LOG(LogCompiledFunctions()); 159 LOG(LogCompiledFunctions());
160 } 160 }
161 161
162 return true; 162 return true;
163 } 163 }
164 164
165 165
166 } } // namespace v8::internal 166 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/heap.cc ('k') | src/v8.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698