| 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_X64_LITHIUM_CODEGEN_X64_H_ | 5 #ifndef V8_CRANKSHAFT_X64_LITHIUM_CODEGEN_X64_H_ |
| 6 #define V8_CRANKSHAFT_X64_LITHIUM_CODEGEN_X64_H_ | 6 #define V8_CRANKSHAFT_X64_LITHIUM_CODEGEN_X64_H_ |
| 7 | 7 |
| 8 | 8 |
| 9 #include "src/ast/scopes.h" | 9 #include "src/ast/scopes.h" |
| 10 #include "src/base/logging.h" | 10 #include "src/base/logging.h" |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 // Declare methods that deal with the individual node types. | 108 // Declare methods that deal with the individual node types. |
| 109 #define DECLARE_DO(type) void Do##type(L##type* node); | 109 #define DECLARE_DO(type) void Do##type(L##type* node); |
| 110 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) | 110 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) |
| 111 #undef DECLARE_DO | 111 #undef DECLARE_DO |
| 112 | 112 |
| 113 private: | 113 private: |
| 114 LPlatformChunk* chunk() const { return chunk_; } | 114 LPlatformChunk* chunk() const { return chunk_; } |
| 115 Scope* scope() const { return scope_; } | 115 Scope* scope() const { return scope_; } |
| 116 HGraph* graph() const { return chunk()->graph(); } | 116 HGraph* graph() const { return chunk()->graph(); } |
| 117 | 117 |
| 118 XMMRegister double_scratch0() const { return xmm0; } | 118 XMMRegister double_scratch0() const { return kScratchDoubleReg; } |
| 119 | 119 |
| 120 void EmitClassOfTest(Label* if_true, | 120 void EmitClassOfTest(Label* if_true, |
| 121 Label* if_false, | 121 Label* if_false, |
| 122 Handle<String> class_name, | 122 Handle<String> class_name, |
| 123 Register input, | 123 Register input, |
| 124 Register temporary, | 124 Register temporary, |
| 125 Register scratch); | 125 Register scratch); |
| 126 | 126 |
| 127 bool HasAllocatedStackSlots() const { | 127 bool HasAllocatedStackSlots() const { |
| 128 return chunk()->HasAllocatedStackSlots(); | 128 return chunk()->HasAllocatedStackSlots(); |
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 379 Label exit_; | 379 Label exit_; |
| 380 Label done_; | 380 Label done_; |
| 381 Label* external_exit_; | 381 Label* external_exit_; |
| 382 int instruction_index_; | 382 int instruction_index_; |
| 383 }; | 383 }; |
| 384 | 384 |
| 385 } // namespace internal | 385 } // namespace internal |
| 386 } // namespace v8 | 386 } // namespace v8 |
| 387 | 387 |
| 388 #endif // V8_CRANKSHAFT_X64_LITHIUM_CODEGEN_X64_H_ | 388 #endif // V8_CRANKSHAFT_X64_LITHIUM_CODEGEN_X64_H_ |
| OLD | NEW |