| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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_X87 | 5 #if V8_TARGET_ARCH_X87 |
| 6 | 6 |
| 7 #include "src/crankshaft/x87/lithium-codegen-x87.h" | 7 #include "src/crankshaft/x87/lithium-codegen-x87.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 1083 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1094 void LCodeGen::RecordSafepointWithRegisters(LPointerMap* pointers, | 1094 void LCodeGen::RecordSafepointWithRegisters(LPointerMap* pointers, |
| 1095 int arguments, | 1095 int arguments, |
| 1096 Safepoint::DeoptMode mode) { | 1096 Safepoint::DeoptMode mode) { |
| 1097 RecordSafepoint(pointers, Safepoint::kWithRegisters, arguments, mode); | 1097 RecordSafepoint(pointers, Safepoint::kWithRegisters, arguments, mode); |
| 1098 } | 1098 } |
| 1099 | 1099 |
| 1100 | 1100 |
| 1101 void LCodeGen::RecordAndWritePosition(int position) { | 1101 void LCodeGen::RecordAndWritePosition(int position) { |
| 1102 if (position == RelocInfo::kNoPosition) return; | 1102 if (position == RelocInfo::kNoPosition) return; |
| 1103 masm()->positions_recorder()->RecordPosition(position); | 1103 masm()->positions_recorder()->RecordPosition(position); |
| 1104 masm()->positions_recorder()->WriteRecordedPositions(); | |
| 1105 } | 1104 } |
| 1106 | 1105 |
| 1107 | 1106 |
| 1108 static const char* LabelType(LLabel* label) { | 1107 static const char* LabelType(LLabel* label) { |
| 1109 if (label->is_loop_header()) return " (loop header)"; | 1108 if (label->is_loop_header()) return " (loop header)"; |
| 1110 if (label->is_osr_entry()) return " (OSR entry)"; | 1109 if (label->is_osr_entry()) return " (OSR entry)"; |
| 1111 return ""; | 1110 return ""; |
| 1112 } | 1111 } |
| 1113 | 1112 |
| 1114 | 1113 |
| (...skipping 4749 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5864 __ bind(deferred->exit()); | 5863 __ bind(deferred->exit()); |
| 5865 __ bind(&done); | 5864 __ bind(&done); |
| 5866 } | 5865 } |
| 5867 | 5866 |
| 5868 #undef __ | 5867 #undef __ |
| 5869 | 5868 |
| 5870 } // namespace internal | 5869 } // namespace internal |
| 5871 } // namespace v8 | 5870 } // namespace v8 |
| 5872 | 5871 |
| 5873 #endif // V8_TARGET_ARCH_X87 | 5872 #endif // V8_TARGET_ARCH_X87 |
| OLD | NEW |