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

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

Issue 2366993002: [turbofan] Attach source positions to deopt info. (Closed)
Patch Set: DeoptimizationExit::pos_ made const Created 4 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/arm64/code-generator-arm64.cc ('k') | 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/compiler/unwinding-info-writer.h" 10 #include "src/compiler/unwinding-info-writer.h"
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 // =========================================================================== 116 // ===========================================================================
117 117
118 CodeGenResult AssembleArchInstruction(Instruction* instr); 118 CodeGenResult AssembleArchInstruction(Instruction* instr);
119 void AssembleArchJump(RpoNumber target); 119 void AssembleArchJump(RpoNumber target);
120 void AssembleArchBranch(Instruction* instr, BranchInfo* branch); 120 void AssembleArchBranch(Instruction* instr, BranchInfo* branch);
121 void AssembleArchBoolean(Instruction* instr, FlagsCondition condition); 121 void AssembleArchBoolean(Instruction* instr, FlagsCondition condition);
122 void AssembleArchLookupSwitch(Instruction* instr); 122 void AssembleArchLookupSwitch(Instruction* instr);
123 void AssembleArchTableSwitch(Instruction* instr); 123 void AssembleArchTableSwitch(Instruction* instr);
124 124
125 CodeGenResult AssembleDeoptimizerCall(int deoptimization_id, 125 CodeGenResult AssembleDeoptimizerCall(int deoptimization_id,
126 Deoptimizer::BailoutType bailout_type); 126 Deoptimizer::BailoutType bailout_type,
127 SourcePosition pos);
127 128
128 // Generates an architecture-specific, descriptor-specific prologue 129 // Generates an architecture-specific, descriptor-specific prologue
129 // to set up a stack frame. 130 // to set up a stack frame.
130 void AssembleConstructFrame(); 131 void AssembleConstructFrame();
131 132
132 // Generates an architecture-specific, descriptor-specific return sequence 133 // Generates an architecture-specific, descriptor-specific return sequence
133 // to tear down a stack frame. 134 // to tear down a stack frame.
134 void AssembleReturn(); 135 void AssembleReturn();
135 136
136 void AssembleDeconstructFrame(); 137 void AssembleDeconstructFrame();
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 OutOfLineCode* ools_; 283 OutOfLineCode* ools_;
283 int osr_pc_offset_; 284 int osr_pc_offset_;
284 SourcePositionTableBuilder source_position_table_builder_; 285 SourcePositionTableBuilder source_position_table_builder_;
285 }; 286 };
286 287
287 } // namespace compiler 288 } // namespace compiler
288 } // namespace internal 289 } // namespace internal
289 } // namespace v8 290 } // namespace v8
290 291
291 #endif // V8_COMPILER_CODE_GENERATOR_H 292 #endif // V8_COMPILER_CODE_GENERATOR_H
OLDNEW
« no previous file with comments | « src/compiler/arm64/code-generator-arm64.cc ('k') | src/compiler/code-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698