| 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 | 962 |
| 960 // 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. |
| 961 // Use --code-comments to enable. | 964 // Use --code-comments to enable. |
| 962 void RecordComment(const char* msg); | 965 void RecordComment(const char* msg); |
| 963 | 966 |
| 964 // 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. |
| 965 // Use --trace-deopt to enable. | 968 // Use --trace-deopt to enable. |
| 966 void RecordDeoptReason(const int reason, const SourcePosition position); | 969 void RecordDeoptReason(const int reason, const SourcePosition position); |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1100 private: | 1103 private: |
| 1101 Assembler* assembler_; | 1104 Assembler* assembler_; |
| 1102 #ifdef DEBUG | 1105 #ifdef DEBUG |
| 1103 int space_before_; | 1106 int space_before_; |
| 1104 #endif | 1107 #endif |
| 1105 }; | 1108 }; |
| 1106 | 1109 |
| 1107 } } // namespace v8::internal | 1110 } } // namespace v8::internal |
| 1108 | 1111 |
| 1109 #endif // V8_X87_ASSEMBLER_X87_H_ | 1112 #endif // V8_X87_ASSEMBLER_X87_H_ |
| OLD | NEW |