| 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 deferred_(8), | 58 deferred_(8), |
| 59 osr_pc_offset_(-1), | 59 osr_pc_offset_(-1), |
| 60 resolver_(this) { | 60 resolver_(this) { |
| 61 PopulateDeoptimizationLiteralsWithInlinedFunctions(); | 61 PopulateDeoptimizationLiteralsWithInlinedFunctions(); |
| 62 } | 62 } |
| 63 | 63 |
| 64 | 64 |
| 65 // Simple accessors. | 65 // Simple accessors. |
| 66 MacroAssembler* masm() const { return masm_; } | 66 MacroAssembler* masm() const { return masm_; } |
| 67 CompilationInfo* info() const { return info_; } | 67 CompilationInfo* info() const { return info_; } |
| 68 Isolate* isolate() const { return info_->isolate(); } |
| 69 Factory* factory() const { return isolate()->factory(); } |
| 70 Heap* heap() const { return isolate()->heap(); } |
| 68 | 71 |
| 69 // Support for converting LOperands to assembler types. | 72 // Support for converting LOperands to assembler types. |
| 70 // LOperand must be a register. | 73 // LOperand must be a register. |
| 71 Register ToRegister(LOperand* op) const; | 74 Register ToRegister(LOperand* op) const; |
| 72 | 75 |
| 73 // LOperand is loaded into scratch, unless already a register. | 76 // LOperand is loaded into scratch, unless already a register. |
| 74 Register EmitLoadRegister(LOperand* op, Register scratch); | 77 Register EmitLoadRegister(LOperand* op, Register scratch); |
| 75 | 78 |
| 76 // LOperand must be a double register. | 79 // LOperand must be a double register. |
| 77 DoubleRegister ToDoubleRegister(LOperand* op) const; | 80 DoubleRegister ToDoubleRegister(LOperand* op) const; |
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 312 private: | 315 private: |
| 313 LCodeGen* codegen_; | 316 LCodeGen* codegen_; |
| 314 Label entry_; | 317 Label entry_; |
| 315 Label exit_; | 318 Label exit_; |
| 316 Label* external_exit_; | 319 Label* external_exit_; |
| 317 }; | 320 }; |
| 318 | 321 |
| 319 } } // namespace v8::internal | 322 } } // namespace v8::internal |
| 320 | 323 |
| 321 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ | 324 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ |
| OLD | NEW |