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 4869 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5702 __ LoadP(result, | 5701 __ LoadP(result, |
5703 FieldMemOperand(scratch, FixedArray::kHeaderSize - kPointerSize)); | 5702 FieldMemOperand(scratch, FixedArray::kHeaderSize - kPointerSize)); |
5704 __ bind(deferred->exit()); | 5703 __ bind(deferred->exit()); |
5705 __ bind(&done); | 5704 __ bind(&done); |
5706 } | 5705 } |
5707 | 5706 |
5708 #undef __ | 5707 #undef __ |
5709 | 5708 |
5710 } // namespace internal | 5709 } // namespace internal |
5711 } // namespace v8 | 5710 } // namespace v8 |
OLD | NEW |