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

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

Issue 874323003: Externalize deoptimization reasons. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: minor change Created 5 years, 10 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/assembler-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>
(...skipping 989 matching lines...) Expand 10 before | Expand all | Expand 10 after
1000 StartBlockVeneerPool(); 1000 StartBlockVeneerPool();
1001 } 1001 }
1002 void EndBlockPools() { 1002 void EndBlockPools() {
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
1011 // Record a deoptimization reason that can be used by a log or cpu profiler.
1012 // Use --trace-deopt to enable.
1013 void RecordDeoptReason(const int reason, const int raw_position);
1014
1010 int buffer_space() const; 1015 int buffer_space() const;
1011 1016
1012 // Mark address of the ExitJSFrame code. 1017 // Mark address of the ExitJSFrame code.
1013 void RecordJSReturn(); 1018 void RecordJSReturn();
1014 1019
1015 // Mark address of a debug break slot. 1020 // Mark address of a debug break slot.
1016 void RecordDebugBreakSlot(); 1021 void RecordDebugBreakSlot();
1017 1022
1018 // Record the emission of a constant pool. 1023 // Record the emission of a constant pool.
1019 // 1024 //
(...skipping 1279 matching lines...) Expand 10 before | Expand all | Expand 10 after
2299 class EnsureSpace BASE_EMBEDDED { 2304 class EnsureSpace BASE_EMBEDDED {
2300 public: 2305 public:
2301 explicit EnsureSpace(Assembler* assembler) { 2306 explicit EnsureSpace(Assembler* assembler) {
2302 assembler->CheckBufferSpace(); 2307 assembler->CheckBufferSpace();
2303 } 2308 }
2304 }; 2309 };
2305 2310
2306 } } // namespace v8::internal 2311 } } // namespace v8::internal
2307 2312
2308 #endif // V8_ARM64_ASSEMBLER_ARM64_H_ 2313 #endif // V8_ARM64_ASSEMBLER_ARM64_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/arm64/assembler-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698