| 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_CRANKSHAFT_ARM64_LITHIUM_CODEGEN_ARM64_H_ | 5 #ifndef V8_CRANKSHAFT_ARM64_LITHIUM_CODEGEN_ARM64_H_ |
| 6 #define V8_CRANKSHAFT_ARM64_LITHIUM_CODEGEN_ARM64_H_ | 6 #define V8_CRANKSHAFT_ARM64_LITHIUM_CODEGEN_ARM64_H_ |
| 7 | 7 |
| 8 #include "src/crankshaft/arm64/lithium-arm64.h" | 8 #include "src/crankshaft/arm64/lithium-arm64.h" |
| 9 | 9 |
| 10 #include "src/ast/scopes.h" | 10 #include "src/ast/scopes.h" |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 // source object in the source register. | 179 // source object in the source register. |
| 180 void EmitDeepCopy(Handle<JSObject> object, | 180 void EmitDeepCopy(Handle<JSObject> object, |
| 181 Register result, | 181 Register result, |
| 182 Register source, | 182 Register source, |
| 183 Register scratch, | 183 Register scratch, |
| 184 int* offset, | 184 int* offset, |
| 185 AllocationSiteMode mode); | 185 AllocationSiteMode mode); |
| 186 | 186 |
| 187 template <class T> | 187 template <class T> |
| 188 void EmitVectorLoadICRegisters(T* instr); | 188 void EmitVectorLoadICRegisters(T* instr); |
| 189 template <class T> | |
| 190 void EmitVectorStoreICRegisters(T* instr); | |
| 191 | 189 |
| 192 // Emits optimized code for %_IsString(x). Preserves input register. | 190 // Emits optimized code for %_IsString(x). Preserves input register. |
| 193 // Returns the condition on which a final split to | 191 // Returns the condition on which a final split to |
| 194 // true and false label should be made, to optimize fallthrough. | 192 // true and false label should be made, to optimize fallthrough. |
| 195 Condition EmitIsString(Register input, Register temp1, Label* is_not_string, | 193 Condition EmitIsString(Register input, Register temp1, Label* is_not_string, |
| 196 SmiCheck check_needed); | 194 SmiCheck check_needed); |
| 197 | 195 |
| 198 MemOperand BuildSeqStringOperand(Register string, | 196 MemOperand BuildSeqStringOperand(Register string, |
| 199 Register temp, | 197 Register temp, |
| 200 LOperand* index, | 198 LOperand* index, |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 454 protected: | 452 protected: |
| 455 MacroAssembler* masm() const { return codegen_->masm(); } | 453 MacroAssembler* masm() const { return codegen_->masm(); } |
| 456 | 454 |
| 457 LCodeGen* codegen_; | 455 LCodeGen* codegen_; |
| 458 }; | 456 }; |
| 459 | 457 |
| 460 } // namespace internal | 458 } // namespace internal |
| 461 } // namespace v8 | 459 } // namespace v8 |
| 462 | 460 |
| 463 #endif // V8_CRANKSHAFT_ARM64_LITHIUM_CODEGEN_ARM64_H_ | 461 #endif // V8_CRANKSHAFT_ARM64_LITHIUM_CODEGEN_ARM64_H_ |
| OLD | NEW |