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 1159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1170 bool IsPrevInstrCompactBranch() { return prev_instr_compact_branch_; } | 1170 bool IsPrevInstrCompactBranch() { return prev_instr_compact_branch_; } |
1171 | 1171 |
1172 inline int UnboundLabelsCount() { return unbound_labels_count_; } | 1172 inline int UnboundLabelsCount() { return unbound_labels_count_; } |
1173 | 1173 |
1174 protected: | 1174 protected: |
1175 // Load Scaled Address instruction. | 1175 // Load Scaled Address instruction. |
1176 void lsa(Register rd, Register rt, Register rs, uint8_t sa); | 1176 void lsa(Register rd, Register rt, Register rs, uint8_t sa); |
1177 | 1177 |
1178 // Helpers. | 1178 // Helpers. |
1179 void LoadRegPlusOffsetToAt(const MemOperand& src); | 1179 void LoadRegPlusOffsetToAt(const MemOperand& src); |
| 1180 int32_t LoadRegPlusUpperOffsetPartToAt(const MemOperand& src); |
| 1181 int32_t LoadUpperOffsetForTwoMemoryAccesses(const MemOperand& src); |
1180 | 1182 |
1181 // Relocation for a type-recording IC has the AST id added to it. This | 1183 // Relocation for a type-recording IC has the AST id added to it. This |
1182 // member variable is a way to pass the information from the call site to | 1184 // member variable is a way to pass the information from the call site to |
1183 // the relocation info. | 1185 // the relocation info. |
1184 TypeFeedbackId recorded_ast_id_; | 1186 TypeFeedbackId recorded_ast_id_; |
1185 | 1187 |
1186 int32_t buffer_space() const { return reloc_info_writer.pos() - pc_; } | 1188 int32_t buffer_space() const { return reloc_info_writer.pos() - pc_; } |
1187 | 1189 |
1188 // Decode branch instruction at pos and return branch target pos. | 1190 // Decode branch instruction at pos and return branch target pos. |
1189 int target_at(int pos, bool is_internal); | 1191 int target_at(int pos, bool is_internal); |
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1472 public: | 1474 public: |
1473 explicit EnsureSpace(Assembler* assembler) { | 1475 explicit EnsureSpace(Assembler* assembler) { |
1474 assembler->CheckBuffer(); | 1476 assembler->CheckBuffer(); |
1475 } | 1477 } |
1476 }; | 1478 }; |
1477 | 1479 |
1478 } // namespace internal | 1480 } // namespace internal |
1479 } // namespace v8 | 1481 } // namespace v8 |
1480 | 1482 |
1481 #endif // V8_ARM_ASSEMBLER_MIPS_H_ | 1483 #endif // V8_ARM_ASSEMBLER_MIPS_H_ |
OLD | NEW |