OLD | NEW |
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 1416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1427 // Level 1, 2 or 3 specifies CPU cache level. Level 0 specifies a | 1427 // Level 1, 2 or 3 specifies CPU cache level. Level 0 specifies a |
1428 // non-temporal | 1428 // non-temporal |
1429 void prefetch(const Operand& src, int level); | 1429 void prefetch(const Operand& src, int level); |
1430 // TODO(lrn): Need SFENCE for movnt? | 1430 // TODO(lrn): Need SFENCE for movnt? |
1431 | 1431 |
1432 // Check the code size generated from label to here. | 1432 // Check the code size generated from label to here. |
1433 int SizeOfCodeGeneratedSince(Label* label) { | 1433 int SizeOfCodeGeneratedSince(Label* label) { |
1434 return pc_offset() - label->pos(); | 1434 return pc_offset() - label->pos(); |
1435 } | 1435 } |
1436 | 1436 |
1437 // Mark generator continuation. | |
1438 void RecordGeneratorContinuation(); | |
1439 | |
1440 // Mark address of a debug break slot. | 1437 // Mark address of a debug break slot. |
1441 void RecordDebugBreakSlot(RelocInfo::Mode mode); | 1438 void RecordDebugBreakSlot(RelocInfo::Mode mode); |
1442 | 1439 |
1443 // Record a comment relocation entry that can be used by a disassembler. | 1440 // Record a comment relocation entry that can be used by a disassembler. |
1444 // Use --code-comments to enable. | 1441 // Use --code-comments to enable. |
1445 void RecordComment(const char* msg); | 1442 void RecordComment(const char* msg); |
1446 | 1443 |
1447 // Record a deoptimization reason that can be used by a log or cpu profiler. | 1444 // Record a deoptimization reason that can be used by a log or cpu profiler. |
1448 // Use --trace-deopt to enable. | 1445 // Use --trace-deopt to enable. |
1449 void RecordDeoptReason(DeoptimizeReason reason, SourcePosition position, | 1446 void RecordDeoptReason(DeoptimizeReason reason, SourcePosition position, |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1601 Assembler* assembler_; | 1598 Assembler* assembler_; |
1602 #ifdef DEBUG | 1599 #ifdef DEBUG |
1603 int space_before_; | 1600 int space_before_; |
1604 #endif | 1601 #endif |
1605 }; | 1602 }; |
1606 | 1603 |
1607 } // namespace internal | 1604 } // namespace internal |
1608 } // namespace v8 | 1605 } // namespace v8 |
1609 | 1606 |
1610 #endif // V8_IA32_ASSEMBLER_IA32_H_ | 1607 #endif // V8_IA32_ASSEMBLER_IA32_H_ |
OLD | NEW |