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

Side by Side Diff: src/compiler/node-cache.cc

Issue 2416243002: Make unittests work in component build (Closed)
Patch Set: updates Created 4 years, 2 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/compiler/node.h ('k') | src/compiler/node-matchers.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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/compiler/node-cache.h" 5 #include "src/compiler/node-cache.h"
6 6
7 #include <cstring> 7 #include <cstring>
8 8
9 #include "src/globals.h"
9 #include "src/zone/zone-containers.h" 10 #include "src/zone/zone-containers.h"
10 #include "src/zone/zone.h" 11 #include "src/zone/zone.h"
11 12
12 namespace v8 { 13 namespace v8 {
13 namespace internal { 14 namespace internal {
14 namespace compiler { 15 namespace compiler {
15 16
16 namespace { 17 namespace {
17 18
18 enum { kInitialSize = 16u, kLinearProbe = 5u }; 19 enum { kInitialSize = 16u, kLinearProbe = 5u };
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 for (size_t i = 0; i < size_ + kLinearProbe; i++) { 105 for (size_t i = 0; i < size_ + kLinearProbe; i++) {
105 if (entries_[i].value_) nodes->push_back(entries_[i].value_); 106 if (entries_[i].value_) nodes->push_back(entries_[i].value_);
106 } 107 }
107 } 108 }
108 } 109 }
109 110
110 111
111 // ----------------------------------------------------------------------------- 112 // -----------------------------------------------------------------------------
112 // Instantiations 113 // Instantiations
113 114
115 template class V8_EXPORT_PRIVATE NodeCache<int32_t>;
116 template class V8_EXPORT_PRIVATE NodeCache<int64_t>;
114 117
115 template class NodeCache<int32_t>; 118 template class V8_EXPORT_PRIVATE NodeCache<RelocInt32Key>;
116 template class NodeCache<int64_t>; 119 template class V8_EXPORT_PRIVATE NodeCache<RelocInt64Key>;
117
118 template class NodeCache<RelocInt32Key>;
119 template class NodeCache<RelocInt64Key>;
120 120
121 } // namespace compiler 121 } // namespace compiler
122 } // namespace internal 122 } // namespace internal
123 } // namespace v8 123 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/node.h ('k') | src/compiler/node-matchers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698