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

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

Issue 1484893003: [debugger] simplify reloc info for debug break slots. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years 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/full-codegen/x87/full-codegen-x87.cc ('k') | src/mips/assembler-mips.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 1382 matching lines...) Expand 10 before | Expand all | Expand 10 after
1393 1393
1394 // Check the code size generated from label to here. 1394 // Check the code size generated from label to here.
1395 int SizeOfCodeGeneratedSince(Label* label) { 1395 int SizeOfCodeGeneratedSince(Label* label) {
1396 return pc_offset() - label->pos(); 1396 return pc_offset() - label->pos();
1397 } 1397 }
1398 1398
1399 // Mark generator continuation. 1399 // Mark generator continuation.
1400 void RecordGeneratorContinuation(); 1400 void RecordGeneratorContinuation();
1401 1401
1402 // Mark address of a debug break slot. 1402 // Mark address of a debug break slot.
1403 void RecordDebugBreakSlot(RelocInfo::Mode mode, int argc = 0); 1403 void RecordDebugBreakSlot(RelocInfo::Mode mode);
1404 1404
1405 // Record a comment relocation entry that can be used by a disassembler. 1405 // Record a comment relocation entry that can be used by a disassembler.
1406 // Use --code-comments to enable. 1406 // Use --code-comments to enable.
1407 void RecordComment(const char* msg); 1407 void RecordComment(const char* msg);
1408 1408
1409 // Record a deoptimization reason that can be used by a log or cpu profiler. 1409 // Record a deoptimization reason that can be used by a log or cpu profiler.
1410 // Use --trace-deopt to enable. 1410 // Use --trace-deopt to enable.
1411 void RecordDeoptReason(const int reason, const SourcePosition position); 1411 void RecordDeoptReason(const int reason, const SourcePosition position);
1412 1412
1413 // Writes a single byte or word of data in the code stream. Used for 1413 // Writes a single byte or word of data in the code stream. Used for
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
1566 Assembler* assembler_; 1566 Assembler* assembler_;
1567 #ifdef DEBUG 1567 #ifdef DEBUG
1568 int space_before_; 1568 int space_before_;
1569 #endif 1569 #endif
1570 }; 1570 };
1571 1571
1572 } // namespace internal 1572 } // namespace internal
1573 } // namespace v8 1573 } // namespace v8
1574 1574
1575 #endif // V8_IA32_ASSEMBLER_IA32_H_ 1575 #endif // V8_IA32_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/full-codegen/x87/full-codegen-x87.cc ('k') | src/mips/assembler-mips.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698