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

Side by Side Diff: src/crankshaft/x87/lithium-codegen-x87.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/x64/lithium-codegen-x64.cc ('k') | src/full-codegen/full-codegen.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 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
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
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
OLDNEW
« no previous file with comments | « src/crankshaft/x64/lithium-codegen-x64.cc ('k') | src/full-codegen/full-codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698