| OLD | NEW |
| 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 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 268 Safepoint::DeoptMode mode); | 268 Safepoint::DeoptMode mode); |
| 269 | 269 |
| 270 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } | 270 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } |
| 271 | 271 |
| 272 void Abort(const char* reason); | 272 void Abort(const char* reason); |
| 273 void FPRINTF_CHECKING Comment(const char* format, ...); | 273 void FPRINTF_CHECKING Comment(const char* format, ...); |
| 274 | 274 |
| 275 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); } | 275 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); } |
| 276 | 276 |
| 277 // Emit frame translation commands for an environment. | 277 // Emit frame translation commands for an environment. |
| 278 void WriteTranslation(LEnvironment* environment, | 278 void WriteTranslation(LEnvironment* environment, Translation* translation); |
| 279 Translation* translation, | |
| 280 int* arguments_index, | |
| 281 int* arguments_count); | |
| 282 | 279 |
| 283 void AddToTranslation(Translation* translation, | 280 void AddToTranslation(Translation* translation, |
| 284 LOperand* op, | 281 LOperand* op, |
| 285 bool is_tagged, | 282 bool is_tagged, |
| 286 bool is_uint32, | 283 bool is_uint32); |
| 287 bool arguments_known, | |
| 288 int arguments_index, | |
| 289 int arguments_count); | |
| 290 | 284 |
| 291 // Code generation steps. Returns true if code generation should continue. | 285 // Code generation steps. Returns true if code generation should continue. |
| 292 bool GeneratePrologue(); | 286 bool GeneratePrologue(); |
| 293 bool GenerateBody(); | 287 bool GenerateBody(); |
| 294 bool GenerateDeferredCode(); | 288 bool GenerateDeferredCode(); |
| 295 bool GenerateDeoptJumpTable(); | 289 bool GenerateDeoptJumpTable(); |
| 296 bool GenerateSafepointTable(); | 290 bool GenerateSafepointTable(); |
| 297 | 291 |
| 298 enum SafepointMode { | 292 enum SafepointMode { |
| 299 RECORD_SIMPLE_SAFEPOINT, | 293 RECORD_SIMPLE_SAFEPOINT, |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 477 | 471 |
| 478 protected: | 472 protected: |
| 479 MacroAssembler* masm() const { return codegen_->masm(); } | 473 MacroAssembler* masm() const { return codegen_->masm(); } |
| 480 | 474 |
| 481 LCodeGen* codegen_; | 475 LCodeGen* codegen_; |
| 482 }; | 476 }; |
| 483 | 477 |
| 484 } } // namespace v8::internal | 478 } } // namespace v8::internal |
| 485 | 479 |
| 486 #endif // V8_A64_LITHIUM_CODEGEN_A64_H_ | 480 #endif // V8_A64_LITHIUM_CODEGEN_A64_H_ |
| OLD | NEW |