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

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

Issue 2451853002: Uniform and precise source positions for inlining (Closed)
Patch Set: fixed gcmole issue Created 4 years, 1 month 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
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 1428 matching lines...) Expand 10 before | Expand all | Expand 10 after
1439 1439
1440 // Mark address of a debug break slot. 1440 // Mark address of a debug break slot.
1441 void RecordDebugBreakSlot(RelocInfo::Mode mode); 1441 void RecordDebugBreakSlot(RelocInfo::Mode mode);
1442 1442
1443 // Record a comment relocation entry that can be used by a disassembler. 1443 // Record a comment relocation entry that can be used by a disassembler.
1444 // Use --code-comments to enable. 1444 // Use --code-comments to enable.
1445 void RecordComment(const char* msg); 1445 void RecordComment(const char* msg);
1446 1446
1447 // Record a deoptimization reason that can be used by a log or cpu profiler. 1447 // Record a deoptimization reason that can be used by a log or cpu profiler.
1448 // Use --trace-deopt to enable. 1448 // Use --trace-deopt to enable.
1449 void RecordDeoptReason(DeoptimizeReason reason, int raw_position, int id); 1449 void RecordDeoptReason(DeoptimizeReason reason, SourcePosition position,
1450 int id);
1450 1451
1451 // Writes a single byte or word of data in the code stream. Used for 1452 // Writes a single byte or word of data in the code stream. Used for
1452 // inline tables, e.g., jump-tables. 1453 // inline tables, e.g., jump-tables.
1453 void db(uint8_t data); 1454 void db(uint8_t data);
1454 void dd(uint32_t data); 1455 void dd(uint32_t data);
1455 void dq(uint64_t data); 1456 void dq(uint64_t data);
1456 void dp(uintptr_t data) { dd(data); } 1457 void dp(uintptr_t data) { dd(data); }
1457 void dd(Label* label); 1458 void dd(Label* label);
1458 1459
1459 // Check if there is less than kGap bytes available in the buffer. 1460 // Check if there is less than kGap bytes available in the buffer.
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
1600 Assembler* assembler_; 1601 Assembler* assembler_;
1601 #ifdef DEBUG 1602 #ifdef DEBUG
1602 int space_before_; 1603 int space_before_;
1603 #endif 1604 #endif
1604 }; 1605 };
1605 1606
1606 } // namespace internal 1607 } // namespace internal
1607 } // namespace v8 1608 } // namespace v8
1608 1609
1609 #endif // V8_IA32_ASSEMBLER_IA32_H_ 1610 #endif // V8_IA32_ASSEMBLER_IA32_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698