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

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

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/code-stubs-hydrogen.cc ('k') | src/compilation-cache.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 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 #ifndef V8_COMPILATION_CACHE_H_ 5 #ifndef V8_COMPILATION_CACHE_H_
6 #define V8_COMPILATION_CACHE_H_ 6 #define V8_COMPILATION_CACHE_H_
7 7
8 #include "src/allocation.h"
9 #include "src/handles.h"
10 #include "src/objects.h"
11
8 namespace v8 { 12 namespace v8 {
9 namespace internal { 13 namespace internal {
10 14
11 // The compilation cache consists of several generational sub-caches which uses 15 // The compilation cache consists of several generational sub-caches which uses
12 // this class as a base class. A sub-cache contains a compilation cache tables 16 // this class as a base class. A sub-cache contains a compilation cache tables
13 // for each generation of the sub-cache. Since the same source code string has 17 // for each generation of the sub-cache. Since the same source code string has
14 // different compiled code for scripts and evals, we use separate sub-caches 18 // different compiled code for scripts and evals, we use separate sub-caches
15 // for different compilation modes, to avoid retrieving the wrong result. 19 // for different compilation modes, to avoid retrieving the wrong result.
16 class CompilationSubCache { 20 class CompilationSubCache {
17 public: 21 public:
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 232
229 friend class Isolate; 233 friend class Isolate;
230 234
231 DISALLOW_COPY_AND_ASSIGN(CompilationCache); 235 DISALLOW_COPY_AND_ASSIGN(CompilationCache);
232 }; 236 };
233 237
234 238
235 } } // namespace v8::internal 239 } } // namespace v8::internal
236 240
237 #endif // V8_COMPILATION_CACHE_H_ 241 #endif // V8_COMPILATION_CACHE_H_
OLDNEW
« no previous file with comments | « src/code-stubs-hydrogen.cc ('k') | src/compilation-cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698