| 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_IA32_LITHIUM_CODEGEN_IA32_H_ | 5 #ifndef V8_IA32_LITHIUM_CODEGEN_IA32_H_ |
| 6 #define V8_IA32_LITHIUM_CODEGEN_IA32_H_ | 6 #define V8_IA32_LITHIUM_CODEGEN_IA32_H_ |
| 7 | 7 |
| 8 #include "src/ia32/lithium-ia32.h" | 8 #include "src/ia32/lithium-ia32.h" |
| 9 | 9 |
| 10 #include "src/base/logging.h" | 10 #include "src/base/logging.h" |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 void WriteTranslation(LEnvironment* environment, Translation* translation); | 119 void WriteTranslation(LEnvironment* environment, Translation* translation); |
| 120 | 120 |
| 121 void EnsureRelocSpaceForDeoptimization(); | 121 void EnsureRelocSpaceForDeoptimization(); |
| 122 | 122 |
| 123 // Declare methods that deal with the individual node types. | 123 // Declare methods that deal with the individual node types. |
| 124 #define DECLARE_DO(type) void Do##type(L##type* node); | 124 #define DECLARE_DO(type) void Do##type(L##type* node); |
| 125 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) | 125 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) |
| 126 #undef DECLARE_DO | 126 #undef DECLARE_DO |
| 127 | 127 |
| 128 private: | 128 private: |
| 129 StrictMode strict_mode() const { return info()->strict_mode(); } | 129 LanguageMode language_mode() const { return info()->language_mode(); } |
| 130 | 130 |
| 131 Scope* scope() const { return scope_; } | 131 Scope* scope() const { return scope_; } |
| 132 | 132 |
| 133 XMMRegister double_scratch0() const { return xmm0; } | 133 XMMRegister double_scratch0() const { return xmm0; } |
| 134 | 134 |
| 135 void EmitClassOfTest(Label* if_true, | 135 void EmitClassOfTest(Label* if_true, |
| 136 Label* if_false, | 136 Label* if_false, |
| 137 Handle<String> class_name, | 137 Handle<String> class_name, |
| 138 Register input, | 138 Register input, |
| 139 Register temporary, | 139 Register temporary, |
| (...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 400 Label entry_; | 400 Label entry_; |
| 401 Label exit_; | 401 Label exit_; |
| 402 Label* external_exit_; | 402 Label* external_exit_; |
| 403 Label done_; | 403 Label done_; |
| 404 int instruction_index_; | 404 int instruction_index_; |
| 405 }; | 405 }; |
| 406 | 406 |
| 407 } } // namespace v8::internal | 407 } } // namespace v8::internal |
| 408 | 408 |
| 409 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ | 409 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ |
| OLD | NEW |