OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 1189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1200 LoadRelocatedValue(rt, operand, LDR_x_lit); | 1200 LoadRelocatedValue(rt, operand, LDR_x_lit); |
1201 } | 1201 } |
1202 | 1202 |
1203 | 1203 |
1204 inline void Assembler::CheckBuffer() { | 1204 inline void Assembler::CheckBuffer() { |
1205 ASSERT(pc_ < (buffer_ + buffer_size_)); | 1205 ASSERT(pc_ < (buffer_ + buffer_size_)); |
1206 if (buffer_space() < kGap) { | 1206 if (buffer_space() < kGap) { |
1207 GrowBuffer(); | 1207 GrowBuffer(); |
1208 } | 1208 } |
1209 if (pc_offset() >= next_veneer_pool_check_) { | 1209 if (pc_offset() >= next_veneer_pool_check_) { |
1210 CheckVeneerPool(true); | 1210 CheckVeneerPool(false, true); |
1211 } | 1211 } |
1212 if (pc_offset() >= next_constant_pool_check_) { | 1212 if (pc_offset() >= next_constant_pool_check_) { |
1213 CheckConstPool(false, true); | 1213 CheckConstPool(false, true); |
1214 } | 1214 } |
1215 } | 1215 } |
1216 | 1216 |
1217 | 1217 |
1218 TypeFeedbackId Assembler::RecordedAstId() { | 1218 TypeFeedbackId Assembler::RecordedAstId() { |
1219 ASSERT(!recorded_ast_id_.IsNone()); | 1219 ASSERT(!recorded_ast_id_.IsNone()); |
1220 return recorded_ast_id_; | 1220 return recorded_ast_id_; |
1221 } | 1221 } |
1222 | 1222 |
1223 | 1223 |
1224 void Assembler::ClearRecordedAstId() { | 1224 void Assembler::ClearRecordedAstId() { |
1225 recorded_ast_id_ = TypeFeedbackId::None(); | 1225 recorded_ast_id_ = TypeFeedbackId::None(); |
1226 } | 1226 } |
1227 | 1227 |
1228 | 1228 |
1229 } } // namespace v8::internal | 1229 } } // namespace v8::internal |
1230 | 1230 |
1231 #endif // V8_A64_ASSEMBLER_A64_INL_H_ | 1231 #endif // V8_A64_ASSEMBLER_A64_INL_H_ |
OLD | NEW |