| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
| 2 // | 2 // |
| 3 // Use of this source code is governed by a BSD-style license that can be | 3 // Use of this source code is governed by a BSD-style license that can be |
| 4 // found in the LICENSE file. | 4 // found in the LICENSE file. |
| 5 | 5 |
| 6 #include "src/crankshaft/s390/lithium-codegen-s390.h" | 6 #include "src/crankshaft/s390/lithium-codegen-s390.h" |
| 7 | 7 |
| 8 #include "src/base/bits.h" | 8 #include "src/base/bits.h" |
| 9 #include "src/code-factory.h" | 9 #include "src/code-factory.h" |
| 10 #include "src/code-stubs.h" | 10 #include "src/code-stubs.h" |
| (...skipping 801 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 812 | 812 |
| 813 void LCodeGen::RecordSafepointWithRegisters(LPointerMap* pointers, | 813 void LCodeGen::RecordSafepointWithRegisters(LPointerMap* pointers, |
| 814 int arguments, | 814 int arguments, |
| 815 Safepoint::DeoptMode deopt_mode) { | 815 Safepoint::DeoptMode deopt_mode) { |
| 816 RecordSafepoint(pointers, Safepoint::kWithRegisters, arguments, deopt_mode); | 816 RecordSafepoint(pointers, Safepoint::kWithRegisters, arguments, deopt_mode); |
| 817 } | 817 } |
| 818 | 818 |
| 819 void LCodeGen::RecordAndWritePosition(int position) { | 819 void LCodeGen::RecordAndWritePosition(int position) { |
| 820 if (position == RelocInfo::kNoPosition) return; | 820 if (position == RelocInfo::kNoPosition) return; |
| 821 masm()->positions_recorder()->RecordPosition(position); | 821 masm()->positions_recorder()->RecordPosition(position); |
| 822 masm()->positions_recorder()->WriteRecordedPositions(); | |
| 823 } | 822 } |
| 824 | 823 |
| 825 static const char* LabelType(LLabel* label) { | 824 static const char* LabelType(LLabel* label) { |
| 826 if (label->is_loop_header()) return " (loop header)"; | 825 if (label->is_loop_header()) return " (loop header)"; |
| 827 if (label->is_osr_entry()) return " (OSR entry)"; | 826 if (label->is_osr_entry()) return " (OSR entry)"; |
| 828 return ""; | 827 return ""; |
| 829 } | 828 } |
| 830 | 829 |
| 831 void LCodeGen::DoLabel(LLabel* label) { | 830 void LCodeGen::DoLabel(LLabel* label) { |
| 832 Comment(";;; <@%d,#%d> -------------------- B%d%s --------------------", | 831 Comment(";;; <@%d,#%d> -------------------- B%d%s --------------------", |
| (...skipping 4860 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5693 __ LoadP(result, | 5692 __ LoadP(result, |
| 5694 FieldMemOperand(scratch, FixedArray::kHeaderSize - kPointerSize)); | 5693 FieldMemOperand(scratch, FixedArray::kHeaderSize - kPointerSize)); |
| 5695 __ bind(deferred->exit()); | 5694 __ bind(deferred->exit()); |
| 5696 __ bind(&done); | 5695 __ bind(&done); |
| 5697 } | 5696 } |
| 5698 | 5697 |
| 5699 #undef __ | 5698 #undef __ |
| 5700 | 5699 |
| 5701 } // namespace internal | 5700 } // namespace internal |
| 5702 } // namespace v8 | 5701 } // namespace v8 |
| OLD | NEW |