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

Side by Side Diff: src/mips/lithium-codegen-mips.h

Issue 582743002: Emit comment with instruction+reason before deopt calls. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased Created 6 years, 3 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 | « src/lithium-codegen.cc ('k') | src/mips/lithium-codegen-mips.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_MIPS_LITHIUM_CODEGEN_MIPS_H_ 5 #ifndef V8_MIPS_LITHIUM_CODEGEN_MIPS_H_
6 #define V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ 6 #define V8_MIPS_LITHIUM_CODEGEN_MIPS_H_
7 7
8 #include "src/deoptimizer.h" 8 #include "src/deoptimizer.h"
9 #include "src/lithium-codegen.h" 9 #include "src/lithium-codegen.h"
10 #include "src/mips/lithium-gap-resolver-mips.h" 10 #include "src/mips/lithium-gap-resolver-mips.h"
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 A1State a1_state); 224 A1State a1_state);
225 225
226 void RecordSafepointWithLazyDeopt(LInstruction* instr, 226 void RecordSafepointWithLazyDeopt(LInstruction* instr,
227 SafepointMode safepoint_mode); 227 SafepointMode safepoint_mode);
228 228
229 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, 229 void RegisterEnvironmentForDeoptimization(LEnvironment* environment,
230 Safepoint::DeoptMode mode); 230 Safepoint::DeoptMode mode);
231 void DeoptimizeIf(Condition condition, LInstruction* instr, 231 void DeoptimizeIf(Condition condition, LInstruction* instr,
232 Deoptimizer::BailoutType bailout_type, 232 Deoptimizer::BailoutType bailout_type,
233 Register src1 = zero_reg, 233 Register src1 = zero_reg,
234 const Operand& src2 = Operand(zero_reg)); 234 const Operand& src2 = Operand(zero_reg),
235 const char* reason = NULL);
235 void DeoptimizeIf(Condition condition, LInstruction* instr, 236 void DeoptimizeIf(Condition condition, LInstruction* instr,
236 Register src1 = zero_reg, 237 Register src1 = zero_reg,
237 const Operand& src2 = Operand(zero_reg)); 238 const Operand& src2 = Operand(zero_reg),
239 const char* reason = NULL);
238 240
239 void AddToTranslation(LEnvironment* environment, 241 void AddToTranslation(LEnvironment* environment,
240 Translation* translation, 242 Translation* translation,
241 LOperand* op, 243 LOperand* op,
242 bool is_tagged, 244 bool is_tagged,
243 bool is_uint32, 245 bool is_uint32,
244 int* object_index_pointer, 246 int* object_index_pointer,
245 int* dematerialized_index_pointer); 247 int* dematerialized_index_pointer);
246 void PopulateDeoptimizationData(Handle<Code> code); 248 void PopulateDeoptimizationData(Handle<Code> code);
247 int DefineDeoptimizationLiteral(Handle<Object> literal); 249 int DefineDeoptimizationLiteral(Handle<Object> literal);
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 LCodeGen* codegen_; 440 LCodeGen* codegen_;
439 Label entry_; 441 Label entry_;
440 Label exit_; 442 Label exit_;
441 Label* external_exit_; 443 Label* external_exit_;
442 int instruction_index_; 444 int instruction_index_;
443 }; 445 };
444 446
445 } } // namespace v8::internal 447 } } // namespace v8::internal
446 448
447 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ 449 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_
OLDNEW
« no previous file with comments | « src/lithium-codegen.cc ('k') | src/mips/lithium-codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698