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 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 void DeoptimizeIfBitSet(Register rt, int bit, LEnvironment* environment); | 248 void DeoptimizeIfBitSet(Register rt, int bit, LEnvironment* environment); |
249 void DeoptimizeIfBitClear(Register rt, int bit, LEnvironment* environment); | 249 void DeoptimizeIfBitClear(Register rt, int bit, LEnvironment* environment); |
250 | 250 |
251 MemOperand PrepareKeyedExternalArrayOperand(Register key, | 251 MemOperand PrepareKeyedExternalArrayOperand(Register key, |
252 Register base, | 252 Register base, |
253 Register scratch, | 253 Register scratch, |
254 bool key_is_smi, | 254 bool key_is_smi, |
255 bool key_is_constant, | 255 bool key_is_constant, |
256 int constant_key, | 256 int constant_key, |
257 ElementsKind elements_kind, | 257 ElementsKind elements_kind, |
258 int additional_index); | 258 int base_offset); |
259 MemOperand PrepareKeyedArrayOperand(Register base, | 259 MemOperand PrepareKeyedArrayOperand(Register base, |
260 Register elements, | 260 Register elements, |
261 Register key, | 261 Register key, |
262 bool key_is_tagged, | 262 bool key_is_tagged, |
263 ElementsKind elements_kind, | 263 ElementsKind elements_kind, |
264 Representation representation, | 264 Representation representation, |
265 int additional_index); | 265 int base_offset); |
266 | 266 |
267 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, | 267 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, |
268 Safepoint::DeoptMode mode); | 268 Safepoint::DeoptMode mode); |
269 | 269 |
270 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } | 270 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } |
271 | 271 |
272 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); } | 272 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); } |
273 | 273 |
274 // Emit frame translation commands for an environment. | 274 // Emit frame translation commands for an environment. |
275 void WriteTranslation(LEnvironment* environment, Translation* translation); | 275 void WriteTranslation(LEnvironment* environment, Translation* translation); |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
497 | 497 |
498 protected: | 498 protected: |
499 MacroAssembler* masm() const { return codegen_->masm(); } | 499 MacroAssembler* masm() const { return codegen_->masm(); } |
500 | 500 |
501 LCodeGen* codegen_; | 501 LCodeGen* codegen_; |
502 }; | 502 }; |
503 | 503 |
504 } } // namespace v8::internal | 504 } } // namespace v8::internal |
505 | 505 |
506 #endif // V8_ARM64_LITHIUM_CODEGEN_ARM64_H_ | 506 #endif // V8_ARM64_LITHIUM_CODEGEN_ARM64_H_ |
OLD | NEW |