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

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

Issue 816453005: [turbofan] Cleanup use of virtual, OVERRIDE, FINAL. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 6 years 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
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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 void AssemblePrologue(); 79 void AssemblePrologue();
80 // Generates an architecture-specific, descriptor-specific return sequence 80 // Generates an architecture-specific, descriptor-specific return sequence
81 // to tear down a stack frame. 81 // to tear down a stack frame.
82 void AssembleReturn(); 82 void AssembleReturn();
83 83
84 // =========================================================================== 84 // ===========================================================================
85 // ============== Architecture-specific gap resolver methods. ================ 85 // ============== Architecture-specific gap resolver methods. ================
86 // =========================================================================== 86 // ===========================================================================
87 87
88 // Interface used by the gap resolver to emit moves and swaps. 88 // Interface used by the gap resolver to emit moves and swaps.
89 virtual void AssembleMove(InstructionOperand* source, 89 void AssembleMove(InstructionOperand* source,
90 InstructionOperand* destination) OVERRIDE; 90 InstructionOperand* destination) FINAL;
91 virtual void AssembleSwap(InstructionOperand* source, 91 void AssembleSwap(InstructionOperand* source,
92 InstructionOperand* destination) OVERRIDE; 92 InstructionOperand* destination) FINAL;
93 93
94 // =========================================================================== 94 // ===========================================================================
95 // Deoptimization table construction 95 // Deoptimization table construction
96 void AddSafepointAndDeopt(Instruction* instr); 96 void AddSafepointAndDeopt(Instruction* instr);
97 void PopulateDeoptimizationData(Handle<Code> code); 97 void PopulateDeoptimizationData(Handle<Code> code);
98 int DefineDeoptimizationLiteral(Handle<Object> literal); 98 int DefineDeoptimizationLiteral(Handle<Object> literal);
99 FrameStateDescriptor* GetFrameStateDescriptor(Instruction* instr, 99 FrameStateDescriptor* GetFrameStateDescriptor(Instruction* instr,
100 size_t frame_state_offset); 100 size_t frame_state_offset);
101 int BuildTranslation(Instruction* instr, int pc_offset, 101 int BuildTranslation(Instruction* instr, int pc_offset,
102 size_t frame_state_offset, 102 size_t frame_state_offset,
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 TranslationBuffer translations_; 146 TranslationBuffer translations_;
147 int last_lazy_deopt_pc_; 147 int last_lazy_deopt_pc_;
148 OutOfLineCode* ools_; 148 OutOfLineCode* ools_;
149 }; 149 };
150 150
151 } // namespace compiler 151 } // namespace compiler
152 } // namespace internal 152 } // namespace internal
153 } // namespace v8 153 } // namespace v8
154 154
155 #endif // V8_COMPILER_CODE_GENERATOR_H 155 #endif // V8_COMPILER_CODE_GENERATOR_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698