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 1599 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1610 void Print(); | 1610 void Print(); |
1611 | 1611 |
1612 // Check the code size generated from label to here. | 1612 // Check the code size generated from label to here. |
1613 int SizeOfCodeGeneratedSince(Label* label) { | 1613 int SizeOfCodeGeneratedSince(Label* label) { |
1614 return pc_offset() - label->pos(); | 1614 return pc_offset() - label->pos(); |
1615 } | 1615 } |
1616 | 1616 |
1617 // Mark address of the ExitJSFrame code. | 1617 // Mark address of the ExitJSFrame code. |
1618 void RecordJSReturn(); | 1618 void RecordJSReturn(); |
1619 | 1619 |
| 1620 // Mark generator continuation. |
| 1621 void RecordGeneratorContinuation(); |
| 1622 |
1620 // Mark address of a debug break slot. | 1623 // Mark address of a debug break slot. |
1621 void RecordDebugBreakSlot(); | 1624 void RecordDebugBreakSlot(); |
1622 void RecordDebugBreakSlotForCall(int argc); | 1625 void RecordDebugBreakSlotForCall(int argc); |
1623 void RecordDebugBreakSlotForConstructCall(); | 1626 void RecordDebugBreakSlotForConstructCall(); |
1624 | 1627 |
1625 // Record a comment relocation entry that can be used by a disassembler. | 1628 // Record a comment relocation entry that can be used by a disassembler. |
1626 // Use --code-comments to enable. | 1629 // Use --code-comments to enable. |
1627 void RecordComment(const char* msg); | 1630 void RecordComment(const char* msg); |
1628 | 1631 |
1629 // Record a deoptimization reason that can be used by a log or cpu profiler. | 1632 // Record a deoptimization reason that can be used by a log or cpu profiler. |
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2161 private: | 2164 private: |
2162 Assembler* assembler_; | 2165 Assembler* assembler_; |
2163 #ifdef DEBUG | 2166 #ifdef DEBUG |
2164 int space_before_; | 2167 int space_before_; |
2165 #endif | 2168 #endif |
2166 }; | 2169 }; |
2167 | 2170 |
2168 } } // namespace v8::internal | 2171 } } // namespace v8::internal |
2169 | 2172 |
2170 #endif // V8_X64_ASSEMBLER_X64_H_ | 2173 #endif // V8_X64_ASSEMBLER_X64_H_ |
OLD | NEW |