OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 | 134 |
135 int GetNextEmittedBlock(int block); | 135 int GetNextEmittedBlock(int block); |
136 LInstruction* GetNextInstruction(); | 136 LInstruction* GetNextInstruction(); |
137 | 137 |
138 void EmitClassOfTest(Label* if_true, | 138 void EmitClassOfTest(Label* if_true, |
139 Label* if_false, | 139 Label* if_false, |
140 Handle<String> class_name, | 140 Handle<String> class_name, |
141 Register input, | 141 Register input, |
142 Register temporary); | 142 Register temporary); |
143 | 143 |
144 int StackSlotCount() const { return chunk()->spill_slot_count(); } | 144 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } |
145 int ParameterCount() const { return scope()->num_parameters(); } | 145 int GetParameterCount() const { return scope()->num_parameters(); } |
146 | 146 |
147 void Abort(const char* format, ...); | 147 void Abort(const char* format, ...); |
148 void Comment(const char* format, ...); | 148 void Comment(const char* format, ...); |
149 | 149 |
150 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code); } | 150 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code); } |
151 | 151 |
152 // Code generation passes. Returns true if code generation should | 152 // Code generation passes. Returns true if code generation should |
153 // continue. | 153 // continue. |
154 bool GeneratePrologue(); | 154 bool GeneratePrologue(); |
155 bool GenerateBody(); | 155 bool GenerateBody(); |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
352 private: | 352 private: |
353 LCodeGen* codegen_; | 353 LCodeGen* codegen_; |
354 Label entry_; | 354 Label entry_; |
355 Label exit_; | 355 Label exit_; |
356 Label* external_exit_; | 356 Label* external_exit_; |
357 }; | 357 }; |
358 | 358 |
359 } } // namespace v8::internal | 359 } } // namespace v8::internal |
360 | 360 |
361 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ | 361 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ |
OLD | NEW |