OLD | NEW |
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_CRANKSHAFT_ARM64_LITHIUM_CODEGEN_ARM64_H_ | 5 #ifndef V8_CRANKSHAFT_ARM64_LITHIUM_CODEGEN_ARM64_H_ |
6 #define V8_CRANKSHAFT_ARM64_LITHIUM_CODEGEN_ARM64_H_ | 6 #define V8_CRANKSHAFT_ARM64_LITHIUM_CODEGEN_ARM64_H_ |
7 | 7 |
8 #include "src/crankshaft/arm64/lithium-arm64.h" | 8 #include "src/crankshaft/arm64/lithium-arm64.h" |
9 | 9 |
10 #include "src/ast/scopes.h" | 10 #include "src/ast/scopes.h" |
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
324 | 324 |
325 void PrepareForTailCall(const ParameterCount& actual, Register scratch1, | 325 void PrepareForTailCall(const ParameterCount& actual, Register scratch1, |
326 Register scratch2, Register scratch3); | 326 Register scratch2, Register scratch3); |
327 | 327 |
328 // Generate a direct call to a known function. Expects the function | 328 // Generate a direct call to a known function. Expects the function |
329 // to be in x1. | 329 // to be in x1. |
330 void CallKnownFunction(Handle<JSFunction> function, | 330 void CallKnownFunction(Handle<JSFunction> function, |
331 int formal_parameter_count, int arity, | 331 int formal_parameter_count, int arity, |
332 bool is_tail_call, LInstruction* instr); | 332 bool is_tail_call, LInstruction* instr); |
333 | 333 |
334 // Support for recording safepoint and position information. | 334 // Support for recording safepoint information. |
335 void RecordAndWritePosition(int position) override; | |
336 void RecordSafepoint(LPointerMap* pointers, | 335 void RecordSafepoint(LPointerMap* pointers, |
337 Safepoint::Kind kind, | 336 Safepoint::Kind kind, |
338 int arguments, | 337 int arguments, |
339 Safepoint::DeoptMode mode); | 338 Safepoint::DeoptMode mode); |
340 void RecordSafepoint(LPointerMap* pointers, Safepoint::DeoptMode mode); | 339 void RecordSafepoint(LPointerMap* pointers, Safepoint::DeoptMode mode); |
341 void RecordSafepoint(Safepoint::DeoptMode mode); | 340 void RecordSafepoint(Safepoint::DeoptMode mode); |
342 void RecordSafepointWithRegisters(LPointerMap* pointers, | 341 void RecordSafepointWithRegisters(LPointerMap* pointers, |
343 int arguments, | 342 int arguments, |
344 Safepoint::DeoptMode mode); | 343 Safepoint::DeoptMode mode); |
345 void RecordSafepointWithLazyDeopt(LInstruction* instr, | 344 void RecordSafepointWithLazyDeopt(LInstruction* instr, |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
458 protected: | 457 protected: |
459 MacroAssembler* masm() const { return codegen_->masm(); } | 458 MacroAssembler* masm() const { return codegen_->masm(); } |
460 | 459 |
461 LCodeGen* codegen_; | 460 LCodeGen* codegen_; |
462 }; | 461 }; |
463 | 462 |
464 } // namespace internal | 463 } // namespace internal |
465 } // namespace v8 | 464 } // namespace v8 |
466 | 465 |
467 #endif // V8_CRANKSHAFT_ARM64_LITHIUM_CODEGEN_ARM64_H_ | 466 #endif // V8_CRANKSHAFT_ARM64_LITHIUM_CODEGEN_ARM64_H_ |
OLD | NEW |