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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 Register elements, | 241 Register elements, |
242 Register key, | 242 Register key, |
243 bool key_is_tagged, | 243 bool key_is_tagged, |
244 ElementsKind elements_kind); | 244 ElementsKind elements_kind); |
245 | 245 |
246 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, | 246 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, |
247 Safepoint::DeoptMode mode); | 247 Safepoint::DeoptMode mode); |
248 | 248 |
249 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } | 249 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } |
250 | 250 |
251 void Abort(BailoutReason reason); | |
252 | |
253 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); } | 251 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); } |
254 | 252 |
255 // Emit frame translation commands for an environment. | 253 // Emit frame translation commands for an environment. |
256 void WriteTranslation(LEnvironment* environment, Translation* translation); | 254 void WriteTranslation(LEnvironment* environment, Translation* translation); |
257 | 255 |
258 void AddToTranslation(LEnvironment* environment, | 256 void AddToTranslation(LEnvironment* environment, |
259 Translation* translation, | 257 Translation* translation, |
260 LOperand* op, | 258 LOperand* op, |
261 bool is_tagged, | 259 bool is_tagged, |
262 bool is_uint32, | 260 bool is_uint32, |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
478 | 476 |
479 protected: | 477 protected: |
480 MacroAssembler* masm() const { return codegen_->masm(); } | 478 MacroAssembler* masm() const { return codegen_->masm(); } |
481 | 479 |
482 LCodeGen* codegen_; | 480 LCodeGen* codegen_; |
483 }; | 481 }; |
484 | 482 |
485 } } // namespace v8::internal | 483 } } // namespace v8::internal |
486 | 484 |
487 #endif // V8_ARM64_LITHIUM_CODEGEN_ARM64_H_ | 485 #endif // V8_ARM64_LITHIUM_CODEGEN_ARM64_H_ |
OLD | NEW |