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

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

Issue 1956693002: [compiler] Pass inlining_id via relocation info. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased. Created 4 years, 7 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/disassembler.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 1420 matching lines...) Expand 10 before | Expand all | Expand 10 after
1431 1431
1432 // Mark address of a debug break slot. 1432 // Mark address of a debug break slot.
1433 void RecordDebugBreakSlot(RelocInfo::Mode mode); 1433 void RecordDebugBreakSlot(RelocInfo::Mode mode);
1434 1434
1435 // Record a comment relocation entry that can be used by a disassembler. 1435 // Record a comment relocation entry that can be used by a disassembler.
1436 // Use --code-comments to enable. 1436 // Use --code-comments to enable.
1437 void RecordComment(const char* msg); 1437 void RecordComment(const char* msg);
1438 1438
1439 // Record a deoptimization reason that can be used by a log or cpu profiler. 1439 // Record a deoptimization reason that can be used by a log or cpu profiler.
1440 // Use --trace-deopt to enable. 1440 // Use --trace-deopt to enable.
1441 void RecordDeoptReason(const int reason, int raw_position); 1441 void RecordDeoptReason(const int reason, int raw_position, int inlining_id);
1442 1442
1443 // Writes a single byte or word of data in the code stream. Used for 1443 // Writes a single byte or word of data in the code stream. Used for
1444 // inline tables, e.g., jump-tables. 1444 // inline tables, e.g., jump-tables.
1445 void db(uint8_t data); 1445 void db(uint8_t data);
1446 void dd(uint32_t data); 1446 void dd(uint32_t data);
1447 void dq(uint64_t data); 1447 void dq(uint64_t data);
1448 void dp(uintptr_t data) { dd(data); } 1448 void dp(uintptr_t data) { dd(data); }
1449 void dd(Label* label); 1449 void dd(Label* label);
1450 1450
1451 // Check if there is less than kGap bytes available in the buffer. 1451 // Check if there is less than kGap bytes available in the buffer.
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
1599 Assembler* assembler_; 1599 Assembler* assembler_;
1600 #ifdef DEBUG 1600 #ifdef DEBUG
1601 int space_before_; 1601 int space_before_;
1602 #endif 1602 #endif
1603 }; 1603 };
1604 1604
1605 } // namespace internal 1605 } // namespace internal
1606 } // namespace v8 1606 } // namespace v8
1607 1607
1608 #endif // V8_IA32_ASSEMBLER_IA32_H_ 1608 #endif // V8_IA32_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/disassembler.cc ('k') | src/mips/assembler-mips.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698