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

Side by Side Diff: src/mips/assembler-mips.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/ia32/assembler-ia32.h ('k') | src/mips64/assembler-mips64.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 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 1030 matching lines...) Expand 10 before | Expand all | Expand 10 after
1041 } 1041 }
1042 1042
1043 void ClearRecordedAstId() { recorded_ast_id_ = TypeFeedbackId::None(); } 1043 void ClearRecordedAstId() { recorded_ast_id_ = TypeFeedbackId::None(); }
1044 1044
1045 // Record a comment relocation entry that can be used by a disassembler. 1045 // Record a comment relocation entry that can be used by a disassembler.
1046 // Use --code-comments to enable. 1046 // Use --code-comments to enable.
1047 void RecordComment(const char* msg); 1047 void RecordComment(const char* msg);
1048 1048
1049 // Record a deoptimization reason that can be used by a log or cpu profiler. 1049 // Record a deoptimization reason that can be used by a log or cpu profiler.
1050 // Use --trace-deopt to enable. 1050 // Use --trace-deopt to enable.
1051 void RecordDeoptReason(const int reason, int raw_position, int id); 1051 void RecordDeoptReason(DeoptimizeReason reason, int raw_position, int id);
1052 1052
1053 static int RelocateInternalReference(RelocInfo::Mode rmode, byte* pc, 1053 static int RelocateInternalReference(RelocInfo::Mode rmode, byte* pc,
1054 intptr_t pc_delta); 1054 intptr_t pc_delta);
1055 1055
1056 // Writes a single byte or word of data in the code stream. Used for 1056 // Writes a single byte or word of data in the code stream. Used for
1057 // inline tables, e.g., jump-tables. 1057 // inline tables, e.g., jump-tables.
1058 void db(uint8_t data); 1058 void db(uint8_t data);
1059 void dd(uint32_t data); 1059 void dd(uint32_t data);
1060 void dq(uint64_t data); 1060 void dq(uint64_t data);
1061 void dp(uintptr_t data) { dd(data); } 1061 void dp(uintptr_t data) { dd(data); }
(...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after
1465 public: 1465 public:
1466 explicit EnsureSpace(Assembler* assembler) { 1466 explicit EnsureSpace(Assembler* assembler) {
1467 assembler->CheckBuffer(); 1467 assembler->CheckBuffer();
1468 } 1468 }
1469 }; 1469 };
1470 1470
1471 } // namespace internal 1471 } // namespace internal
1472 } // namespace v8 1472 } // namespace v8
1473 1473
1474 #endif // V8_ARM_ASSEMBLER_MIPS_H_ 1474 #endif // V8_ARM_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/ia32/assembler-ia32.h ('k') | src/mips64/assembler-mips64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698