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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 int GetNextEmittedBlock(int block); | 151 int GetNextEmittedBlock(int block); |
152 LInstruction* GetNextInstruction(); | 152 LInstruction* GetNextInstruction(); |
153 | 153 |
154 void EmitClassOfTest(Label* if_true, | 154 void EmitClassOfTest(Label* if_true, |
155 Label* if_false, | 155 Label* if_false, |
156 Handle<String> class_name, | 156 Handle<String> class_name, |
157 Register input, | 157 Register input, |
158 Register temporary, | 158 Register temporary, |
159 Register temporary2); | 159 Register temporary2); |
160 | 160 |
161 int StackSlotCount() const { return chunk()->spill_slot_count(); } | 161 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } |
162 int ParameterCount() const { return scope()->num_parameters(); } | 162 int GetParameterCount() const { return scope()->num_parameters(); } |
163 | 163 |
164 void Abort(const char* format, ...); | 164 void Abort(const char* format, ...); |
165 void Comment(const char* format, ...); | 165 void Comment(const char* format, ...); |
166 | 166 |
167 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code); } | 167 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code); } |
168 | 168 |
169 // Code generation passes. Returns true if code generation should | 169 // Code generation passes. Returns true if code generation should |
170 // continue. | 170 // continue. |
171 bool GeneratePrologue(); | 171 bool GeneratePrologue(); |
172 bool GenerateBody(); | 172 bool GenerateBody(); |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
381 private: | 381 private: |
382 LCodeGen* codegen_; | 382 LCodeGen* codegen_; |
383 Label entry_; | 383 Label entry_; |
384 Label exit_; | 384 Label exit_; |
385 Label* external_exit_; | 385 Label* external_exit_; |
386 }; | 386 }; |
387 | 387 |
388 } } // namespace v8::internal | 388 } } // namespace v8::internal |
389 | 389 |
390 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ | 390 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ |
OLD | NEW |