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

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: fix for win32 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
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/arm64/lithium-codegen-arm64.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 #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>
11 11
12 #include "src/arm64/instructions-arm64.h" 12 #include "src/arm64/instructions-arm64.h"
13 #include "src/assembler.h" 13 #include "src/assembler.h"
14 #include "src/compiler.h"
14 #include "src/globals.h" 15 #include "src/globals.h"
15 #include "src/serialize.h" 16 #include "src/serialize.h"
16 #include "src/utils.h" 17 #include "src/utils.h"
17 18
18 19
19 namespace v8 { 20 namespace v8 {
20 namespace internal { 21 namespace internal {
21 22
22 23
23 // ----------------------------------------------------------------------------- 24 // -----------------------------------------------------------------------------
(...skipping 979 matching lines...) Expand 10 before | Expand all | Expand 10 after
1003 EndBlockConstPool(); 1004 EndBlockConstPool();
1004 EndBlockVeneerPool(); 1005 EndBlockVeneerPool();
1005 } 1006 }
1006 1007
1007 // Debugging ---------------------------------------------------------------- 1008 // Debugging ----------------------------------------------------------------
1008 PositionsRecorder* positions_recorder() { return &positions_recorder_; } 1009 PositionsRecorder* positions_recorder() { return &positions_recorder_; }
1009 void RecordComment(const char* msg); 1010 void RecordComment(const char* msg);
1010 1011
1011 // Record a deoptimization reason that can be used by a log or cpu profiler. 1012 // Record a deoptimization reason that can be used by a log or cpu profiler.
1012 // Use --trace-deopt to enable. 1013 // Use --trace-deopt to enable.
1013 void RecordDeoptReason(const int reason, const int raw_position); 1014 void RecordDeoptReason(const int reason, const SourcePosition position);
1014 1015
1015 int buffer_space() const; 1016 int buffer_space() const;
1016 1017
1017 // Mark address of the ExitJSFrame code. 1018 // Mark address of the ExitJSFrame code.
1018 void RecordJSReturn(); 1019 void RecordJSReturn();
1019 1020
1020 // Mark address of a debug break slot. 1021 // Mark address of a debug break slot.
1021 void RecordDebugBreakSlot(); 1022 void RecordDebugBreakSlot();
1022 1023
1023 // Record the emission of a constant pool. 1024 // Record the emission of a constant pool.
(...skipping 1280 matching lines...) Expand 10 before | Expand all | Expand 10 after
2304 class EnsureSpace BASE_EMBEDDED { 2305 class EnsureSpace BASE_EMBEDDED {
2305 public: 2306 public:
2306 explicit EnsureSpace(Assembler* assembler) { 2307 explicit EnsureSpace(Assembler* assembler) {
2307 assembler->CheckBufferSpace(); 2308 assembler->CheckBufferSpace();
2308 } 2309 }
2309 }; 2310 };
2310 2311
2311 } } // namespace v8::internal 2312 } } // namespace v8::internal
2312 2313
2313 #endif // V8_ARM64_ASSEMBLER_ARM64_H_ 2314 #endif // V8_ARM64_ASSEMBLER_ARM64_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/arm64/lithium-codegen-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698