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