| 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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 HGraph* graph() const { return chunk_->graph(); } | 131 HGraph* graph() const { return chunk_->graph(); } |
| 132 MacroAssembler* masm() const { return masm_; } | 132 MacroAssembler* masm() const { return masm_; } |
| 133 | 133 |
| 134 int GetNextEmittedBlock(int block); | 134 int GetNextEmittedBlock(int block); |
| 135 LInstruction* GetNextInstruction(); | 135 LInstruction* GetNextInstruction(); |
| 136 | 136 |
| 137 void EmitClassOfTest(Label* if_true, | 137 void EmitClassOfTest(Label* if_true, |
| 138 Label* if_false, | 138 Label* if_false, |
| 139 Handle<String> class_name, | 139 Handle<String> class_name, |
| 140 Register input, | 140 Register input, |
| 141 Register temporary, | 141 Register temporary); |
| 142 Register temporary2); | |
| 143 | 142 |
| 144 int StackSlotCount() const { return chunk()->spill_slot_count(); } | 143 int StackSlotCount() const { return chunk()->spill_slot_count(); } |
| 145 int ParameterCount() const { return scope()->num_parameters(); } | 144 int ParameterCount() const { return scope()->num_parameters(); } |
| 146 | 145 |
| 147 void Abort(const char* format, ...); | 146 void Abort(const char* format, ...); |
| 148 void Comment(const char* format, ...); | 147 void Comment(const char* format, ...); |
| 149 | 148 |
| 150 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code); } | 149 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code); } |
| 151 | 150 |
| 152 // Code generation passes. Returns true if code generation should | 151 // Code generation passes. Returns true if code generation should |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 288 private: | 287 private: |
| 289 LCodeGen* codegen_; | 288 LCodeGen* codegen_; |
| 290 Label entry_; | 289 Label entry_; |
| 291 Label exit_; | 290 Label exit_; |
| 292 Label* external_exit_; | 291 Label* external_exit_; |
| 293 }; | 292 }; |
| 294 | 293 |
| 295 } } // namespace v8::internal | 294 } } // namespace v8::internal |
| 296 | 295 |
| 297 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ | 296 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ |
| OLD | NEW |