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_X64_LITHIUM_CODEGEN_X64_H_ | 5 #ifndef V8_X64_LITHIUM_CODEGEN_X64_H_ |
6 #define V8_X64_LITHIUM_CODEGEN_X64_H_ | 6 #define V8_X64_LITHIUM_CODEGEN_X64_H_ |
7 | 7 |
8 #include "x64/lithium-x64.h" | 8 #include "x64/lithium-x64.h" |
9 | 9 |
10 #include "checks.h" | 10 #include "checks.h" |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 | 120 |
121 void EmitClassOfTest(Label* if_true, | 121 void EmitClassOfTest(Label* if_true, |
122 Label* if_false, | 122 Label* if_false, |
123 Handle<String> class_name, | 123 Handle<String> class_name, |
124 Register input, | 124 Register input, |
125 Register temporary, | 125 Register temporary, |
126 Register scratch); | 126 Register scratch); |
127 | 127 |
128 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } | 128 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } |
129 | 129 |
130 void Abort(BailoutReason reason); | |
131 | |
132 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); } | 130 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); } |
133 | 131 |
134 | 132 |
135 void SaveCallerDoubles(); | 133 void SaveCallerDoubles(); |
136 void RestoreCallerDoubles(); | 134 void RestoreCallerDoubles(); |
137 | 135 |
138 // Code generation passes. Returns true if code generation should | 136 // Code generation passes. Returns true if code generation should |
139 // continue. | 137 // continue. |
140 void GenerateBodyInstructionPre(LInstruction* instr) V8_OVERRIDE; | 138 void GenerateBodyInstructionPre(LInstruction* instr) V8_OVERRIDE; |
141 void GenerateBodyInstructionPost(LInstruction* instr) V8_OVERRIDE; | 139 void GenerateBodyInstructionPost(LInstruction* instr) V8_OVERRIDE; |
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
390 Label entry_; | 388 Label entry_; |
391 Label exit_; | 389 Label exit_; |
392 Label done_; | 390 Label done_; |
393 Label* external_exit_; | 391 Label* external_exit_; |
394 int instruction_index_; | 392 int instruction_index_; |
395 }; | 393 }; |
396 | 394 |
397 } } // namespace v8::internal | 395 } } // namespace v8::internal |
398 | 396 |
399 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ | 397 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ |
OLD | NEW |