Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(128)

Side by Side Diff: src/crankshaft/x64/lithium-codegen-x64.cc

Issue 2072963003: Simplify AssemblerPositionsRecorder. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: addressed comment Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/crankshaft/s390/lithium-codegen-s390.cc ('k') | src/crankshaft/x87/lithium-codegen-x87.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 4738 matching lines...) Expand 10 before | Expand all | Expand 10 after
5590 __ bind(deferred->exit()); 5589 __ bind(deferred->exit());
5591 __ bind(&done); 5590 __ bind(&done);
5592 } 5591 }
5593 5592
5594 #undef __ 5593 #undef __
5595 5594
5596 } // namespace internal 5595 } // namespace internal
5597 } // namespace v8 5596 } // namespace v8
5598 5597
5599 #endif // V8_TARGET_ARCH_X64 5598 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/crankshaft/s390/lithium-codegen-s390.cc ('k') | src/crankshaft/x87/lithium-codegen-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698