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 945 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
956 | 956 |
957 // Mark address of a debug break slot. | 957 // Mark address of a debug break slot. |
958 void RecordDebugBreakSlot(RelocInfo::Mode mode); | 958 void RecordDebugBreakSlot(RelocInfo::Mode mode); |
959 | 959 |
960 // Record a comment relocation entry that can be used by a disassembler. | 960 // Record a comment relocation entry that can be used by a disassembler. |
961 // Use --code-comments to enable. | 961 // Use --code-comments to enable. |
962 void RecordComment(const char* msg); | 962 void RecordComment(const char* msg); |
963 | 963 |
964 // Record a deoptimization reason that can be used by a log or cpu profiler. | 964 // Record a deoptimization reason that can be used by a log or cpu profiler. |
965 // Use --trace-deopt to enable. | 965 // Use --trace-deopt to enable. |
966 void RecordDeoptReason(const int reason, int raw_position); | 966 void RecordDeoptReason(const int reason, int raw_position, int inlining_id); |
967 | 967 |
968 // Writes a single byte or word of data in the code stream. Used for | 968 // Writes a single byte or word of data in the code stream. Used for |
969 // inline tables, e.g., jump-tables. | 969 // inline tables, e.g., jump-tables. |
970 void db(uint8_t data); | 970 void db(uint8_t data); |
971 void dd(uint32_t data); | 971 void dd(uint32_t data); |
972 void dq(uint64_t data); | 972 void dq(uint64_t data); |
973 void dp(uintptr_t data) { dd(data); } | 973 void dp(uintptr_t data) { dd(data); } |
974 void dd(Label* label); | 974 void dd(Label* label); |
975 | 975 |
976 // Check if there is less than kGap bytes available in the buffer. | 976 // Check if there is less than kGap bytes available in the buffer. |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1104 Assembler* assembler_; | 1104 Assembler* assembler_; |
1105 #ifdef DEBUG | 1105 #ifdef DEBUG |
1106 int space_before_; | 1106 int space_before_; |
1107 #endif | 1107 #endif |
1108 }; | 1108 }; |
1109 | 1109 |
1110 } // namespace internal | 1110 } // namespace internal |
1111 } // namespace v8 | 1111 } // namespace v8 |
1112 | 1112 |
1113 #endif // V8_X87_ASSEMBLER_X87_H_ | 1113 #endif // V8_X87_ASSEMBLER_X87_H_ |
OLD | NEW |