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

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

Issue 2161543002: [turbofan] Add support for eager/soft deoptimization reasons. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Do the ports properly Created 4 years, 5 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 | « BUILD.gn ('k') | src/arm64/assembler-arm64.h » ('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 1386 matching lines...) Expand 10 before | Expand all | Expand 10 after
1397 } 1397 }
1398 1398
1399 void ClearRecordedAstId() { recorded_ast_id_ = TypeFeedbackId::None(); } 1399 void ClearRecordedAstId() { recorded_ast_id_ = TypeFeedbackId::None(); }
1400 1400
1401 // Record a comment relocation entry that can be used by a disassembler. 1401 // Record a comment relocation entry that can be used by a disassembler.
1402 // Use --code-comments to enable. 1402 // Use --code-comments to enable.
1403 void RecordComment(const char* msg); 1403 void RecordComment(const char* msg);
1404 1404
1405 // Record a deoptimization reason that can be used by a log or cpu profiler. 1405 // Record a deoptimization reason that can be used by a log or cpu profiler.
1406 // Use --trace-deopt to enable. 1406 // Use --trace-deopt to enable.
1407 void RecordDeoptReason(const int reason, int raw_position, int id); 1407 void RecordDeoptReason(DeoptimizeReason reason, int raw_position, int id);
1408 1408
1409 // Record the emission of a constant pool. 1409 // Record the emission of a constant pool.
1410 // 1410 //
1411 // The emission of constant pool depends on the size of the code generated and 1411 // The emission of constant pool depends on the size of the code generated and
1412 // the number of RelocInfo recorded. 1412 // the number of RelocInfo recorded.
1413 // The Debug mechanism needs to map code offsets between two versions of a 1413 // The Debug mechanism needs to map code offsets between two versions of a
1414 // function, compiled with and without debugger support (see for example 1414 // function, compiled with and without debugger support (see for example
1415 // Debug::PrepareForBreakPoints()). 1415 // Debug::PrepareForBreakPoints()).
1416 // Compiling functions with debugger support generates additional code 1416 // Compiling functions with debugger support generates additional code
1417 // (DebugCodegen::GenerateSlot()). This may affect the emission of the 1417 // (DebugCodegen::GenerateSlot()). This may affect the emission of the
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
1685 explicit EnsureSpace(Assembler* assembler) { 1685 explicit EnsureSpace(Assembler* assembler) {
1686 assembler->CheckBuffer(); 1686 assembler->CheckBuffer();
1687 } 1687 }
1688 }; 1688 };
1689 1689
1690 1690
1691 } // namespace internal 1691 } // namespace internal
1692 } // namespace v8 1692 } // namespace v8
1693 1693
1694 #endif // V8_ARM_ASSEMBLER_ARM_H_ 1694 #endif // V8_ARM_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | src/arm64/assembler-arm64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698