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

Side by Side Diff: src/mips/assembler-mips.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 | « src/lithium-codegen.cc ('k') | src/mips/assembler-mips.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 998 matching lines...) Expand 10 before | Expand all | Expand 10 after
1009 DCHECK(!recorded_ast_id_.IsNone()); 1009 DCHECK(!recorded_ast_id_.IsNone());
1010 return recorded_ast_id_; 1010 return recorded_ast_id_;
1011 } 1011 }
1012 1012
1013 void ClearRecordedAstId() { recorded_ast_id_ = TypeFeedbackId::None(); } 1013 void ClearRecordedAstId() { recorded_ast_id_ = TypeFeedbackId::None(); }
1014 1014
1015 // Record a comment relocation entry that can be used by a disassembler. 1015 // Record a comment relocation entry that can be used by a disassembler.
1016 // Use --code-comments to enable. 1016 // Use --code-comments to enable.
1017 void RecordComment(const char* msg); 1017 void RecordComment(const char* msg);
1018 1018
1019 // Record a deoptimization reason that can be used by a log or cpu profiler.
1020 // Use --trace-deopt to enable.
1021 void RecordDeoptReason(const int reason, const int raw_position);
1022
1023
1024 static int RelocateInternalReference(byte* pc, intptr_t pc_delta); 1019 static int RelocateInternalReference(byte* pc, intptr_t pc_delta);
1025 1020
1026 // Writes a single byte or word of data in the code stream. Used for 1021 // Writes a single byte or word of data in the code stream. Used for
1027 // inline tables, e.g., jump-tables. 1022 // inline tables, e.g., jump-tables.
1028 void db(uint8_t data); 1023 void db(uint8_t data);
1029 void dd(uint32_t data); 1024 void dd(uint32_t data);
1030 1025
1031 // Emits the address of the code stub's first instruction. 1026 // Emits the address of the code stub's first instruction.
1032 void emit_code_stub_address(Code* stub); 1027 void emit_code_stub_address(Code* stub);
1033 1028
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
1379 class EnsureSpace BASE_EMBEDDED { 1374 class EnsureSpace BASE_EMBEDDED {
1380 public: 1375 public:
1381 explicit EnsureSpace(Assembler* assembler) { 1376 explicit EnsureSpace(Assembler* assembler) {
1382 assembler->CheckBuffer(); 1377 assembler->CheckBuffer();
1383 } 1378 }
1384 }; 1379 };
1385 1380
1386 } } // namespace v8::internal 1381 } } // namespace v8::internal
1387 1382
1388 #endif // V8_ARM_ASSEMBLER_MIPS_H_ 1383 #endif // V8_ARM_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/lithium-codegen.cc ('k') | src/mips/assembler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698