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

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

Issue 1081053002: [turbofan] cleanup PointerMap (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: renames Created 5 years, 8 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 | « no previous file | src/compiler/code-generator.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 "src/compiler/gap-resolver.h" 8 #include "src/compiler/gap-resolver.h"
9 #include "src/compiler/instruction.h" 9 #include "src/compiler/instruction.h"
10 #include "src/deoptimizer.h" 10 #include "src/deoptimizer.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 GapResolver* resolver() { return &resolver_; } 48 GapResolver* resolver() { return &resolver_; }
49 SafepointTableBuilder* safepoints() { return &safepoints_; } 49 SafepointTableBuilder* safepoints() { return &safepoints_; }
50 Zone* zone() const { return code()->zone(); } 50 Zone* zone() const { return code()->zone(); }
51 CompilationInfo* info() const { return info_; } 51 CompilationInfo* info() const { return info_; }
52 52
53 // Checks if {block} will appear directly after {current_block_} when 53 // Checks if {block} will appear directly after {current_block_} when
54 // assembling code, in which case, a fall-through can be used. 54 // assembling code, in which case, a fall-through can be used.
55 bool IsNextInAssemblyOrder(RpoNumber block) const; 55 bool IsNextInAssemblyOrder(RpoNumber block) const;
56 56
57 // Record a safepoint with the given pointer map. 57 // Record a safepoint with the given pointer map.
58 void RecordSafepoint(PointerMap* pointers, Safepoint::Kind kind, 58 void RecordSafepoint(ReferenceMap* references, Safepoint::Kind kind,
59 int arguments, Safepoint::DeoptMode deopt_mode); 59 int arguments, Safepoint::DeoptMode deopt_mode);
60 60
61 // Assemble code for the specified instruction. 61 // Assemble code for the specified instruction.
62 void AssembleInstruction(Instruction* instr); 62 void AssembleInstruction(Instruction* instr);
63 void AssembleSourcePosition(SourcePositionInstruction* instr); 63 void AssembleSourcePosition(SourcePositionInstruction* instr);
64 void AssembleGaps(Instruction* instr); 64 void AssembleGaps(Instruction* instr);
65 65
66 // =========================================================================== 66 // ===========================================================================
67 // ============= Architecture-specific code generation methods. ============== 67 // ============= Architecture-specific code generation methods. ==============
68 // =========================================================================== 68 // ===========================================================================
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 JumpTable* jump_tables_; 172 JumpTable* jump_tables_;
173 OutOfLineCode* ools_; 173 OutOfLineCode* ools_;
174 int osr_pc_offset_; 174 int osr_pc_offset_;
175 }; 175 };
176 176
177 } // namespace compiler 177 } // namespace compiler
178 } // namespace internal 178 } // namespace internal
179 } // namespace v8 179 } // namespace v8
180 180
181 #endif // V8_COMPILER_CODE_GENERATOR_H 181 #endif // V8_COMPILER_CODE_GENERATOR_H
OLDNEW
« no previous file with comments | « no previous file | src/compiler/code-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698