| 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 1106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1117 // The buffer into which code and relocation info are generated. | 1117 // The buffer into which code and relocation info are generated. |
| 1118 byte* buffer_; | 1118 byte* buffer_; |
| 1119 int buffer_size_; | 1119 int buffer_size_; |
| 1120 // True if the assembler owns the buffer, false if buffer is external. | 1120 // True if the assembler owns the buffer, false if buffer is external. |
| 1121 bool own_buffer_; | 1121 bool own_buffer_; |
| 1122 | 1122 |
| 1123 // code generation | 1123 // code generation |
| 1124 byte* pc_; // the program counter; moves forward | 1124 byte* pc_; // the program counter; moves forward |
| 1125 RelocInfoWriter reloc_info_writer; | 1125 RelocInfoWriter reloc_info_writer; |
| 1126 | 1126 |
| 1127 // push-pop elimination | |
| 1128 byte* last_pc_; | |
| 1129 | |
| 1130 PositionsRecorder positions_recorder_; | 1127 PositionsRecorder positions_recorder_; |
| 1131 | 1128 |
| 1132 bool emit_debug_code_; | 1129 bool emit_debug_code_; |
| 1133 | 1130 |
| 1134 friend class PositionsRecorder; | 1131 friend class PositionsRecorder; |
| 1135 }; | 1132 }; |
| 1136 | 1133 |
| 1137 | 1134 |
| 1138 // Helper class that ensures that there is enough space for generating | 1135 // Helper class that ensures that there is enough space for generating |
| 1139 // instructions and relocation information. The constructor makes | 1136 // instructions and relocation information. The constructor makes |
| (...skipping 18 matching lines...) Expand all Loading... |
| 1158 private: | 1155 private: |
| 1159 Assembler* assembler_; | 1156 Assembler* assembler_; |
| 1160 #ifdef DEBUG | 1157 #ifdef DEBUG |
| 1161 int space_before_; | 1158 int space_before_; |
| 1162 #endif | 1159 #endif |
| 1163 }; | 1160 }; |
| 1164 | 1161 |
| 1165 } } // namespace v8::internal | 1162 } } // namespace v8::internal |
| 1166 | 1163 |
| 1167 #endif // V8_IA32_ASSEMBLER_IA32_H_ | 1164 #endif // V8_IA32_ASSEMBLER_IA32_H_ |
| OLD | NEW |