| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 scope_(info->scope()), | 59 scope_(info->scope()), |
| 60 status_(UNUSED), | 60 status_(UNUSED), |
| 61 deferred_(8), | 61 deferred_(8), |
| 62 osr_pc_offset_(-1), | 62 osr_pc_offset_(-1), |
| 63 resolver_(this) { | 63 resolver_(this) { |
| 64 PopulateDeoptimizationLiteralsWithInlinedFunctions(); | 64 PopulateDeoptimizationLiteralsWithInlinedFunctions(); |
| 65 } | 65 } |
| 66 | 66 |
| 67 // Simple accessors. | 67 // Simple accessors. |
| 68 MacroAssembler* masm() const { return masm_; } | 68 MacroAssembler* masm() const { return masm_; } |
| 69 CompilationInfo* info() const { return info_; } |
| 69 Isolate* isolate() const { return info_->isolate(); } | 70 Isolate* isolate() const { return info_->isolate(); } |
| 70 CompilationInfo* info() const { return info_; } | 71 Factory* factory() const { return isolate()->factory(); } |
| 72 Heap* heap() const { return isolate()->heap(); } |
| 71 | 73 |
| 72 // Support for converting LOperands to assembler types. | 74 // Support for converting LOperands to assembler types. |
| 73 Register ToRegister(LOperand* op) const; | 75 Register ToRegister(LOperand* op) const; |
| 74 XMMRegister ToDoubleRegister(LOperand* op) const; | 76 XMMRegister ToDoubleRegister(LOperand* op) const; |
| 75 bool IsInteger32Constant(LConstantOperand* op) const; | 77 bool IsInteger32Constant(LConstantOperand* op) const; |
| 76 int ToInteger32(LConstantOperand* op) const; | 78 int ToInteger32(LConstantOperand* op) const; |
| 77 bool IsTaggedConstant(LConstantOperand* op) const; | 79 bool IsTaggedConstant(LConstantOperand* op) const; |
| 78 Handle<Object> ToHandle(LConstantOperand* op) const; | 80 Handle<Object> ToHandle(LConstantOperand* op) const; |
| 79 Operand ToOperand(LOperand* op) const; | 81 Operand ToOperand(LOperand* op) const; |
| 80 | 82 |
| (...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 private: | 304 private: |
| 303 LCodeGen* codegen_; | 305 LCodeGen* codegen_; |
| 304 Label entry_; | 306 Label entry_; |
| 305 Label exit_; | 307 Label exit_; |
| 306 Label* external_exit_; | 308 Label* external_exit_; |
| 307 }; | 309 }; |
| 308 | 310 |
| 309 } } // namespace v8::internal | 311 } } // namespace v8::internal |
| 310 | 312 |
| 311 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ | 313 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ |
| OLD | NEW |