| 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 #if V8_TARGET_ARCH_X64 | 5 #if V8_TARGET_ARCH_X64 |
| 6 | 6 |
| 7 #include "src/crankshaft/x64/lithium-codegen-x64.h" | 7 #include "src/crankshaft/x64/lithium-codegen-x64.h" |
| 8 | 8 |
| 9 #include "src/base/bits.h" | 9 #include "src/base/bits.h" |
| 10 #include "src/code-factory.h" | 10 #include "src/code-factory.h" |
| (...skipping 820 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 831 void LCodeGen::RecordSafepointWithRegisters(LPointerMap* pointers, | 831 void LCodeGen::RecordSafepointWithRegisters(LPointerMap* pointers, |
| 832 int arguments, | 832 int arguments, |
| 833 Safepoint::DeoptMode deopt_mode) { | 833 Safepoint::DeoptMode deopt_mode) { |
| 834 RecordSafepoint(pointers, Safepoint::kWithRegisters, arguments, deopt_mode); | 834 RecordSafepoint(pointers, Safepoint::kWithRegisters, arguments, deopt_mode); |
| 835 } | 835 } |
| 836 | 836 |
| 837 | 837 |
| 838 void LCodeGen::RecordAndWritePosition(int position) { | 838 void LCodeGen::RecordAndWritePosition(int position) { |
| 839 if (position == RelocInfo::kNoPosition) return; | 839 if (position == RelocInfo::kNoPosition) return; |
| 840 masm()->positions_recorder()->RecordPosition(position); | 840 masm()->positions_recorder()->RecordPosition(position); |
| 841 masm()->positions_recorder()->WriteRecordedPositions(); | |
| 842 } | 841 } |
| 843 | 842 |
| 844 | 843 |
| 845 static const char* LabelType(LLabel* label) { | 844 static const char* LabelType(LLabel* label) { |
| 846 if (label->is_loop_header()) return " (loop header)"; | 845 if (label->is_loop_header()) return " (loop header)"; |
| 847 if (label->is_osr_entry()) return " (OSR entry)"; | 846 if (label->is_osr_entry()) return " (OSR entry)"; |
| 848 return ""; | 847 return ""; |
| 849 } | 848 } |
| 850 | 849 |
| 851 | 850 |
| (...skipping 4737 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5589 __ bind(deferred->exit()); | 5588 __ bind(deferred->exit()); |
| 5590 __ bind(&done); | 5589 __ bind(&done); |
| 5591 } | 5590 } |
| 5592 | 5591 |
| 5593 #undef __ | 5592 #undef __ |
| 5594 | 5593 |
| 5595 } // namespace internal | 5594 } // namespace internal |
| 5596 } // namespace v8 | 5595 } // namespace v8 |
| 5597 | 5596 |
| 5598 #endif // V8_TARGET_ARCH_X64 | 5597 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |