OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_ARM64_LITHIUM_CODEGEN_ARM64_H_ | 5 #ifndef V8_ARM64_LITHIUM_CODEGEN_ARM64_H_ |
6 #define V8_ARM64_LITHIUM_CODEGEN_ARM64_H_ | 6 #define V8_ARM64_LITHIUM_CODEGEN_ARM64_H_ |
7 | 7 |
8 #include "arm64/lithium-arm64.h" | 8 #include "arm64/lithium-arm64.h" |
9 | 9 |
10 #include "arm64/lithium-gap-resolver-arm64.h" | 10 #include "arm64/lithium-gap-resolver-arm64.h" |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 void DeoptimizeIfBitClear(Register rt, int bit, LEnvironment* environment); | 222 void DeoptimizeIfBitClear(Register rt, int bit, LEnvironment* environment); |
223 | 223 |
224 MemOperand PrepareKeyedExternalArrayOperand(Register key, | 224 MemOperand PrepareKeyedExternalArrayOperand(Register key, |
225 Register base, | 225 Register base, |
226 Register scratch, | 226 Register scratch, |
227 bool key_is_smi, | 227 bool key_is_smi, |
228 bool key_is_constant, | 228 bool key_is_constant, |
229 int constant_key, | 229 int constant_key, |
230 ElementsKind elements_kind, | 230 ElementsKind elements_kind, |
231 int additional_index); | 231 int additional_index); |
232 void CalcKeyedArrayBaseRegister(Register base, | 232 MemOperand PrepareKeyedArrayOperand(Register base, |
233 Register elements, | 233 Register elements, |
234 Register key, | 234 Register key, |
235 bool key_is_tagged, | 235 bool key_is_tagged, |
236 ElementsKind elements_kind); | 236 ElementsKind elements_kind, |
| 237 Representation representation, |
| 238 int additional_index); |
237 | 239 |
238 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, | 240 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, |
239 Safepoint::DeoptMode mode); | 241 Safepoint::DeoptMode mode); |
240 | 242 |
241 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } | 243 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } |
242 | 244 |
243 void Abort(BailoutReason reason); | 245 void Abort(BailoutReason reason); |
244 | 246 |
245 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); } | 247 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); } |
246 | 248 |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
461 | 463 |
462 protected: | 464 protected: |
463 MacroAssembler* masm() const { return codegen_->masm(); } | 465 MacroAssembler* masm() const { return codegen_->masm(); } |
464 | 466 |
465 LCodeGen* codegen_; | 467 LCodeGen* codegen_; |
466 }; | 468 }; |
467 | 469 |
468 } } // namespace v8::internal | 470 } } // namespace v8::internal |
469 | 471 |
470 #endif // V8_ARM64_LITHIUM_CODEGEN_ARM64_H_ | 472 #endif // V8_ARM64_LITHIUM_CODEGEN_ARM64_H_ |
OLD | NEW |