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

Side by Side Diff: src/compiler/code-generator.h

Issue 669613002: [turbofan] remove schedule from InstructionSequence (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/compiler/graph-visualizer.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_CODE_GENERATOR_H_ 5 #ifndef V8_COMPILER_CODE_GENERATOR_H_
6 #define V8_COMPILER_CODE_GENERATOR_H_ 6 #define V8_COMPILER_CODE_GENERATOR_H_
7 7
8 #include <deque> 8 #include <deque>
9 9
10 #include "src/compiler/gap-resolver.h" 10 #include "src/compiler/gap-resolver.h"
(...skipping 11 matching lines...) Expand all
22 public: 22 public:
23 explicit CodeGenerator(InstructionSequence* code); 23 explicit CodeGenerator(InstructionSequence* code);
24 24
25 // Generate native code. 25 // Generate native code.
26 Handle<Code> GenerateCode(); 26 Handle<Code> GenerateCode();
27 27
28 InstructionSequence* code() const { return code_; } 28 InstructionSequence* code() const { return code_; }
29 Frame* frame() const { return code()->frame(); } 29 Frame* frame() const { return code()->frame(); }
30 Isolate* isolate() const { return zone()->isolate(); } 30 Isolate* isolate() const { return zone()->isolate(); }
31 Linkage* linkage() const { return code()->linkage(); } 31 Linkage* linkage() const { return code()->linkage(); }
32 Schedule* schedule() const { return code()->schedule(); }
33 32
34 private: 33 private:
35 MacroAssembler* masm() { return &masm_; } 34 MacroAssembler* masm() { return &masm_; }
36 GapResolver* resolver() { return &resolver_; } 35 GapResolver* resolver() { return &resolver_; }
37 SafepointTableBuilder* safepoints() { return &safepoints_; } 36 SafepointTableBuilder* safepoints() { return &safepoints_; }
38 Zone* zone() const { return code()->zone(); } 37 Zone* zone() const { return code()->zone(); }
39 38
40 // Checks if {block} will appear directly after {current_block_} when 39 // Checks if {block} will appear directly after {current_block_} when
41 // assembling code, in which case, a fall-through can be used. 40 // assembling code, in which case, a fall-through can be used.
42 bool IsNextInAssemblyOrder(BasicBlock::RpoNumber block) const { 41 bool IsNextInAssemblyOrder(BasicBlock::RpoNumber block) const {
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 ZoneDeque<Handle<Object> > deoptimization_literals_; 126 ZoneDeque<Handle<Object> > deoptimization_literals_;
128 TranslationBuffer translations_; 127 TranslationBuffer translations_;
129 int last_lazy_deopt_pc_; 128 int last_lazy_deopt_pc_;
130 }; 129 };
131 130
132 } // namespace compiler 131 } // namespace compiler
133 } // namespace internal 132 } // namespace internal
134 } // namespace v8 133 } // namespace v8
135 134
136 #endif // V8_COMPILER_CODE_GENERATOR_H 135 #endif // V8_COMPILER_CODE_GENERATOR_H
OLDNEW
« no previous file with comments | « no previous file | src/compiler/graph-visualizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698