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

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

Issue 148593004: A64: Synchronize with r18084. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: 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 | « src/a64/lithium-a64.cc ('k') | 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 #undef DECLARE_DO 124 #undef DECLARE_DO
125 125
126 private: 126 private:
127 // Return a double scratch register which can be used locally 127 // Return a double scratch register which can be used locally
128 // when generating code for a lithium instruction. 128 // when generating code for a lithium instruction.
129 DoubleRegister double_scratch() { return crankshaft_fp_scratch; } 129 DoubleRegister double_scratch() { return crankshaft_fp_scratch; }
130 130
131 // Deferred code support. 131 // Deferred code support.
132 void DoDeferredNumberTagD(LNumberTagD* instr); 132 void DoDeferredNumberTagD(LNumberTagD* instr);
133 void DoDeferredStackCheck(LStackCheck* instr); 133 void DoDeferredStackCheck(LStackCheck* instr);
134 void DoDeferredRandom(LRandom* instr);
135 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr); 134 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr);
136 void DoDeferredStringCharFromCode(LStringCharFromCode* instr); 135 void DoDeferredStringCharFromCode(LStringCharFromCode* instr);
137 void DoDeferredMathAbsTagged(LMathAbsTagged* instr, 136 void DoDeferredMathAbsTagged(LMathAbsTagged* instr,
138 Label* exit, 137 Label* exit,
139 Label* allocation_entry); 138 Label* allocation_entry);
140 139
141 enum IntegerSignedness { SIGNED_INT32, UNSIGNED_INT32 }; 140 enum IntegerSignedness { SIGNED_INT32, UNSIGNED_INT32 };
142 void DoDeferredNumberTagU(LInstruction* instr, 141 void DoDeferredNumberTagU(LInstruction* instr,
143 LOperand* value, 142 LOperand* value,
144 LOperand* temp1, 143 LOperand* temp1,
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 void WriteTranslation(LEnvironment* environment, Translation* translation); 262 void WriteTranslation(LEnvironment* environment, Translation* translation);
264 263
265 void AddToTranslation(LEnvironment* environment, 264 void AddToTranslation(LEnvironment* environment,
266 Translation* translation, 265 Translation* translation,
267 LOperand* op, 266 LOperand* op,
268 bool is_tagged, 267 bool is_tagged,
269 bool is_uint32, 268 bool is_uint32,
270 int* object_index_pointer, 269 int* object_index_pointer,
271 int* dematerialized_index_pointer); 270 int* dematerialized_index_pointer);
272 271
272 void SaveCallerDoubles();
273 void RestoreCallerDoubles();
274
273 // Code generation steps. Returns true if code generation should continue. 275 // Code generation steps. Returns true if code generation should continue.
274 bool GeneratePrologue(); 276 bool GeneratePrologue();
275 bool GenerateDeferredCode(); 277 bool GenerateDeferredCode();
276 bool GenerateDeoptJumpTable(); 278 bool GenerateDeoptJumpTable();
277 bool GenerateSafepointTable(); 279 bool GenerateSafepointTable();
278 280
279 // Generates the custom OSR entrypoint and sets the osr_pc_offset. 281 // Generates the custom OSR entrypoint and sets the osr_pc_offset.
280 void GenerateOsrPrologue(); 282 void GenerateOsrPrologue();
281 283
282 enum SafepointMode { 284 enum SafepointMode {
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
459 461
460 protected: 462 protected:
461 MacroAssembler* masm() const { return codegen_->masm(); } 463 MacroAssembler* masm() const { return codegen_->masm(); }
462 464
463 LCodeGen* codegen_; 465 LCodeGen* codegen_;
464 }; 466 };
465 467
466 } } // namespace v8::internal 468 } } // namespace v8::internal
467 469
468 #endif // V8_A64_LITHIUM_CODEGEN_A64_H_ 470 #endif // V8_A64_LITHIUM_CODEGEN_A64_H_
OLDNEW
« no previous file with comments | « src/a64/lithium-a64.cc ('k') | src/a64/lithium-codegen-a64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698