OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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_X87_LITHIUM_CODEGEN_X87_H_ | 5 #ifndef V8_X87_LITHIUM_CODEGEN_X87_H_ |
6 #define V8_X87_LITHIUM_CODEGEN_X87_H_ | 6 #define V8_X87_LITHIUM_CODEGEN_X87_H_ |
7 | 7 |
8 #include "src/x87/lithium-x87.h" | 8 #include "src/x87/lithium-x87.h" |
9 | 9 |
10 #include "src/base/logging.h" | 10 #include "src/base/logging.h" |
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 AllocationSiteMode mode); | 337 AllocationSiteMode mode); |
338 | 338 |
339 void EnsureSpaceForLazyDeopt(int space_needed) V8_OVERRIDE; | 339 void EnsureSpaceForLazyDeopt(int space_needed) V8_OVERRIDE; |
340 void DoLoadKeyedExternalArray(LLoadKeyed* instr); | 340 void DoLoadKeyedExternalArray(LLoadKeyed* instr); |
341 void DoLoadKeyedFixedDoubleArray(LLoadKeyed* instr); | 341 void DoLoadKeyedFixedDoubleArray(LLoadKeyed* instr); |
342 void DoLoadKeyedFixedArray(LLoadKeyed* instr); | 342 void DoLoadKeyedFixedArray(LLoadKeyed* instr); |
343 void DoStoreKeyedExternalArray(LStoreKeyed* instr); | 343 void DoStoreKeyedExternalArray(LStoreKeyed* instr); |
344 void DoStoreKeyedFixedDoubleArray(LStoreKeyed* instr); | 344 void DoStoreKeyedFixedDoubleArray(LStoreKeyed* instr); |
345 void DoStoreKeyedFixedArray(LStoreKeyed* instr); | 345 void DoStoreKeyedFixedArray(LStoreKeyed* instr); |
346 | 346 |
| 347 template <class T> |
| 348 void EmitVectorLoadICRegisters(T* instr); |
| 349 |
347 void EmitReturn(LReturn* instr, bool dynamic_frame_alignment); | 350 void EmitReturn(LReturn* instr, bool dynamic_frame_alignment); |
348 | 351 |
349 // Emits code for pushing either a tagged constant, a (non-double) | 352 // Emits code for pushing either a tagged constant, a (non-double) |
350 // register, or a stack slot operand. | 353 // register, or a stack slot operand. |
351 void EmitPushTaggedOperand(LOperand* operand); | 354 void EmitPushTaggedOperand(LOperand* operand); |
352 | 355 |
353 void X87Fld(Operand src, X87OperandType opts); | 356 void X87Fld(Operand src, X87OperandType opts); |
354 | 357 |
355 void EmitFlushX87ForDeopt(); | 358 void EmitFlushX87ForDeopt(); |
356 void FlushX87StackIfNecessary(LInstruction* instr) { | 359 void FlushX87StackIfNecessary(LInstruction* instr) { |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
495 Label exit_; | 498 Label exit_; |
496 Label* external_exit_; | 499 Label* external_exit_; |
497 Label done_; | 500 Label done_; |
498 int instruction_index_; | 501 int instruction_index_; |
499 LCodeGen::X87Stack x87_stack_; | 502 LCodeGen::X87Stack x87_stack_; |
500 }; | 503 }; |
501 | 504 |
502 } } // namespace v8::internal | 505 } } // namespace v8::internal |
503 | 506 |
504 #endif // V8_X87_LITHIUM_CODEGEN_X87_H_ | 507 #endif // V8_X87_LITHIUM_CODEGEN_X87_H_ |
OLD | NEW |