| 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_IA32 | 5 #if V8_TARGET_ARCH_IA32 |
| 6 | 6 |
| 7 #include "src/crankshaft/ia32/lithium-codegen-ia32.h" | 7 #include "src/crankshaft/ia32/lithium-codegen-ia32.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 792 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 803 void LCodeGen::RecordSafepointWithRegisters(LPointerMap* pointers, | 803 void LCodeGen::RecordSafepointWithRegisters(LPointerMap* pointers, |
| 804 int arguments, | 804 int arguments, |
| 805 Safepoint::DeoptMode mode) { | 805 Safepoint::DeoptMode mode) { |
| 806 RecordSafepoint(pointers, Safepoint::kWithRegisters, arguments, mode); | 806 RecordSafepoint(pointers, Safepoint::kWithRegisters, arguments, mode); |
| 807 } | 807 } |
| 808 | 808 |
| 809 | 809 |
| 810 void LCodeGen::RecordAndWritePosition(int position) { | 810 void LCodeGen::RecordAndWritePosition(int position) { |
| 811 if (position == RelocInfo::kNoPosition) return; | 811 if (position == RelocInfo::kNoPosition) return; |
| 812 masm()->positions_recorder()->RecordPosition(position); | 812 masm()->positions_recorder()->RecordPosition(position); |
| 813 masm()->positions_recorder()->WriteRecordedPositions(); | |
| 814 } | 813 } |
| 815 | 814 |
| 816 | 815 |
| 817 static const char* LabelType(LLabel* label) { | 816 static const char* LabelType(LLabel* label) { |
| 818 if (label->is_loop_header()) return " (loop header)"; | 817 if (label->is_loop_header()) return " (loop header)"; |
| 819 if (label->is_osr_entry()) return " (OSR entry)"; | 818 if (label->is_osr_entry()) return " (OSR entry)"; |
| 820 return ""; | 819 return ""; |
| 821 } | 820 } |
| 822 | 821 |
| 823 | 822 |
| (...skipping 4488 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5312 __ bind(deferred->exit()); | 5311 __ bind(deferred->exit()); |
| 5313 __ bind(&done); | 5312 __ bind(&done); |
| 5314 } | 5313 } |
| 5315 | 5314 |
| 5316 #undef __ | 5315 #undef __ |
| 5317 | 5316 |
| 5318 } // namespace internal | 5317 } // namespace internal |
| 5319 } // namespace v8 | 5318 } // namespace v8 |
| 5320 | 5319 |
| 5321 #endif // V8_TARGET_ARCH_IA32 | 5320 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |