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

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

Issue 587623002: Introduce a class to carry around a deoptimization reason. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased. Re-added a few Comment calls which were accidentally removed. 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/arm/lithium-codegen-arm.cc ('k') | src/arm64/lithium-codegen-arm64.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_ARM64_LITHIUM_CODEGEN_ARM64_H_ 5 #ifndef V8_ARM64_LITHIUM_CODEGEN_ARM64_H_
6 #define V8_ARM64_LITHIUM_CODEGEN_ARM64_H_ 6 #define V8_ARM64_LITHIUM_CODEGEN_ARM64_H_
7 7
8 #include "src/arm64/lithium-arm64.h" 8 #include "src/arm64/lithium-arm64.h"
9 9
10 #include "src/arm64/lithium-gap-resolver-arm64.h" 10 #include "src/arm64/lithium-gap-resolver-arm64.h"
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 SmiCheck check_needed); 206 SmiCheck check_needed);
207 207
208 int DefineDeoptimizationLiteral(Handle<Object> literal); 208 int DefineDeoptimizationLiteral(Handle<Object> literal);
209 void PopulateDeoptimizationData(Handle<Code> code); 209 void PopulateDeoptimizationData(Handle<Code> code);
210 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); 210 void PopulateDeoptimizationLiteralsWithInlinedFunctions();
211 211
212 MemOperand BuildSeqStringOperand(Register string, 212 MemOperand BuildSeqStringOperand(Register string,
213 Register temp, 213 Register temp,
214 LOperand* index, 214 LOperand* index,
215 String::Encoding encoding); 215 String::Encoding encoding);
216 void DeoptimizeBranch(LInstruction* instr, const char* reason, 216 void DeoptimizeBranch(LInstruction* instr, const char* detail,
217 BranchType branch_type, Register reg = NoReg, 217 BranchType branch_type, Register reg = NoReg,
218 int bit = -1, 218 int bit = -1,
219 Deoptimizer::BailoutType* override_bailout_type = NULL); 219 Deoptimizer::BailoutType* override_bailout_type = NULL);
220 void Deoptimize(LInstruction* instr, 220 void Deoptimize(LInstruction* instr,
221 Deoptimizer::BailoutType* override_bailout_type = NULL, 221 Deoptimizer::BailoutType* override_bailout_type = NULL,
222 const char* reason = NULL); 222 const char* detail = NULL);
223 void DeoptimizeIf(Condition cond, LInstruction* instr, 223 void DeoptimizeIf(Condition cond, LInstruction* instr,
224 const char* reason = NULL); 224 const char* detail = NULL);
225 void DeoptimizeIfZero(Register rt, LInstruction* instr, 225 void DeoptimizeIfZero(Register rt, LInstruction* instr,
226 const char* reason = NULL); 226 const char* detail = NULL);
227 void DeoptimizeIfNotZero(Register rt, LInstruction* instr, 227 void DeoptimizeIfNotZero(Register rt, LInstruction* instr,
228 const char* reason = NULL); 228 const char* detail = NULL);
229 void DeoptimizeIfNegative(Register rt, LInstruction* instr, 229 void DeoptimizeIfNegative(Register rt, LInstruction* instr,
230 const char* reason = NULL); 230 const char* detail = NULL);
231 void DeoptimizeIfSmi(Register rt, LInstruction* instr, 231 void DeoptimizeIfSmi(Register rt, LInstruction* instr,
232 const char* reason = NULL); 232 const char* detail = NULL);
233 void DeoptimizeIfNotSmi(Register rt, LInstruction* instr, 233 void DeoptimizeIfNotSmi(Register rt, LInstruction* instr,
234 const char* reason = NULL); 234 const char* detail = NULL);
235 void DeoptimizeIfRoot(Register rt, Heap::RootListIndex index, 235 void DeoptimizeIfRoot(Register rt, Heap::RootListIndex index,
236 LInstruction* instr, const char* reason = NULL); 236 LInstruction* instr, const char* detail = NULL);
237 void DeoptimizeIfNotRoot(Register rt, Heap::RootListIndex index, 237 void DeoptimizeIfNotRoot(Register rt, Heap::RootListIndex index,
238 LInstruction* instr, const char* reason = NULL); 238 LInstruction* instr, const char* detail = NULL);
239 void DeoptimizeIfMinusZero(DoubleRegister input, LInstruction* instr, 239 void DeoptimizeIfMinusZero(DoubleRegister input, LInstruction* instr,
240 const char* reason = NULL); 240 const char* detail = NULL);
241 void DeoptimizeIfBitSet(Register rt, int bit, LInstruction* instr, 241 void DeoptimizeIfBitSet(Register rt, int bit, LInstruction* instr,
242 const char* reason = NULL); 242 const char* detail = NULL);
243 void DeoptimizeIfBitClear(Register rt, int bit, LInstruction* instr, 243 void DeoptimizeIfBitClear(Register rt, int bit, LInstruction* instr,
244 const char* reason = NULL); 244 const char* detail = NULL);
245 245
246 MemOperand PrepareKeyedExternalArrayOperand(Register key, 246 MemOperand PrepareKeyedExternalArrayOperand(Register key,
247 Register base, 247 Register base,
248 Register scratch, 248 Register scratch,
249 bool key_is_smi, 249 bool key_is_smi,
250 bool key_is_constant, 250 bool key_is_constant,
251 int constant_key, 251 int constant_key,
252 ElementsKind elements_kind, 252 ElementsKind elements_kind,
253 int base_offset); 253 int base_offset);
254 MemOperand PrepareKeyedArrayOperand(Register base, 254 MemOperand PrepareKeyedArrayOperand(Register base,
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
463 463
464 protected: 464 protected:
465 MacroAssembler* masm() const { return codegen_->masm(); } 465 MacroAssembler* masm() const { return codegen_->masm(); }
466 466
467 LCodeGen* codegen_; 467 LCodeGen* codegen_;
468 }; 468 };
469 469
470 } } // namespace v8::internal 470 } } // namespace v8::internal
471 471
472 #endif // V8_ARM64_LITHIUM_CODEGEN_ARM64_H_ 472 #endif // V8_ARM64_LITHIUM_CODEGEN_ARM64_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/arm64/lithium-codegen-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698