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

Side by Side Diff: src/mips64/assembler-mips64.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 | « src/mips/assembler-mips.h ('k') | src/objects.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 are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // 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 1092 matching lines...) Expand 10 before | Expand all | Expand 10 after
1103 } 1103 }
1104 1104
1105 void ClearRecordedAstId() { recorded_ast_id_ = TypeFeedbackId::None(); } 1105 void ClearRecordedAstId() { recorded_ast_id_ = TypeFeedbackId::None(); }
1106 1106
1107 // Record a comment relocation entry that can be used by a disassembler. 1107 // Record a comment relocation entry that can be used by a disassembler.
1108 // Use --code-comments to enable. 1108 // Use --code-comments to enable.
1109 void RecordComment(const char* msg); 1109 void RecordComment(const char* msg);
1110 1110
1111 // Record a deoptimization reason that can be used by a log or cpu profiler. 1111 // Record a deoptimization reason that can be used by a log or cpu profiler.
1112 // Use --trace-deopt to enable. 1112 // Use --trace-deopt to enable.
1113 void RecordDeoptReason(const int reason, int raw_position, int id); 1113 void RecordDeoptReason(DeoptimizeReason reason, int raw_position, int id);
1114 1114
1115 static int RelocateInternalReference(RelocInfo::Mode rmode, byte* pc, 1115 static int RelocateInternalReference(RelocInfo::Mode rmode, byte* pc,
1116 intptr_t pc_delta); 1116 intptr_t pc_delta);
1117 1117
1118 // Writes a single byte or word of data in the code stream. Used for 1118 // Writes a single byte or word of data in the code stream. Used for
1119 // inline tables, e.g., jump-tables. 1119 // inline tables, e.g., jump-tables.
1120 void db(uint8_t data); 1120 void db(uint8_t data);
1121 void dd(uint32_t data); 1121 void dd(uint32_t data);
1122 void dq(uint64_t data); 1122 void dq(uint64_t data);
1123 void dp(uintptr_t data) { dq(data); } 1123 void dp(uintptr_t data) { dq(data); }
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after
1517 public: 1517 public:
1518 explicit EnsureSpace(Assembler* assembler) { 1518 explicit EnsureSpace(Assembler* assembler) {
1519 assembler->CheckBuffer(); 1519 assembler->CheckBuffer();
1520 } 1520 }
1521 }; 1521 };
1522 1522
1523 } // namespace internal 1523 } // namespace internal
1524 } // namespace v8 1524 } // namespace v8
1525 1525
1526 #endif // V8_ARM_ASSEMBLER_MIPS_H_ 1526 #endif // V8_ARM_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/assembler-mips.h ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698