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

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

Issue 900223002: Revert of Externalize deoptimization reasons. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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 | « no previous file | src/arm/assembler-arm.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 (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions 5 // modification, are permitted provided that the following conditions
6 // are met: 6 // are met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 1380 matching lines...) Expand 10 before | Expand all | Expand 10 after
1391 DCHECK(!recorded_ast_id_.IsNone()); 1391 DCHECK(!recorded_ast_id_.IsNone());
1392 return recorded_ast_id_; 1392 return recorded_ast_id_;
1393 } 1393 }
1394 1394
1395 void ClearRecordedAstId() { recorded_ast_id_ = TypeFeedbackId::None(); } 1395 void ClearRecordedAstId() { recorded_ast_id_ = TypeFeedbackId::None(); }
1396 1396
1397 // Record a comment relocation entry that can be used by a disassembler. 1397 // Record a comment relocation entry that can be used by a disassembler.
1398 // Use --code-comments to enable. 1398 // Use --code-comments to enable.
1399 void RecordComment(const char* msg); 1399 void RecordComment(const char* msg);
1400 1400
1401 // Record a deoptimization reason that can be used by a log or cpu profiler.
1402 // Use --trace-deopt to enable.
1403 void RecordDeoptReason(const int reason, const int raw_position);
1404
1405 // Record the emission of a constant pool. 1401 // Record the emission of a constant pool.
1406 // 1402 //
1407 // The emission of constant pool depends on the size of the code generated and 1403 // The emission of constant pool depends on the size of the code generated and
1408 // the number of RelocInfo recorded. 1404 // the number of RelocInfo recorded.
1409 // The Debug mechanism needs to map code offsets between two versions of a 1405 // The Debug mechanism needs to map code offsets between two versions of a
1410 // function, compiled with and without debugger support (see for example 1406 // function, compiled with and without debugger support (see for example
1411 // Debug::PrepareForBreakPoints()). 1407 // Debug::PrepareForBreakPoints()).
1412 // Compiling functions with debugger support generates additional code 1408 // Compiling functions with debugger support generates additional code
1413 // (DebugCodegen::GenerateSlot()). This may affect the emission of the 1409 // (DebugCodegen::GenerateSlot()). This may affect the emission of the
1414 // constant pools and cause the version of the code with debugger support to 1410 // constant pools and cause the version of the code with debugger support to
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
1680 public: 1676 public:
1681 explicit EnsureSpace(Assembler* assembler) { 1677 explicit EnsureSpace(Assembler* assembler) {
1682 assembler->CheckBuffer(); 1678 assembler->CheckBuffer();
1683 } 1679 }
1684 }; 1680 };
1685 1681
1686 1682
1687 } } // namespace v8::internal 1683 } } // namespace v8::internal
1688 1684
1689 #endif // V8_ARM_ASSEMBLER_ARM_H_ 1685 #endif // V8_ARM_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698