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

Side by Side Diff: src/compiler/pipeline.h

Issue 1365073002: Revert of Remove register index/code indirection (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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/linkage.cc ('k') | src/compiler/pipeline.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 #ifndef V8_COMPILER_PIPELINE_H_ 5 #ifndef V8_COMPILER_PIPELINE_H_
6 #define V8_COMPILER_PIPELINE_H_ 6 #define V8_COMPILER_PIPELINE_H_
7 7
8 // Clients of this interface shouldn't depend on lots of compiler internals. 8 // Clients of this interface shouldn't depend on lots of compiler internals.
9 // Do not include anything from src/compiler here! 9 // Do not include anything from src/compiler here!
10 #include "src/compiler.h" 10 #include "src/compiler.h"
11 11
12 namespace v8 { 12 namespace v8 {
13 namespace internal { 13 namespace internal {
14
15 class RegisterConfiguration;
16
17 namespace compiler { 14 namespace compiler {
18 15
19 class CallDescriptor; 16 class CallDescriptor;
20 class Graph; 17 class Graph;
21 class InstructionSequence; 18 class InstructionSequence;
22 class Linkage; 19 class Linkage;
23 class PipelineData; 20 class PipelineData;
21 class RegisterConfiguration;
24 class Schedule; 22 class Schedule;
25 23
26 class Pipeline { 24 class Pipeline {
27 public: 25 public:
28 explicit Pipeline(CompilationInfo* info) : info_(info) {} 26 explicit Pipeline(CompilationInfo* info) : info_(info) {}
29 27
30 // Run the entire pipeline and generate a handle to a code object. 28 // Run the entire pipeline and generate a handle to a code object.
31 Handle<Code> GenerateCode(); 29 Handle<Code> GenerateCode();
32 30
33 // Run the pipeline on an interpreter bytecode handler machine graph and 31 // Run the pipeline on an interpreter bytecode handler machine graph and
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 Handle<Code> ScheduleAndGenerateCode(CallDescriptor* call_descriptor); 70 Handle<Code> ScheduleAndGenerateCode(CallDescriptor* call_descriptor);
73 void AllocateRegisters(const RegisterConfiguration* config, 71 void AllocateRegisters(const RegisterConfiguration* config,
74 CallDescriptor* descriptor, bool run_verifier); 72 CallDescriptor* descriptor, bool run_verifier);
75 }; 73 };
76 74
77 } // namespace compiler 75 } // namespace compiler
78 } // namespace internal 76 } // namespace internal
79 } // namespace v8 77 } // namespace v8
80 78
81 #endif // V8_COMPILER_PIPELINE_H_ 79 #endif // V8_COMPILER_PIPELINE_H_
OLDNEW
« no previous file with comments | « src/compiler/linkage.cc ('k') | src/compiler/pipeline.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698