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

Side by Side Diff: src/arm64/assembler-arm64.h

Issue 959203002: CpuProfiler: replace raw position with SourcePosition for DeoptReason (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: unnecessary changes were removed Created 5 years, 9 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
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 #ifndef V8_ARM64_ASSEMBLER_ARM64_H_ 5 #ifndef V8_ARM64_ASSEMBLER_ARM64_H_
6 #define V8_ARM64_ASSEMBLER_ARM64_H_ 6 #define V8_ARM64_ASSEMBLER_ARM64_H_
7 7
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 #include <vector> 10 #include <vector>
(...skipping 992 matching lines...) Expand 10 before | Expand all | Expand 10 after
1003 EndBlockConstPool(); 1003 EndBlockConstPool();
1004 EndBlockVeneerPool(); 1004 EndBlockVeneerPool();
1005 } 1005 }
1006 1006
1007 // Debugging ---------------------------------------------------------------- 1007 // Debugging ----------------------------------------------------------------
1008 PositionsRecorder* positions_recorder() { return &positions_recorder_; } 1008 PositionsRecorder* positions_recorder() { return &positions_recorder_; }
1009 void RecordComment(const char* msg); 1009 void RecordComment(const char* msg);
1010 1010
1011 // Record a deoptimization reason that can be used by a log or cpu profiler. 1011 // Record a deoptimization reason that can be used by a log or cpu profiler.
1012 // Use --trace-deopt to enable. 1012 // Use --trace-deopt to enable.
1013 void RecordDeoptReason(const int reason, const int raw_position); 1013 void RecordDeoptReason(const int reason, const SourcePosition position);
1014 1014
1015 int buffer_space() const; 1015 int buffer_space() const;
1016 1016
1017 // Mark address of the ExitJSFrame code. 1017 // Mark address of the ExitJSFrame code.
1018 void RecordJSReturn(); 1018 void RecordJSReturn();
1019 1019
1020 // Mark address of a debug break slot. 1020 // Mark address of a debug break slot.
1021 void RecordDebugBreakSlot(); 1021 void RecordDebugBreakSlot();
1022 1022
1023 // Record the emission of a constant pool. 1023 // Record the emission of a constant pool.
(...skipping 1280 matching lines...) Expand 10 before | Expand all | Expand 10 after
2304 class EnsureSpace BASE_EMBEDDED { 2304 class EnsureSpace BASE_EMBEDDED {
2305 public: 2305 public:
2306 explicit EnsureSpace(Assembler* assembler) { 2306 explicit EnsureSpace(Assembler* assembler) {
2307 assembler->CheckBufferSpace(); 2307 assembler->CheckBufferSpace();
2308 } 2308 }
2309 }; 2309 };
2310 2310
2311 } } // namespace v8::internal 2311 } } // namespace v8::internal
2312 2312
2313 #endif // V8_ARM64_ASSEMBLER_ARM64_H_ 2313 #endif // V8_ARM64_ASSEMBLER_ARM64_H_
OLDNEW
« no previous file with comments | « src/arm/assembler-arm.h ('k') | src/assembler.cc » ('j') | src/assembler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698