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

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

Issue 166343004: A64: Improve the deoptimization helpers to generate fewer instructions. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Merge DeoptimizeHeader into DeoptimizeBranch Created 6 years, 10 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 | « no previous file | src/a64/lithium-codegen-a64.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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 SmiCheck check_needed); 211 SmiCheck check_needed);
212 212
213 int DefineDeoptimizationLiteral(Handle<Object> literal); 213 int DefineDeoptimizationLiteral(Handle<Object> literal);
214 void PopulateDeoptimizationData(Handle<Code> code); 214 void PopulateDeoptimizationData(Handle<Code> code);
215 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); 215 void PopulateDeoptimizationLiteralsWithInlinedFunctions();
216 216
217 MemOperand BuildSeqStringOperand(Register string, 217 MemOperand BuildSeqStringOperand(Register string,
218 Register temp, 218 Register temp,
219 LOperand* index, 219 LOperand* index,
220 String::Encoding encoding); 220 String::Encoding encoding);
221 Deoptimizer::BailoutType DeoptimizeHeader( 221 void DeoptimizeBranch(
222 LEnvironment* environment, 222 LEnvironment* environment,
223 Deoptimizer::BailoutType* override_bailout_type); 223 BranchType branch_type, Register reg = NoReg, int bit = -1,
224 void Deoptimize(LEnvironment* environment); 224 Deoptimizer::BailoutType* override_bailout_type = NULL);
225 void Deoptimize(LEnvironment* environment, 225 void Deoptimize(LEnvironment* environment,
226 Deoptimizer::BailoutType bailout_type); 226 Deoptimizer::BailoutType* override_bailout_type = NULL);
227 void DeoptimizeIf(Condition cc, LEnvironment* environment); 227 void DeoptimizeIf(Condition cc, LEnvironment* environment);
228 void DeoptimizeIfZero(Register rt, LEnvironment* environment); 228 void DeoptimizeIfZero(Register rt, LEnvironment* environment);
229 void DeoptimizeIfNegative(Register rt, LEnvironment* environment); 229 void DeoptimizeIfNegative(Register rt, LEnvironment* environment);
230 void DeoptimizeIfSmi(Register rt, LEnvironment* environment); 230 void DeoptimizeIfSmi(Register rt, LEnvironment* environment);
231 void DeoptimizeIfNotSmi(Register rt, LEnvironment* environment); 231 void DeoptimizeIfNotSmi(Register rt, LEnvironment* environment);
232 void DeoptimizeIfRoot(Register rt, 232 void DeoptimizeIfRoot(Register rt,
233 Heap::RootListIndex index, 233 Heap::RootListIndex index,
234 LEnvironment* environment); 234 LEnvironment* environment);
235 void DeoptimizeIfNotRoot(Register rt, 235 void DeoptimizeIfNotRoot(Register rt,
236 Heap::RootListIndex index, 236 Heap::RootListIndex index,
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 464
465 protected: 465 protected:
466 MacroAssembler* masm() const { return codegen_->masm(); } 466 MacroAssembler* masm() const { return codegen_->masm(); }
467 467
468 LCodeGen* codegen_; 468 LCodeGen* codegen_;
469 }; 469 };
470 470
471 } } // namespace v8::internal 471 } } // namespace v8::internal
472 472
473 #endif // V8_A64_LITHIUM_CODEGEN_A64_H_ 473 #endif // V8_A64_LITHIUM_CODEGEN_A64_H_
OLDNEW
« no previous file with comments | « no previous file | src/a64/lithium-codegen-a64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698