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

Side by Side Diff: src/type-cache.cc

Issue 1655833002: Remove the template magic from types.(h|cc), remove types-inl.h. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Undo whitespace change Created 4 years, 10 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/property-details.h ('k') | src/type-info.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 #include "src/type-cache.h" 5 #include "src/type-cache.h"
6 6
7 #include "src/base/lazy-instance.h" 7 #include "src/base/lazy-instance.h"
8 #include "src/types-inl.h"
9 8
10 namespace v8 { 9 namespace v8 {
11 namespace internal { 10 namespace internal {
12 11
13 namespace { 12 namespace {
14 13
15 base::LazyInstance<TypeCache>::type kCache = LAZY_INSTANCE_INITIALIZER; 14 base::LazyInstance<TypeCache>::type kCache = LAZY_INSTANCE_INITIALIZER;
16 15
17 } // namespace 16 } // namespace
18 17
19 18
20 // static 19 // static
21 TypeCache const& TypeCache::Get() { return kCache.Get(); } 20 TypeCache const& TypeCache::Get() { return kCache.Get(); }
22 21
23 } // namespace internal 22 } // namespace internal
24 } // namespace v8 23 } // namespace v8
OLDNEW
« no previous file with comments | « src/property-details.h ('k') | src/type-info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698