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

Side by Side Diff: src/compilation-dependencies.h

Issue 1297583002: Remove grab-bag includes of v8.h from several files. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_cleanup-includes-heap-1
Patch Set: Fix Windows compilation. 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/codegen.cc ('k') | src/compilation-dependencies.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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 #ifndef V8_DEPENDENCIES_H_ 5 #ifndef V8_DEPENDENCIES_H_
6 #define V8_DEPENDENCIES_H_ 6 #define V8_DEPENDENCIES_H_
7 7
8 #include "src/handles.h"
9 #include "src/objects.h"
10
8 namespace v8 { 11 namespace v8 {
9 namespace internal { 12 namespace internal {
10 13
11 // Collects dependencies for this compilation, e.g. assumptions about 14 // Collects dependencies for this compilation, e.g. assumptions about
12 // stable maps, constant globals, etc. 15 // stable maps, constant globals, etc.
13 class CompilationDependencies { 16 class CompilationDependencies {
14 public: 17 public:
15 CompilationDependencies(Isolate* isolate, Zone* zone) 18 CompilationDependencies(Isolate* isolate, Zone* zone)
16 : isolate_(isolate), 19 : isolate_(isolate),
17 zone_(zone), 20 zone_(zone),
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 bool aborted_; 58 bool aborted_;
56 ZoneList<Handle<HeapObject> >* groups_[DependentCode::kGroupCount]; 59 ZoneList<Handle<HeapObject> >* groups_[DependentCode::kGroupCount];
57 60
58 DependentCode* Get(Handle<Object> object); 61 DependentCode* Get(Handle<Object> object);
59 void Set(Handle<Object> object, Handle<DependentCode> dep); 62 void Set(Handle<Object> object, Handle<DependentCode> dep);
60 }; 63 };
61 } 64 }
62 } // namespace v8::internal 65 } // namespace v8::internal
63 66
64 #endif // V8_DEPENDENCIES_H_ 67 #endif // V8_DEPENDENCIES_H_
OLDNEW
« no previous file with comments | « src/codegen.cc ('k') | src/compilation-dependencies.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698