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

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

Issue 1322883002: Make isolate.h usable without objects-inl.h header. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_cleanup-includes-frames-2
Patch Set: Rebased. Created 5 years, 3 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.cc ('k') | src/compiler/source-position.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 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/common-node-cache.h" 5 #include "src/compiler/common-node-cache.h"
6 6
7 #include "src/assembler.h" 7 #include "src/assembler.h"
8 #include "src/compiler/node.h" 8 #include "src/compiler/node.h"
9 #include "src/objects-inl.h" // TODO(mstarzinger): Temporary cycle breaker!
10 9
11 namespace v8 { 10 namespace v8 {
12 namespace internal { 11 namespace internal {
13 namespace compiler { 12 namespace compiler {
14 13
15 Node** CommonNodeCache::FindExternalConstant(ExternalReference value) { 14 Node** CommonNodeCache::FindExternalConstant(ExternalReference value) {
16 return external_constants_.Find(zone(), bit_cast<intptr_t>(value.address())); 15 return external_constants_.Find(zone(), bit_cast<intptr_t>(value.address()));
17 } 16 }
18 17
19 18
20 void CommonNodeCache::GetCachedNodes(ZoneVector<Node*>* nodes) { 19 void CommonNodeCache::GetCachedNodes(ZoneVector<Node*>* nodes) {
21 int32_constants_.GetCachedNodes(nodes); 20 int32_constants_.GetCachedNodes(nodes);
22 int64_constants_.GetCachedNodes(nodes); 21 int64_constants_.GetCachedNodes(nodes);
23 float32_constants_.GetCachedNodes(nodes); 22 float32_constants_.GetCachedNodes(nodes);
24 float64_constants_.GetCachedNodes(nodes); 23 float64_constants_.GetCachedNodes(nodes);
25 external_constants_.GetCachedNodes(nodes); 24 external_constants_.GetCachedNodes(nodes);
26 number_constants_.GetCachedNodes(nodes); 25 number_constants_.GetCachedNodes(nodes);
27 } 26 }
28 27
29 } // namespace compiler 28 } // namespace compiler
30 } // namespace internal 29 } // namespace internal
31 } // namespace v8 30 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler.cc ('k') | src/compiler/source-position.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698