| 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 917 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 928 | 928 |
| 929 // Mark address of a debug break slot. | 929 // Mark address of a debug break slot. |
| 930 void RecordDebugBreakSlot(RelocInfo::Mode mode); | 930 void RecordDebugBreakSlot(RelocInfo::Mode mode); |
| 931 | 931 |
| 932 // Record a comment relocation entry that can be used by a disassembler. | 932 // Record a comment relocation entry that can be used by a disassembler. |
| 933 // Use --code-comments to enable. | 933 // Use --code-comments to enable. |
| 934 void RecordComment(const char* msg); | 934 void RecordComment(const char* msg); |
| 935 | 935 |
| 936 // Record a deoptimization reason that can be used by a log or cpu profiler. | 936 // Record a deoptimization reason that can be used by a log or cpu profiler. |
| 937 // Use --trace-deopt to enable. | 937 // Use --trace-deopt to enable. |
| 938 void RecordDeoptReason(const int reason, const SourcePosition position); | 938 void RecordDeoptReason(const int reason, int raw_position); |
| 939 | 939 |
| 940 // Writes a single byte or word of data in the code stream. Used for | 940 // Writes a single byte or word of data in the code stream. Used for |
| 941 // inline tables, e.g., jump-tables. | 941 // inline tables, e.g., jump-tables. |
| 942 void db(uint8_t data); | 942 void db(uint8_t data); |
| 943 void dd(uint32_t data); | 943 void dd(uint32_t data); |
| 944 void dq(uint64_t data); | 944 void dq(uint64_t data); |
| 945 void dp(uintptr_t data) { dd(data); } | 945 void dp(uintptr_t data) { dd(data); } |
| 946 void dd(Label* label); | 946 void dd(Label* label); |
| 947 | 947 |
| 948 // Check if there is less than kGap bytes available in the buffer. | 948 // Check if there is less than kGap bytes available in the buffer. |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1073 Assembler* assembler_; | 1073 Assembler* assembler_; |
| 1074 #ifdef DEBUG | 1074 #ifdef DEBUG |
| 1075 int space_before_; | 1075 int space_before_; |
| 1076 #endif | 1076 #endif |
| 1077 }; | 1077 }; |
| 1078 | 1078 |
| 1079 } // namespace internal | 1079 } // namespace internal |
| 1080 } // namespace v8 | 1080 } // namespace v8 |
| 1081 | 1081 |
| 1082 #endif // V8_X87_ASSEMBLER_X87_H_ | 1082 #endif // V8_X87_ASSEMBLER_X87_H_ |
| OLD | NEW |