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

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

Issue 868883002: Remove the dependency of Zone on Isolate (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix compilation issues Created 5 years, 11 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/mips/linkage-mips.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 #include "src/v8.h" 8 #include "src/v8.h"
9 9
10 #include "src/compiler.h" 10 #include "src/compiler.h"
(...skipping 19 matching lines...) Expand all
30 Handle<Code> GenerateCode(); 30 Handle<Code> GenerateCode();
31 31
32 // Run the pipeline on a machine graph and generate code. If {schedule} is 32 // Run the pipeline on a machine graph and generate code. If {schedule} is
33 // {nullptr}, then compute a new schedule for code generation. 33 // {nullptr}, then compute a new schedule for code generation.
34 static Handle<Code> GenerateCodeForTesting(CompilationInfo* info, 34 static Handle<Code> GenerateCodeForTesting(CompilationInfo* info,
35 Graph* graph, 35 Graph* graph,
36 Schedule* schedule = nullptr); 36 Schedule* schedule = nullptr);
37 37
38 // Run the pipeline on a machine graph and generate code. If {schedule} is 38 // Run the pipeline on a machine graph and generate code. If {schedule} is
39 // {nullptr}, then compute a new schedule for code generation. 39 // {nullptr}, then compute a new schedule for code generation.
40 static Handle<Code> GenerateCodeForTesting(CallDescriptor* call_descriptor, 40 static Handle<Code> GenerateCodeForTesting(Isolate* isolate,
41 CallDescriptor* call_descriptor,
41 Graph* graph, 42 Graph* graph,
42 Schedule* schedule = nullptr); 43 Schedule* schedule = nullptr);
43 44
44 // Run just the register allocator phases. 45 // Run just the register allocator phases.
45 static bool AllocateRegistersForTesting(const RegisterConfiguration* config, 46 static bool AllocateRegistersForTesting(const RegisterConfiguration* config,
46 InstructionSequence* sequence, 47 InstructionSequence* sequence,
47 bool run_verifier); 48 bool run_verifier);
48 49
49 static inline bool SupportedBackend() { return V8_TURBOFAN_BACKEND != 0; } 50 static inline bool SupportedBackend() { return V8_TURBOFAN_BACKEND != 0; }
50 static inline bool SupportedTarget() { return V8_TURBOFAN_TARGET != 0; } 51 static inline bool SupportedTarget() { return V8_TURBOFAN_TARGET != 0; }
(...skipping 23 matching lines...) Expand all
74 void GenerateCode(Linkage* linkage); 75 void GenerateCode(Linkage* linkage);
75 void AllocateRegisters(const RegisterConfiguration* config, 76 void AllocateRegisters(const RegisterConfiguration* config,
76 bool run_verifier); 77 bool run_verifier);
77 }; 78 };
78 79
79 } // namespace compiler 80 } // namespace compiler
80 } // namespace internal 81 } // namespace internal
81 } // namespace v8 82 } // namespace v8
82 83
83 #endif // V8_COMPILER_PIPELINE_H_ 84 #endif // V8_COMPILER_PIPELINE_H_
OLDNEW
« no previous file with comments | « src/compiler/mips/linkage-mips.cc ('k') | src/compiler/pipeline.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698