| 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 923 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 934 | 934 |
| 935 // Mark address of a debug break slot. | 935 // Mark address of a debug break slot. |
| 936 void RecordDebugBreakSlot(); | 936 void RecordDebugBreakSlot(); |
| 937 | 937 |
| 938 // Record a comment relocation entry that can be used by a disassembler. | 938 // Record a comment relocation entry that can be used by a disassembler. |
| 939 // Use --code-comments to enable. | 939 // Use --code-comments to enable. |
| 940 void RecordComment(const char* msg); | 940 void RecordComment(const char* msg); |
| 941 | 941 |
| 942 // Record a deoptimization reason that can be used by a log or cpu profiler. | 942 // Record a deoptimization reason that can be used by a log or cpu profiler. |
| 943 // Use --trace-deopt to enable. | 943 // Use --trace-deopt to enable. |
| 944 void RecordDeoptReason(const int reason, const int raw_position); | 944 void RecordDeoptReason(const int reason, const SourcePosition position); |
| 945 | 945 |
| 946 // Writes a single byte or word of data in the code stream. Used for | 946 // Writes a single byte or word of data in the code stream. Used for |
| 947 // inline tables, e.g., jump-tables. | 947 // inline tables, e.g., jump-tables. |
| 948 void db(uint8_t data); | 948 void db(uint8_t data); |
| 949 void dd(uint32_t data); | 949 void dd(uint32_t data); |
| 950 void dd(Label* label); | 950 void dd(Label* label); |
| 951 | 951 |
| 952 // Check if there is less than kGap bytes available in the buffer. | 952 // Check if there is less than kGap bytes available in the buffer. |
| 953 // If this is the case, we need to grow the buffer before emitting | 953 // If this is the case, we need to grow the buffer before emitting |
| 954 // an instruction or relocation information. | 954 // an instruction or relocation information. |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1074 private: | 1074 private: |
| 1075 Assembler* assembler_; | 1075 Assembler* assembler_; |
| 1076 #ifdef DEBUG | 1076 #ifdef DEBUG |
| 1077 int space_before_; | 1077 int space_before_; |
| 1078 #endif | 1078 #endif |
| 1079 }; | 1079 }; |
| 1080 | 1080 |
| 1081 } } // namespace v8::internal | 1081 } } // namespace v8::internal |
| 1082 | 1082 |
| 1083 #endif // V8_X87_ASSEMBLER_X87_H_ | 1083 #endif // V8_X87_ASSEMBLER_X87_H_ |
| OLD | NEW |