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

Side by Side Diff: src/v8threads.cc

Issue 1285183010: Remove grab-bag includes of v8.h from everywhere. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Minor stylistic issue. Created 5 years, 4 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
« no previous file with comments | « src/v8threads.h ('k') | src/version.h » ('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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/v8.h" 5 #include "src/v8threads.h"
6 6
7 #include "src/api.h" 7 #include "src/api.h"
8 #include "src/bootstrapper.h" 8 #include "src/bootstrapper.h"
9 #include "src/debug/debug.h" 9 #include "src/debug/debug.h"
10 #include "src/execution.h" 10 #include "src/execution.h"
11 #include "src/regexp/regexp-stack.h" 11 #include "src/regexp/regexp-stack.h"
12 #include "src/v8threads.h"
13 12
14 namespace v8 { 13 namespace v8 {
15 14
16 15
17 namespace { 16 namespace {
18 17
19 // Track whether this V8 instance has ever called v8::Locker. This allows the 18 // Track whether this V8 instance has ever called v8::Locker. This allows the
20 // API code to verify that the lock is always held when V8 is being entered. 19 // API code to verify that the lock is always held when V8 is being entered.
21 base::Atomic32 g_locker_was_ever_used_ = 0; 20 base::Atomic32 g_locker_was_ever_used_ = 0;
22 21
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 state = state->Next()) { 355 state = state->Next()) {
357 if (thread_id.Equals(state->id())) { 356 if (thread_id.Equals(state->id())) {
358 state->set_terminate_on_restore(true); 357 state->set_terminate_on_restore(true);
359 } 358 }
360 } 359 }
361 } 360 }
362 361
363 362
364 } // namespace internal 363 } // namespace internal
365 } // namespace v8 364 } // namespace v8
OLDNEW
« no previous file with comments | « src/v8threads.h ('k') | src/version.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698