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

Side by Side Diff: src/compiler/js-inlining-heuristic.cc

Issue 2284313003: Separate CompilationInfo into its own file. (Closed)
Patch Set: fix Created 4 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/js-inlining.cc ('k') | src/compiler/linkage.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/compiler/js-inlining-heuristic.h" 5 #include "src/compiler/js-inlining-heuristic.h"
6 6
7 #include "src/compiler.h" 7 #include "src/compilation-info.h"
8 #include "src/compiler/node-matchers.h" 8 #include "src/compiler/node-matchers.h"
9 #include "src/objects-inl.h" 9 #include "src/objects-inl.h"
10 10
11 namespace v8 { 11 namespace v8 {
12 namespace internal { 12 namespace internal {
13 namespace compiler { 13 namespace compiler {
14 14
15 Reduction JSInliningHeuristic::Reduce(Node* node) { 15 Reduction JSInliningHeuristic::Reduce(Node* node) {
16 if (!IrOpcode::IsInlineeOpcode(node->opcode())) return NoChange(); 16 if (!IrOpcode::IsInlineeOpcode(node->opcode())) return NoChange();
17 17
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 candidate.node->id(), candidate.calls, 146 candidate.node->id(), candidate.calls,
147 candidate.function->shared()->SourceSize(), 147 candidate.function->shared()->SourceSize(),
148 candidate.function->shared()->ast_node_count(), 148 candidate.function->shared()->ast_node_count(),
149 candidate.function->shared()->DebugName()->ToCString().get()); 149 candidate.function->shared()->DebugName()->ToCString().get());
150 } 150 }
151 } 151 }
152 152
153 } // namespace compiler 153 } // namespace compiler
154 } // namespace internal 154 } // namespace internal
155 } // namespace v8 155 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/js-inlining.cc ('k') | src/compiler/linkage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698