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 939 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
950 | 950 |
951 void cpuid(); | 951 void cpuid(); |
952 | 952 |
953 // TODO(lrn): Need SFENCE for movnt? | 953 // TODO(lrn): Need SFENCE for movnt? |
954 | 954 |
955 // Check the code size generated from label to here. | 955 // Check the code size generated from label to here. |
956 int SizeOfCodeGeneratedSince(Label* label) { | 956 int SizeOfCodeGeneratedSince(Label* label) { |
957 return pc_offset() - label->pos(); | 957 return pc_offset() - label->pos(); |
958 } | 958 } |
959 | 959 |
960 // Mark generator continuation. | |
961 void RecordGeneratorContinuation(); | |
962 | |
963 // Mark address of a debug break slot. | 960 // Mark address of a debug break slot. |
964 void RecordDebugBreakSlot(RelocInfo::Mode mode); | 961 void RecordDebugBreakSlot(RelocInfo::Mode mode); |
965 | 962 |
966 // Record a comment relocation entry that can be used by a disassembler. | 963 // Record a comment relocation entry that can be used by a disassembler. |
967 // Use --code-comments to enable. | 964 // Use --code-comments to enable. |
968 void RecordComment(const char* msg); | 965 void RecordComment(const char* msg); |
969 | 966 |
970 // Record a deoptimization reason that can be used by a log or cpu profiler. | 967 // Record a deoptimization reason that can be used by a log or cpu profiler. |
971 // Use --trace-deopt to enable. | 968 // Use --trace-deopt to enable. |
972 void RecordDeoptReason(DeoptimizeReason reason, SourcePosition position, | 969 void RecordDeoptReason(DeoptimizeReason reason, SourcePosition position, |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1104 Assembler* assembler_; | 1101 Assembler* assembler_; |
1105 #ifdef DEBUG | 1102 #ifdef DEBUG |
1106 int space_before_; | 1103 int space_before_; |
1107 #endif | 1104 #endif |
1108 }; | 1105 }; |
1109 | 1106 |
1110 } // namespace internal | 1107 } // namespace internal |
1111 } // namespace v8 | 1108 } // namespace v8 |
1112 | 1109 |
1113 #endif // V8_X87_ASSEMBLER_X87_H_ | 1110 #endif // V8_X87_ASSEMBLER_X87_H_ |
OLD | NEW |