| 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_X87_LITHIUM_CODEGEN_X87_H_ | 5 #ifndef V8_X87_LITHIUM_CODEGEN_X87_H_ |
| 6 #define V8_X87_LITHIUM_CODEGEN_X87_H_ | 6 #define V8_X87_LITHIUM_CODEGEN_X87_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include "src/x87/lithium-x87.h" | 9 #include "src/x87/lithium-x87.h" |
| 10 | 10 |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 void WriteTranslation(LEnvironment* environment, Translation* translation); | 153 void WriteTranslation(LEnvironment* environment, Translation* translation); |
| 154 | 154 |
| 155 void EnsureRelocSpaceForDeoptimization(); | 155 void EnsureRelocSpaceForDeoptimization(); |
| 156 | 156 |
| 157 // Declare methods that deal with the individual node types. | 157 // Declare methods that deal with the individual node types. |
| 158 #define DECLARE_DO(type) void Do##type(L##type* node); | 158 #define DECLARE_DO(type) void Do##type(L##type* node); |
| 159 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) | 159 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) |
| 160 #undef DECLARE_DO | 160 #undef DECLARE_DO |
| 161 | 161 |
| 162 private: | 162 private: |
| 163 StrictMode strict_mode() const { return info()->strict_mode(); } | 163 LanguageMode language_mode() const { return info()->language_mode(); } |
| 164 | 164 |
| 165 Scope* scope() const { return scope_; } | 165 Scope* scope() const { return scope_; } |
| 166 | 166 |
| 167 void EmitClassOfTest(Label* if_true, | 167 void EmitClassOfTest(Label* if_true, |
| 168 Label* if_false, | 168 Label* if_false, |
| 169 Handle<String> class_name, | 169 Handle<String> class_name, |
| 170 Register input, | 170 Register input, |
| 171 Register temporary, | 171 Register temporary, |
| 172 Register temporary2); | 172 Register temporary2); |
| 173 | 173 |
| (...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 500 Label exit_; | 500 Label exit_; |
| 501 Label* external_exit_; | 501 Label* external_exit_; |
| 502 Label done_; | 502 Label done_; |
| 503 int instruction_index_; | 503 int instruction_index_; |
| 504 LCodeGen::X87Stack x87_stack_; | 504 LCodeGen::X87Stack x87_stack_; |
| 505 }; | 505 }; |
| 506 | 506 |
| 507 } } // namespace v8::internal | 507 } } // namespace v8::internal |
| 508 | 508 |
| 509 #endif // V8_X87_LITHIUM_CODEGEN_X87_H_ | 509 #endif // V8_X87_LITHIUM_CODEGEN_X87_H_ |
| OLD | NEW |