OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 | 84 |
85 // Support for converting LOperands to assembler types. | 85 // Support for converting LOperands to assembler types. |
86 Register ToRegister(LOperand* op) const; | 86 Register ToRegister(LOperand* op) const; |
87 XMMRegister ToDoubleRegister(LOperand* op) const; | 87 XMMRegister ToDoubleRegister(LOperand* op) const; |
88 bool IsInteger32Constant(LConstantOperand* op) const; | 88 bool IsInteger32Constant(LConstantOperand* op) const; |
89 bool IsSmiConstant(LConstantOperand* op) const; | 89 bool IsSmiConstant(LConstantOperand* op) const; |
90 int32_t ToInteger32(LConstantOperand* op) const; | 90 int32_t ToInteger32(LConstantOperand* op) const; |
91 Smi* ToSmi(LConstantOperand* op) const; | 91 Smi* ToSmi(LConstantOperand* op) const; |
92 double ToDouble(LConstantOperand* op) const; | 92 double ToDouble(LConstantOperand* op) const; |
93 ExternalReference ToExternalReference(LConstantOperand* op) const; | 93 ExternalReference ToExternalReference(LConstantOperand* op) const; |
94 bool IsTaggedConstant(LConstantOperand* op) const; | |
95 Handle<Object> ToHandle(LConstantOperand* op) const; | 94 Handle<Object> ToHandle(LConstantOperand* op) const; |
96 Operand ToOperand(LOperand* op) const; | 95 Operand ToOperand(LOperand* op) const; |
97 | 96 |
98 // Try to generate code for the entire chunk, but it may fail if the | 97 // Try to generate code for the entire chunk, but it may fail if the |
99 // chunk contains constructs we cannot handle. Returns true if the | 98 // chunk contains constructs we cannot handle. Returns true if the |
100 // code generation attempt succeeded. | 99 // code generation attempt succeeded. |
101 bool GenerateCode(); | 100 bool GenerateCode(); |
102 | 101 |
103 // Finish the code by setting stack height, safepoint, and bailout | 102 // Finish the code by setting stack height, safepoint, and bailout |
104 // information on it. | 103 // information on it. |
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
410 Label entry_; | 409 Label entry_; |
411 Label exit_; | 410 Label exit_; |
412 Label done_; | 411 Label done_; |
413 Label* external_exit_; | 412 Label* external_exit_; |
414 int instruction_index_; | 413 int instruction_index_; |
415 }; | 414 }; |
416 | 415 |
417 } } // namespace v8::internal | 416 } } // namespace v8::internal |
418 | 417 |
419 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ | 418 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ |
OLD | NEW |