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

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

Issue 1287383003: Re-reland: Remove register index/code indirection (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix MIPS tests again Created 5 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/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
14 namespace compiler { 17 namespace compiler {
15 18
16 class CallDescriptor; 19 class CallDescriptor;
17 class Graph; 20 class Graph;
18 class InstructionSequence; 21 class InstructionSequence;
19 class Linkage; 22 class Linkage;
20 class PipelineData; 23 class PipelineData;
21 class RegisterConfiguration;
22 class Schedule; 24 class Schedule;
23 25
24 class Pipeline { 26 class Pipeline {
25 public: 27 public:
26 explicit Pipeline(CompilationInfo* info) : info_(info) {} 28 explicit Pipeline(CompilationInfo* info) : info_(info) {}
27 29
28 // Run the entire pipeline and generate a handle to a code object. 30 // Run the entire pipeline and generate a handle to a code object.
29 Handle<Code> GenerateCode(); 31 Handle<Code> GenerateCode();
30 32
31 // Run the pipeline on an interpreter bytecode handler machine graph and 33 // Run the pipeline on an interpreter bytecode handler machine graph and
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 Handle<Code> ScheduleAndGenerateCode(CallDescriptor* call_descriptor); 72 Handle<Code> ScheduleAndGenerateCode(CallDescriptor* call_descriptor);
71 void AllocateRegisters(const RegisterConfiguration* config, 73 void AllocateRegisters(const RegisterConfiguration* config,
72 CallDescriptor* descriptor, bool run_verifier); 74 CallDescriptor* descriptor, bool run_verifier);
73 }; 75 };
74 76
75 } // namespace compiler 77 } // namespace compiler
76 } // namespace internal 78 } // namespace internal
77 } // namespace v8 79 } // namespace v8
78 80
79 #endif // V8_COMPILER_PIPELINE_H_ 81 #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