| 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_CRANKSHAFT_X87_LITHIUM_CODEGEN_X87_H_ | 5 #ifndef V8_CRANKSHAFT_X87_LITHIUM_CODEGEN_X87_H_ |
| 6 #define V8_CRANKSHAFT_X87_LITHIUM_CODEGEN_X87_H_ | 6 #define V8_CRANKSHAFT_X87_LITHIUM_CODEGEN_X87_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "src/ast/scopes.h" | 10 #include "src/ast/scopes.h" |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 void WriteTranslation(LEnvironment* environment, Translation* translation); | 143 void WriteTranslation(LEnvironment* environment, Translation* translation); |
| 144 | 144 |
| 145 void EnsureRelocSpaceForDeoptimization(); | 145 void EnsureRelocSpaceForDeoptimization(); |
| 146 | 146 |
| 147 // Declare methods that deal with the individual node types. | 147 // Declare methods that deal with the individual node types. |
| 148 #define DECLARE_DO(type) void Do##type(L##type* node); | 148 #define DECLARE_DO(type) void Do##type(L##type* node); |
| 149 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) | 149 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) |
| 150 #undef DECLARE_DO | 150 #undef DECLARE_DO |
| 151 | 151 |
| 152 private: | 152 private: |
| 153 LanguageMode language_mode() const { return info()->language_mode(); } | |
| 154 | |
| 155 Scope* scope() const { return scope_; } | 153 Scope* scope() const { return scope_; } |
| 156 | 154 |
| 157 void EmitClassOfTest(Label* if_true, | 155 void EmitClassOfTest(Label* if_true, |
| 158 Label* if_false, | 156 Label* if_false, |
| 159 Handle<String> class_name, | 157 Handle<String> class_name, |
| 160 Register input, | 158 Register input, |
| 161 Register temporary, | 159 Register temporary, |
| 162 Register temporary2); | 160 Register temporary2); |
| 163 | 161 |
| 164 bool HasAllocatedStackSlots() const { | 162 bool HasAllocatedStackSlots() const { |
| (...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 489 Label* external_exit_; | 487 Label* external_exit_; |
| 490 Label done_; | 488 Label done_; |
| 491 int instruction_index_; | 489 int instruction_index_; |
| 492 LCodeGen::X87Stack x87_stack_; | 490 LCodeGen::X87Stack x87_stack_; |
| 493 }; | 491 }; |
| 494 | 492 |
| 495 } // namespace internal | 493 } // namespace internal |
| 496 } // namespace v8 | 494 } // namespace v8 |
| 497 | 495 |
| 498 #endif // V8_CRANKSHAFT_X87_LITHIUM_CODEGEN_X87_H_ | 496 #endif // V8_CRANKSHAFT_X87_LITHIUM_CODEGEN_X87_H_ |
| OLD | NEW |